Topic "scripting get and put "include subdirectories" setting"

Author Message
trybowski2

Guest


Hello everybody,
could you add the setting to put and get commands that would turn OFF the "include subdirectories" setting? Right now if I issue get *, it downloads everything from remote server's current dir, while I'd just like to download the content of current server dir, without subdirs.
trybowski2

Guest


Alternatively I cuold use "exclude" option, but I can't because I also use "-delete". Why those two can't be used together? Could this limitation be removed?

Another question, just to be sure -- if I do:

get -delete *

does this mean that each file is deleted only provided that its transfer was succesful?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
trybowski2 wrote:
Alternatively I cuold use "exclude" option, but I can't because I also use "-delete". Why those two can't be used together? Could this limitation be removed?

Thanks for your post. This request has been added to tracker.

Quote:
Another question, just to be sure -- if I do:

get -delete *

does this mean that each file is deleted only provided that its transfer was succesful?

Correct.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License