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.

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)


Topic review


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:

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

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