File upload message in SFTP

Hi,

Below script is running on AIX 7.1 ( 7100-04-05-1720 version ) server. Recently OpenSSH version installed on server got updated from OpenSSH_6.0p1 to OpenSSH_7.5p1 version. After this update we do not receive any file upload message after put/mput command in SFTP.

sftp -b - user@server <<END_SCRIPT > log_file 2>&1
mput dir.txt
quit
END_SCRIPT

Output in OpenSSH_6.0p1 version:

sftp>     mput dir.txt
Uploading dir.txt to /home/sftp/sftpuser/dir.txt
sftp>     quit

Output in OpenSSH_7.5p1 version:

sftp>     mput dir.txt
sftp>     quit

We are not getting 'Uploading' file message in newer version. Any idea why this is occurring and how to resolve it ? Can someone point to right configuration if this message is driven by any ?

Thank You for your help in advance.

Unsure if this is coming from an sFTP client, or a script that calls sFTP. If it is a script, it would probably benefit to post the code here. Otherwise that's probably an issue with the sFTP client or the server. Unless you wish to look and re-write the code of the client or server, you're probably better off to just do an 'ls' after the file is uploaded. Or do something like 'ls -ld filename' in the script after the file is uploaded to check.

Hope that helps.