> Im trying to write a script the ftp's a bunch of files from different locations. I only want to grab files that are of specific file type and whose name begins with a certain combination of characters. Can I filter it at the listing side in other words do something like dir abc*.gif and go through those files or would I need to grab all of the files and filter it at my side to get my file list? >
I am assuming you are using Net::FTP, because you should be if you aren't ;-), in which case you should check out the 'ls' method, or the 'dir' method but it takes more parsing as it is a long listing. 'ls' returns a list of files in the remote cwd, you can then parse that list, then do whatever you need with just the ones you parsed. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]