CodeIgniter Forums
$this->ftp->mkdir() - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: $this->ftp->mkdir() (/showthread.php?tid=28434)



$this->ftp->mkdir() - El Forum - 03-11-2010

[eluser]ravi_kachh[/eluser]
Hello friends,

I wanted to create a folder using $this->ftp->mkdir() but I am not able to do so.
As I have supplied corrected path also included ftp library also but not able to know that
why this is happening.

Can anyone help me in such problem?

Thanks,
Ravi


$this->ftp->mkdir() - El Forum - 03-11-2010

[eluser]tomdelonge[/eluser]
Codeigniter User Guide - FTP Class

Perhaps there's something wrong with server permissions.

for the mkdir() function, it says:

Lets you create a directory on your server. Supply the path ending in the folder name you wish to create, with a trailing slash. Permissions can be set by passed an octal value in the second parameter (if you are running PHP 5).

I can't think of anything else. Good luck.