veboo
Supreme Member
- Aug 22, 2014
- 1,441
- 800
When I come to programming i am a total newb. And if anyone's here able to help me with the following scenario. it would be greatly appreciated.
Hope this is not against BHW rules?
This is what I have done so far.
Configured Filezilla FTP server on localhost. And added user: Admin with shared folder C://ftp there is a file inside that folder 123.jpg
So when I try to Download it using ftp class in Codeignitor;
Unable to download the specified file. Please check your path.
this is the code I'm using to download. FTP successfully connects but fails download due to incorrect file path.
What should be changed in the above code?
Thank you! Any comment much appreciated.
Hope this is not against BHW rules?
This is what I have done so far.
Configured Filezilla FTP server on localhost. And added user: Admin with shared folder C://ftp there is a file inside that folder 123.jpg
So when I try to Download it using ftp class in Codeignitor;
Unable to download the specified file. Please check your path.
this is the code I'm using to download. FTP successfully connects but fails download due to incorrect file path.
Code:
$this->ftp->download('/123.jpg', 'D:/');
What should be changed in the above code?
Thank you! Any comment much appreciated.