I open the connection via ftp_connect (at the output of the resource) I log in via ftp_login (at the output true ) I upload the file through ftp_put (at the output false )

If you use passive mode

 ftp_pasv($open, true); 

Then the file appears on the server but it is empty.

  • The file that I upload exists.
  • The path to where the flood exists.
  • DrWeb is disabled.
  • Firewall is disabled.
  • I work locally under the Open Server.
  • There is no access to server logs where the file is uploaded.

On the hosting code works, there is no on LAN.

Tell me where to look?

    0