PHP FTP access on Managed VDS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
FltKll
New to forums
New to forums
Posts: 2
Joined: Tue Sep 03, 2019 1:37 pm

PHP FTP access on Managed VDS

Post by FltKll » Tue Sep 03, 2019 2:03 pm

I can't see any reason for this to fail other than some firewall or other hitch on the NFO side.

Using basic PHP FTP calls: ftp_connect, ftp_login, ftp_pwd, ftp_pasv, and so on.

Code works fine on publically available FTP test servers.

Works perfectly fine on our Unmanged VDS with PureFTP installed.

On our Managed VDS, we can connect and login. No errors, and verified via the server log available in the NFO panel.
But that's it. All other PHP FTP commands fail.

And yes, Filezilla clients connect just fine. Even hit the firewalls in the NFO panel for both the game servers and the VDS to full-pass-thru the server/s the FTP connection is originating from.

Anyone with thoughts? And if @Edge100x is feeling it feel free to hit up ticket 148715

User avatar
Edge100x
Founder
Founder
Posts: 12204
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: PHP FTP access on Managed VDS

Post by Edge100x » Thu Sep 05, 2019 9:41 pm

Have you tried disabling or enabling passive mode?

Where are you running the PHP FTP commands from?

FltKll
New to forums
New to forums
Posts: 2
Joined: Tue Sep 03, 2019 1:37 pm

Re: PHP FTP access on Managed VDS

Post by FltKll » Sat Sep 07, 2019 11:22 am

The ftp_pasv command fails.

These are coming from a server outside your data center.

Post Reply