Jump to content

Archived

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

crossline

Different between ftp_connect() and fsockopen()

Recommended Posts

Hi all,

I want to know what the different between ftp_connect() and fsockopen() if I use these functions to transfer file (FTP). I already tried both to transfer files. Which one is better to used and why?

Thank you

Share this post


Link to post
Share on other sites
have you checked the manual?

ftp - File Transfer Protocol - [a href=\"http://www.php.net/ftp_connect\" target=\"_blank\"]http://www.php.net/ftp_connect[/a]
fsockopen - Sockets - [a href=\"http://www.php.net/fsockopen\" target=\"_blank\"]http://www.php.net/fsockopen[/a]

definitely the best place to start.
Cheers
Mark

Share this post


Link to post
Share on other sites

×

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.