Upload happening multiple times?

Advertisement

jtabc123
Joined:
Posts:
2

Upload happening multiple times?

Sometimes when I'm uploading using SFTP the file gets uploaded multiple times and I don't understand why. This is the command I'm using. I need to figure out how to change it to prevent the file from being uploaded multiple times.
"C:\Program Files (x86)\WinSCP\WinSCP.com" /ini=nul /command "open sftp://username:"password"@sftp.contributor.adobestock.com -hostkey=""ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" "put -nopreservetime -nopermissions ""input.mov""" exit
Here is the output I got:
Searching for host...
Connecting to host...
Authenticating...
Using username "username".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] username@sftp.contributor.adobestock.com
input.mov |      410182 KB | 1188.7 KB/s | binary | 100%
Host is not communicating for more than 15 seconds.
Still waiting...
Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
Warning: Aborting this operation will close connection!
(A)bort (60 s): Abort
input.mov |      410182 KB |  153.0 KB/s | binary | 100%
Terminated by user.
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "username".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
input.mov |      410182 KB |  425.4 KB/s | binary | 100%
Host is not communicating for more than 15 seconds.
Still waiting...
Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
Warning: Aborting this operation will close connection!
(A)bort (60 s): Abort
input.mov |      410182 KB |   59.9 KB/s | binary | 100%
Terminated by user.
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "username".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
input.mov |      410182 KB |  474.9 KB/s | binary | 100%
Sleeping, waiting for return value.
This resulted in my file being uploaded three times to the server, even though WinSCP makes it look as though it only uploaded it once since the first two times appeared to fail (even though they didn't). What is happening here? What do I need to change about my command to make sure the file does not get uploaded multiple times?

These are the instructions that the server gave me in case these help:

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,052
Location:
Prague, Czechia

Re: Upload happening multiple times?

Do did "try try turning off 'Optimize connection buffer size'", as suggested?

Reply with quote

Advertisement

You can post new topics in this forum