Jump to content

Check if a folder exists


rootx
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...