- koheleth
- Joined:
- Posts:
- 3
- Location:
- France
Auto download and delete.
Advertisement
Probably been asked for but to be able to auto connect and download files like backups and then delete off server would certainly make me open my wallet and make a healthy donation. Seems auto ftp manager have the monopoly at the moment. Would rather buy or donate here. Thanks for WinSCP.
Advertisement
-
martin◆
Site Admin - Joined:
- Posts:
- 41,440
- Location:
- Prague, Czechia
Re: Auto download and delete.
What is it specifically, that you cannot do with WinSCP scripting?
https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/guide_automation
Thanks, will look at the docs, guess I rely too much on point & click.
-
cutietheduck
Guest
Delete Order
I have searched for an area to change the delete order on a connection. Is it possible to delete as we download? For instance, if 20 files reside on a server, can we get a file, delete a file, get a file, delete a file?
-
martin◆
Site Admin - Joined:
- Posts:
- 41,440
- Location:
- Prague, Czechia
Re: Delete Order
Sorry, I do not understand. Can you try again with more details please?I have searched for an area to change the delete order on a connection. Is it possible to delete as we download? For instance, if 20 files reside on a server, can we get a file, delete a file, get a file, delete a file?
Advertisement
-
gry
Guest
I don't know what's difficult to understand in the line you quoted. It explains the required flow rather clearly. The task involves "mget *.ext", with deleting file on server after it's successfully retrieved, one by one. I appear to also need a tool that accomplishes such task.
-
martin◆
Site Admin - Joined:
- Posts:
- 41,440
- Location:
- Prague, Czechia
But what he asks for it exactly whatI don't know what's difficult to understand in the line you quoted. It explains the required flow rather clearly. The task involves "mget *.ext", with deleting file on server after it's successfully retrieved, one by one. I appear to also need a tool that accomplishes such task.
get -delete
does.
As he asked for "change the delete order" it seems that he looks for a different operation ordering.
- Guest
The Problem for me (and as i understand for the others, too) is that if you transfer a whole directory of files "get -delete" first tries to download every single file and only after success deletes all of them.
If you try to transfer thousands of files over an unreliable connection each problem causes the job to start from scratch.
What ist does:
What would help:
If you try to transfer thousands of files over an unreliable connection each problem causes the job to start from scratch.
What ist does:
transfer file.001
transfer file.002
...
transfer file.999
delete file.001
delete file.002
...
delete file.999
What would help:
[/quote]transfer file.001
delete file.001
transfer file.002
delete file.002
...
transfer file.999
delete file.999
-
martin◆
Site Admin - Joined:
- Posts:
- 41,440
- Location:
- Prague, Czechia
That's only true for SCP protocol, as that one is very specific. For other protocols, it deletes each file right after it is downloaded.The Problem for me (and as i understand for the others, too) is that if you transfer a whole directory of files "get -delete" first tries to download every single file and only after success deletes all of them.
Advertisement
You can post new topics in this forum