in reply to Re^3: Net::FTP usage
in thread Net::FTP usage

Results:
Found file /ccifas/tempifas/AU/sudolog_2010Jul_infodevl
Found file /ccifas/tempifas/AU/sudolog_2010Jul_infoprod
Found file /ccifas/tempifas/AU/sudolog_2010Jul_infoprodx
Found file /ccifas/tempifas/AU/sudolog_2010Jul_infoqual
Found file /ccifas/tempifas/AU/sudolog_2010Jul_infostag

I guess I am confusing how Unix runs FTP versus Perl. In Unix before I run a FTP function, I can CD to the directory. In the code the FTP step with CWD, is that not changing the target directory location? Right. This is one of the things that I do not see explain at all in all the documentation about Net::FTP is how to process setting up the local and target directories. I am assuming I have done the change directory with the CD command and the FTP steps should work. Sorry for not grasping this as I am slow with Perl and some times simple commands to others do not make much sense to me. Takes me time to review answers and understand what others are saying with their code. It looks like the found results above is showing no endofline before the FTP step is even run. Ken