how do we create file to the remote ftp from the CodeIgniter FTP Class.
I know how the dirictory are created
$this->ftp->mkdir($path.$name, DIR_WRITE_MODE);
I am looking same for creating file?
how do we create file to the remote ftp from the CodeIgniter FTP Class.
I know how the dirictory are created
$this->ftp->mkdir($path.$name, DIR_WRITE_MODE);
I am looking same for creating file?
You don't. FTP stands for File TRANSFER Protocol. The easiest solution would be to create a (temp) file, upload it and then remove the local file.