Folder changed time updated but no file uploaded

Advertisement

mliu
Joined:
Posts:
1

Folder changed time updated but no file uploaded

Hi all,

I am trying to automate the SFTP file uploading process using task scheduler. The task ran successfully and the change time in SFTP folder is changed but no file was there.
Here is my script:
open sftp://user_id:pw@url:port/ -hostkey="..."
synchronize remote C:\Users\Desktop\folder_name /remote_folder
exit
and my task scheduler entry:
"C:\Users\AppData\Local\WinSCP\WinSCP.exe"
/script="C:\Users\Desktop\WINSCP_SCRIPT.txt"

I am new to Winscp and hope to get some helps. Thank you guys in advance!

Reply with quote

Advertisement

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

Re: Folder changed time updated but no file uploaded

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

To generate the session log file, use /log=path_to_log_file 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.

Reply with quote

Advertisement

You can post new topics in this forum