in reply to automate ftp using perl

Your question kind of doesn't make sense -- you want to get a list of files in the source directory to see if they've been successfully uploaded to the destination directory?

The files won't change in the source dir, whether they've been uploaded or not, so the source won't tell you anything.

If you want to know which files are in the destination directory, connect to it with NET::FTP and get a listing with the ls() function.



($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print