Jump to content
Sign in to follow this  
czmaster

Rename directory with FTP function

Recommended Posts

Hello,

I want to rename a FTP directory with an Autoit Script.

The _FTP_FileRename work with a file but doesn't work with a directory.

I tried also to do it in command line with _FTP_Command but it doesn't work.

FTP_Command($Conn,"RNFR "&"old"&@crlf)
sleep(100)
_FTP_Command($Conn,"RNTO "&"new"&@crlf)

Can you help me ?

Share this post


Link to post
Share on other sites

I tried also to do it in command line with _FTP_Command but it doesn't work.

FTP_Command($Conn,"RNFR "&"old"&@crlf)
sleep(100)
_FTP_Command($Conn,"RNTO "&"new"&@crlf)

Use @LF instead of @CRLF

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...