I
ifiaz
Hello,
I am looking for a way to get the ENTIRE (or at a given depth)
directory tree of a FTP folder and files from an FTP server. The
listing should include file sizes and modified dates, etc. as much
info as possible through some configurable parameters. The same script
may be able to be used on a local drive as well.
I have managed to do this FTP directory task using the
http://www.ftprush.com/ftp-directory-tree.html application. This
application is pretty cool and it did exactly what I wanted.
**********
My question is how can I do this using a Perl Script or any other free
utility from command line.???
**********
I am sure someone out there who must have written such stuff already.
I do not wish to reinvent the wheel and even I am not capable to write
such a script myself.
Any pointers and help is much appreciated. Thank you.
The ftprush program listed something like this (which is SO...
COOL...).
/New Folder/ [345.4 M]
|-Annexures [67.7 M]
| >|-Annexure A2- bbbb Group ppt [2.0 M]
| >| >|-Presentation on Group.ppt (2.0 M)
| >|
| >|-Annexure B1- Copy of Annual Accounts bbb-vii [39.2 M]
| >| >|-vii05s-us.pdf (10.7 M)
| >| >|-vii-rapport-annuel-2006-en (2).pdf (27.8 M)
| >| >|-bbbHSA audited financials 2006.pdf (659.5 k)
| >|
| >|-Annexure C - Quality Manual and safety [540.5 k]
| >| >|-Attachement A - bbb Quality Manual.doc (540.5 k)
| >|
| >|-Annexure C1- Safety and Security [221.5 k]
| >| >|-Attachement C - S&S Manual.doc (221.5 k)
| >|
| >|-Annexure D-Insurance Certificate [82.3 k]
| >| >|-Aviation Insurance -11-07.pdf (82.3 k)
....
....
I am looking for a way to get the ENTIRE (or at a given depth)
directory tree of a FTP folder and files from an FTP server. The
listing should include file sizes and modified dates, etc. as much
info as possible through some configurable parameters. The same script
may be able to be used on a local drive as well.
I have managed to do this FTP directory task using the
http://www.ftprush.com/ftp-directory-tree.html application. This
application is pretty cool and it did exactly what I wanted.
**********
My question is how can I do this using a Perl Script or any other free
utility from command line.???
**********
I am sure someone out there who must have written such stuff already.
I do not wish to reinvent the wheel and even I am not capable to write
such a script myself.
Any pointers and help is much appreciated. Thank you.
The ftprush program listed something like this (which is SO...
COOL...).
/New Folder/ [345.4 M]
|-Annexures [67.7 M]
| >|-Annexure A2- bbbb Group ppt [2.0 M]
| >| >|-Presentation on Group.ppt (2.0 M)
| >|
| >|-Annexure B1- Copy of Annual Accounts bbb-vii [39.2 M]
| >| >|-vii05s-us.pdf (10.7 M)
| >| >|-vii-rapport-annuel-2006-en (2).pdf (27.8 M)
| >| >|-bbbHSA audited financials 2006.pdf (659.5 k)
| >|
| >|-Annexure C - Quality Manual and safety [540.5 k]
| >| >|-Attachement A - bbb Quality Manual.doc (540.5 k)
| >|
| >|-Annexure C1- Safety and Security [221.5 k]
| >| >|-Attachement C - S&S Manual.doc (221.5 k)
| >|
| >|-Annexure D-Insurance Certificate [82.3 k]
| >| >|-Aviation Insurance -11-07.pdf (82.3 k)
....
....