PUT works not synchronize?
Hi, I am trying to create a simple Batch file which executes below
winscp.exe /console /script=xyz.txt
the xyz.txt has following command
open WorldAPP.com
synchronize remote "F:\Manual Manifest\WorldAPP\" "/home/incoming/"
exit
I changed the above script to
open WorldAPP.com
put "F:\Manual Manifest\WorldAPP\" "/incoming/"
exit
which is now moving placing the file in remote directory.
I am having problem in appending the file after changes in local directory.
When i modify the above script:
open WorldAPP.com
put -append "F:\Manual Manifest\WorldAPP\" "/incoming/"
exit
It does not do anything and i am seeing the same file in the remote directory.
and when i do not use the -append, in the command it is giving message that same file exist and giving me option to overwrite. then i chose to append which is working.
MY questions:
1. Why PUT command is working and not synchronize remote.
2. Why the append command not working when i want to append the new file with the same name in local directory to remote directory.
thanks & Regards,
Arun A[/b]
winscp.exe /console /script=xyz.txt
the xyz.txt has following command
open WorldAPP.com
synchronize remote "F:\Manual Manifest\WorldAPP\" "/home/incoming/"
exit
I changed the above script to
open WorldAPP.com
put "F:\Manual Manifest\WorldAPP\" "/incoming/"
exit
which is now moving placing the file in remote directory.
I am having problem in appending the file after changes in local directory.
When i modify the above script:
open WorldAPP.com
put -append "F:\Manual Manifest\WorldAPP\" "/incoming/"
exit
It does not do anything and i am seeing the same file in the remote directory.
and when i do not use the -append, in the command it is giving message that same file exist and giving me option to overwrite. then i chose to append which is working.
MY questions:
1. Why PUT command is working and not synchronize remote.
2. Why the append command not working when i want to append the new file with the same name in local directory to remote directory.
thanks & Regards,
Arun A[/b]