A little stuck here...
I need to determine the actual name of a file from an ftp directory and pass it into a variable. I don't know the exact name of the file, but I know where it is and what the file extension is. I need to get the actual filename to download it and then do some file manipulation to it before I pass it off to another program. So, I'm stumped...I can ftp into the directory, but I'm not sure how to find/parse/determine the file that is there. There will only ever be one file in the remote directory.
Any help is appreciated.
Thanks.