What is Nostr?
ApisNecros /
npub1xfd…p09k
2023-10-09 14:31:57

ApisNecros on Nostr: At $dayJob, I have a cron job that uses a #PHP script to #FTP into a service by host ...

At $dayJob, I have a cron job that uses a #PHP script to #FTP into a service by host name. The script empties a directory, and then replaces the files.

This weekend we switched name servers over to GoDaddy, and now the FTP commands, specfically "ftp_put" no longer work. The error I'm getting is "ftp_put(): php_connect_nonb() failed: No error (0)"

The connection process still succeeds, as well as changing directories, but it stops here. I am using "ftp_pasv($ftp, true);" I also tried using FTP_USEPASVADDRESS to no avail.

The IP for the server has not changed, and neither has the FTP config on the server, but I'm fairly certain the issue is server side. The server is running pure-ftpd (but the config file is readonly even for root?).

Any ideas on what could be causing this?

I also tried doing a test through the command line, and it also fails when I try to put a file. Included is packet capture of what the looks like. After the last line, it just hangs.
#DNS #SysAdmin #boost

Author Public Key
npub1xfdthg3cue5ktg4zc63rh3nw74x4dagvj4cgqvex40huc90dd5msvmp09k