Hi,
I'm trying to write an application that copies a file to another machine via FTP. It works so far, including ftp_connect(), ftp_nlist(), ftp_rawlist().
When I try ftp_put() or ftp_fput(), I get the following warnings:
<output>
Warning: ftp_put: Opening ASCII mode data connection for test2.txt. in /home/adminarge/public_html/ftp/ftp.php on line 64
Warning: ftp_put: Transfer complete. in /home/adminarge/public_html/ftp/ftp.php on line 74
</output>
Besides this non-sense warnings, the result is creation of the target files with size 0.
Does anybody know why this happens?
I'm working with redhat
Thanx!