FTP Library problems |
[eluser]Fatih[/eluser]
I have some problems with CodeIgniter FTP Class. First of all, I upload my binary documents to my host but all files are corrupt. Here is my config data: Code: $config['hostname'] = 'ftp.myftpsite.com'; When I change passive mode FALSE, the result is the same. Although file size is nearly same but files are corrupt. Another problem, when I use Phil's ftp download codes, I couldn't download any file due to local file path. Shall the local path in user computer? I indicated as downloaded file name only (tempo.txt etc). But I have an error about permission (Message: ftp_get(tempo.txt) [function.ftp-get]: failed to open stream: Permission denied).
[eluser]Fatih[/eluser]
After some hours, I realized that files are not corrupt. Just, downloaded as ASCII format by Filezilla. When I changed to BINARY format, everything is ok. But, I have still problems with FTP download. |
Welcome Guest, Not a member yet? Register Sign In |