scripting get and put "include subdirectories" setting

Advertisement

trybowski2
Guest

scripting get and put "include subdirectories" setting

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.

Reply with quote

Advertisement

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?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
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.

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.

Reply with quote

Advertisement

You can post new topics in this forum