Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
There are millions of files, but the good news is, I don't have to copy the files, just the folder structure, to a mirror.
The bad news is, I can't figure out how to do this on Windows. There are FTP utilities on Linux which would do it, for instance ftpcopy seems to have this option, but nothing for Windows.
So, could I do this with Net::FTP::Recursive? It can recurse through a whole remote structure, copying only files which match a regex, but a regex can't match a directory, I need something like -d instead.
Any suggestions gratefully received.
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: FTP Get Directory Tree Only
by randyk (Parson) on Aug 15, 2006 at 02:25 UTC | |
by roboticus (Chancellor) on Aug 15, 2006 at 11:21 UTC | |
by Cody Pendant (Prior) on Aug 15, 2006 at 02:45 UTC | |
|
Re: FTP Get Directory Tree Only
by Cody Pendant (Prior) on Aug 15, 2006 at 02:55 UTC | |
by roboticus (Chancellor) on Aug 15, 2006 at 12:24 UTC | |
|
Re: FTP Get Directory Tree Only
by aajello (Initiate) on Aug 15, 2006 at 16:14 UTC | |
|
Re: FTP Get Directory Tree Only
by ftumsh (Scribe) on Aug 17, 2006 at 12:17 UTC |