Also, FTP can't handle a directory or file name with embedded blank.
Is this correct?.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Tuesday, April 15, 2014 4:24 PM
To: Midrange Systems Technical Discussion
Subject: Re: FTP sub directories

I don't think you could scripting unless you know the name of the subdirectories from the beginning.

Whereas Scott's FTP API makes it easy to parse the results of an LS command and discovery the subdirectories on the fly.

Charles


On Tue, Apr 15, 2014 at 4:19 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 4/15/2014 2:49 PM, Steinmetz, Paul wrote:
Is there a way to include sub directories along with their contents
with
FTP.
I'm currently using mget * .
Subfolders are being omitted.

This is one of those places where scripting via Scott Klement's FTPAPI
is a life saver. You could do it by redirecting stdin to the FTP
command, but error checking is only possible after the fact.
--buck

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.



This thread ...

Follow-Ups:
Replies:

Return to Archive home page | Return to MIDRANGE.COM home page