czmaster Posted June 16, 2011 Share Posted June 16, 2011 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 ? Link to comment Share on other sites More sharing options...
sahsanu Posted June 16, 2011 Share Posted June 16, 2011 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 Link to comment Share on other sites More sharing options...
czmaster Posted June 16, 2011 Author Share Posted June 16, 2011 Thank you !! Link to comment Share on other sites More sharing options...
sahsanu Posted June 16, 2011 Share Posted June 16, 2011 Thank you !!You are welcome. Anyway, in my ftp server it works with or without @LF 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