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
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