Discuss Get folder names, FTP in the Perl Programming forum on Dev Shed. Get folder names, FTP Perl Programming forum discussing coding in Perl, utilizing Perl modules, and other Perl-related topics. Perl, the Practical Extraction and Reporting Language, is the choice for many for parsing textual information.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 2
Time spent in forums: 13 m 21 sec
Reputation Power: 0
Get folder names, FTP
I'm trying to traverse a range of years that correspond to different directories that a user specifies. Within each year subdirectory is a list of folders. I want to be able to get the folder list names into an array and then walk through each subfolder to download the files. Any suggestions on how to do this? I've been struggling trying to use opendir, readdir, and closedir. Also, I do not want to install any additional modules from perl if possible such as File::Find. Thanks.
Posts: 41
Time spent in forums: 13 h 37 m 38 sec
Reputation Power: 5
hello,
I am trying to code something similar to urs!!! so neede ur help in this as u have already worked it out.
I need to do ftp files from lan to unix box and then traverese a root directory.
and int hen root directory there are sub folders...and I need to grab all the files in each odf the sub folder and parse the file names to send them to designated folders.
I am using shell script to FTP and then using Perl script to grab the files and parse tehm!!!