1)Watch local dir for new file 2)Upload 3)Delete local file?
Hi all,
If anyone could help with this, I'd very much appreciate it.
I've been using the scripting functionality of WinSCP, in particular, keepuptodate, to watch a local directory for new files, then upload them to the server.
However, now the requirement has changed:
1) WinSCP should watch the local directory for new files
2) Upload new files when they've been added to the local dir
3) After transmission, delete local file
I thought that keepuptodate -delete would do the trick, but it doesn't seem to do anything more than keepuptodate on its own.
Can anyone help with this please?
Thanks :)
If anyone could help with this, I'd very much appreciate it.
I've been using the scripting functionality of WinSCP, in particular, keepuptodate, to watch a local directory for new files, then upload them to the server.
However, now the requirement has changed:
1) WinSCP should watch the local directory for new files
2) Upload new files when they've been added to the local dir
3) After transmission, delete local file
I thought that keepuptodate -delete would do the trick, but it doesn't seem to do anything more than keepuptodate on its own.
Can anyone help with this please?
Thanks :)