Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

daniloferrari

Syncronize remote directory

Hi all,

I am trying to syncronize the remote directory from a local directory using the script below, but i am receiving an error:


SCRIPT:
option batch abort
option confirm on
option transfer binary
open sftp://user:password@address -hostkey="ssh-rsa 2048 XXXXXXXXXXXXXXXXX"
synchronize remote "C:\Users\danilo.ferrari\Desktop\RBTEXTO_WINSCP_TEST\Source" "/Home/br_rbtexto_roster"
exit

Error message:
File '1.txt' upload completed successfully but error occurred while trying to set permissions and / or modification date.

I've already tried inserting the -nopermissions and -nopreservetime parameters but I'm not sure if I put the parameter in the correct location, because even then the command is not synchronizing the directories