Synchronize Command only pushes 1 files instead of all

Advertisement

Faizan
Guest

Synchronize Command only pushes 1 files instead of all

I have a below batch script file code which should sync all files to remote from local, however when I run this it only pushes 1 file instead of all files in the folder. All files are CSV file
open CC_BH__LIVECONNECTION
synchronize remote -filemask="*.*" "C:\Users\Admin\NetSuite SFTP\Production\Inbox" "/Inbox"
exit

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Synchronize Command only pushes 1 files instead of all

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

From your description, I guess you might be having this problem:
Upload of file .. was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn off setting permissions or preserving timestamp. Alternatively you can turn on ‘Ignore permission errors’ option.

Reply with quote

Advertisement

You can post new topics in this forum