Jump to content


Photo

Different between ftp_connect() and fsockopen()


  • Please log in to reply
1 reply to this topic

#1 crossline

crossline
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 30 March 2006 - 07:02 PM

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

#2 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 30 March 2006 - 07:22 PM

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
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users