automation downloading and uploading more recent file

Advertisement

Mahdi Bashiri
Joined:
Posts:
20

automation downloading and uploading more recent file

Dear
i'm using winscp script to downloading more recent file from remote ftp server to localdirectory and uploading more recent file from localdirectory to remote ftp server and want to use these scripts to keep up to date by using :

synchronize local D:\IscFtp\Report Report for downloading
synchronize remote D:\IscFtp\In In for uploading

i would like to know is there ant script to do keep up to date remote or local directory like in gui option or no. and use this script to running all time and monitoring and changes and do downloading or uploading.

Regards,
Mahdi Bashiri

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: automation downloading and uploading more recent file

Mahdi Bashiri wrote:

i would like to know is there ant script to do keep up to date remote or local directory like in gui option or no. and use this script to running all time and monitoring and changes and do downloading or uploading.
Please read documentation:
https://winscp.net/eng/docs/scriptcommand_keepuptodate
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum