# File upload message in SFTP

**URL:** <https://community.unix.com/t/file-upload-message-in-sftp/373709>\
**Category:** Shell Programming and Scripting\
**Created:** [September 13, 2018, 3:54pm UTC](https://community.unix.com/t/file-upload-message-in-sftp/373709 "2018-09-13T15:54:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juggernaut](https://community.unix.com/letter_avatar/juggernaut/32/6_449c533f586939b6e5f246632a46421f.png) [@Juggernaut](https://community.unix.com/u/Juggernaut)\
**Post date:** [September 13, 2018, 3:54pm UTC](https://community.unix.com/t/file-upload-message-in-sftp/373709/1 "2018-09-13T15:54:04Z")

</div>

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.

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

```

Output in OpenSSH\_6.0p1 version:

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

```

Output in OpenSSH\_7.5p1 version:

```nohighlight
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.

---

<div class="post-metadata">

**Author:** ![Azrael](https://community.unix.com/user_avatar/community.unix.com/azrael/32/2411_2.png) [@Azrael](https://community.unix.com/u/Azrael)\
**Post date:** [September 16, 2018, 2:42pm UTC](https://community.unix.com/t/file-upload-message-in-sftp/373709/2 "2018-09-16T14:42:03Z")

</div>

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.
