tags:

views:

30

answers:

1

Is it possible to do so in PHP? Is there some function that changes the transfer mode from ASCII to binary?

Thank you.

+3  A: 

The mode argument of ftp_get() and ftp_fget() decides what mode the file transfer will be in. Use FTP_BINARY for binary transfers.

Ignacio Vazquez-Abrams