Post a reply

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

martin

Re: Synchronize inside script

OK, but you are misusing synchronization then. As synchronization aims to end with synchronized directories, not with one of the directoeries being empty.
Anyway, you can use synchronization and remove the remote directory once synchronization ends.
mapmusic

Re: Synchronize inside script

martin wrote:

You probably want to do:
get -delete -speed=10240


I use synchronize because I need to copy only files which are not in local directory.

M.
martin

Re: Synchronize inside script

You probably want to do:
get -delete -speed=10240
mapmusic

Synchronize inside script

Hello,

Here is part of my WinSCP script.

cd /Clips

lcd d:\clips
synchronize local -delete -speed=10240


I think after this script remote files should be deleted.
But files remains in remote dir.
I need to delete these after successfull transfer.

Thanks for tips

Martin