Jump to content

Recommended Posts

Posted

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. :bye:

Posted

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!

Posted

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.

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
  • Recently Browsing   0 members

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