PcExpert Posted February 2, 2008 Share Posted February 2, 2008 Hi all, When I want to create a directory in my public_html folder ( _FTPMakeDir($Conn, "/public_html/test") ) it works, but when I want to create a directory like this: _FTPMakeDir($Conn, "/public_html/subdir1/subdir2/subdir3/test it doersnt work. Why? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 2, 2008 Developers Share Posted February 2, 2008 Are directories subdir1 & subdir2 already existing ? I don't know if that function can create directories recursively. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
PcExpert Posted February 2, 2008 Author Share Posted February 2, 2008 Thats right, the subdirs already exist. Its only the directory 'test' that has to be created. Link to comment Share on other sites More sharing options...
PcExpert Posted February 3, 2008 Author Share Posted February 3, 2008 *bump* Link to comment Share on other sites More sharing options...
Kademlia Posted February 3, 2008 Share Posted February 3, 2008 Nerver used _FTP but if it is possible to go into this folder you maybe have to go into the directory first and then create the new folder Link to comment Share on other sites More sharing options...
DirtDBaK Posted February 3, 2008 Share Posted February 3, 2008 try dircreate for the dir and then the _ftp dir functions and see if it works then [center][/center] 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