Hi,
I have got a problem setting the file transfer mode using the ftp functions. If i do it using 'ftp_set_option($connid, FTP_BINARY, 1)', it gives me an error such as 'Unknown option '1'' on that line. By default the file transfer mode in binary. I can set it to ascii using 'ftp_set_option($connid, FTP_ASCII, 1)'. And it accepts any integer value in this command. What does that mean ?? and how can i set the file transfer mode as required by the user ??