MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 2014

Re: FTP sub directories



fixed

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.







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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact