Re: SFTP GET command with DELETE switch

Advertisement

jlp3630
Joined:
Posts:
2

Re: SFTP GET command with DELETE switch

Is WinSCP's GET command with DELETE switch an autonomous command? For example, if I do the following command:

get -delete /incoming/*.gpg .\incoming\

Is it possible that I could acquire all the *.gpg files on my local computer and not delete them on the FTP server (i.e., due to some network failure, etc.). I know that if the file transfer to my local computer is not completely done, the files are not deleted off the FTP server.

I'm running the latest version of WinSCP (4.1.9 build 416) on Windows Vista.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: SFTP GET command with DELETE switch

WinSCP downloads and deletes files one by one. So if you interrupt the transfer, the files that were transferred already are delete already as well.

Reply with quote

Advertisement

You can post new topics in this forum