Jump to content

FTP connection problem


suju

Recommended Posts

Hi friends,

 

I have to create a text file and upload this into another  server specified in php script.But it is not get connecting to the server.I think the problem is with the server where I have written the script.Because when I used the same script in another server it gets connected to the specified server.Could any one tell me what might be reason for this ?

 

I think in the server from which you are attempting to make a FTP connection,fsockopen and outgoing FTP connections might have been blocked.

 

Regards

Suju

 

Link to comment
https://forums.phpfreaks.com/topic/80239-ftp-connection-problem/
Share on other sites

Firstly why are you using fsock* . You obviously haven't done your research else you would know that PHP provides some nice ftp_* functions for your use. Try google ;)

 

Incidently the operating system should have nothing to do with it working. You're connecting over a common protocol to a service.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.