is there the x directory in an ftp server?
I am writing a csh script, which downloads something from an ftp server. The user provides parameters in order for the path in the ftp server to be created. The problem is that i have to check first if the path exists.
Is there a way? for example "doYouExistCommand ftp://ftp.lalala.com/la/ba/sa" ? Thanks |
Just try changing to that directory, if it is successful then it exists.
You could also try listing it but that would not guarantee that you had permission to access it |
All times are GMT -5. The time now is 05:59 AM. |