Topic "Re: SFTP GET command with DELETE switch"

Author Message
[View user's profile]

Joined: 2009-10-07
Posts: 2
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.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
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.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License