[eluser]magz[/eluser]
Hi all.
Need Help, I would like to copy/download files from the
server to local using FTP. But,I dont know how to do it..
Can anyone give some advise or help?
[eluser]xwero[/eluser]
i hope it's not a real username an password.
I see you store it in the local directory images so i assume they are images, then i would use the FTP_BINARY flag.
[eluser]magz[/eluser]
waaaahhhh....sorry, i forgot to change it... but i trusted u... and all the codeigniter community...
[eluser]magz[/eluser]
Anyway,
What i dont understand is the FTP_BINARY and FTP_ASCII, what are the differnce between them?
[eluser]xwero[/eluser]
ASCII content is human readable, BINARY content is not human readable. That would be the non developer description.
So text files are best send in ASCII and images, pdfs but even .doc files should be send BINARY.
[eluser]magz[/eluser]
@xwero,
tnx alot..