[eluser]Bullit2k[/eluser]
Hi,
I'm executing the below code and it is indeed moving a file from one server to another.
However, it's only bringing over 512kb.
Code:
$this->ftp->connect($config);
//usage: upload('/local/path/to/myfile.html', '/public_html/myfile.html', 'ascii', 0775);
$this->ftp->upload($local_path, $remote_path.$filename, 'auto');
$this->ftp->close();
$update = $this->Media_model->add($data);
I cut it all out into a test file and that worked fine.
I feel the code is rushing past the upload and not letting it finish.
It this the case?
What could be the problem?
My paths are fine and have been checked in the test I mentioned.
Any help appreciated.
Cheers