rootx Posted September 26, 2014 Share Posted September 26, 2014 What is the best way to check if a folder exists on the remote FTP server? I want to check before the function FTP_Dir Put Contents if a folder exists. Thanks. Link to comment Share on other sites More sharing options...
rudi Posted September 26, 2014 Share Posted September 26, 2014 Hi. try to cd into the folder. If it exists, you will receive a responde "250 <something>", if not "550 <something>" Regards, Rudi. Earth is flat, pigs can fly, and Nuclear Power is SAFE! Link to comment Share on other sites More sharing options...
rootx Posted September 29, 2014 Author Share Posted September 29, 2014 Hi. try to cd into the folder. If it exists, you will receive a responde "250 <something>", if not "550 <something>" Regards, Rudi. Thank you, but I would like to know how others are doing to check if a directory exists or not before making the upoad, I have searched and read in the help but I have not found anything. Let me know if you're talking about dos commands to be executed in a batch, thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now