ftp class not working. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: ftp class not working. (/showthread.php?tid=42767) |
ftp class not working. - El Forum - 06-18-2011 [eluser]vivid_haze[/eluser] Hi Guys, I have been trying to use CI's FTP class to handle some files. I have configured the ftp config data correctly (I can confirm it is connecting), and I have set all file permissions to 777... but nothing! I can't move files, create directories, delete files, anything! I just get errors 'Unable to create the directory you have specified.' etc. Additionally, I am able to create directories and manipulate files using traditional php methods (mkdir()) etc. But whenever I try to use any CI FTP commands using $this->ftp->xxx(); I get an error!! I have run out of things I can think of that might be the problem. Any ideas? All suggestions welcome, thanks. ftp class not working. - El Forum - 06-18-2011 [eluser]theprodigy[/eluser] does your server require SFTP or SSL FTP? If so, that may be your problem. Per the docs, only standard ftp (non-secure) is supported. Other than that, I may have to take a look at your code to see what may be other reasons. ftp class not working. - El Forum - 06-19-2011 [eluser]vivid_haze[/eluser] Hi theprodigy, Thanks for your reply, I've actually got this working now though. I was using an incorrect file path, duh! |