in reply to Re^2: Net :: FTP
in thread Net :: FTP
as it throws error if I serach in the wrong directory and the execution stops, I cannot try in all the listed directories
Shouldn't be the case. You can always cd to directory and check for return codes of FTP list file command. It will tell you whether file exists or not. It won't terminate your program or your FTP session.
Bottomline, you'll have to cd to each directory and look for the file.
Shouldn't be the case. You can always cd to directory and check for return codes of FTP list file command. It will tell you whether file exists or not. It won't terminate your program or your FTP session.
Bottomline, you'll have to cd to each directory and look for the file.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Net :: FTP
by Anonymous Monk on Sep 04, 2012 at 09:03 UTC | |
Re^4: Net :: FTP
by Anonymous Monk on Sep 04, 2012 at 09:05 UTC | |
by cheekuperl (Monk) on Sep 04, 2012 at 15:06 UTC |
In Section
Seekers of Perl Wisdom