Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: PHP FTP functions


Message #1 by cullan.crothers@w... on Wed, 10 Oct 2001 15:24:16
i believe php on windows not have support to ftp api....

please check with some php scritp --> <? phpinfo()?>

You can use apache and  add php_ftp apache module if are aviable, or use an
linux machine  and compile php with ftp support :)

Best regards,

Luis Morales


cullan.crothers@w... wrote:

> Dear P2P:
>
> I am trying to configure PHP to use it's ftp functions. I am using PHP4
> and Windows NT 4.0. Is there anything that I have to do inside the php.ini
> file? If so, what exactly do I do to it to use the ftp functions? A
> worlkable code for a simple ftp download or upload would be nice to look
> at. When stating the source and destination files and drirectories for an
> ftp transfer, How should the directory be written? As
> in "C:\inetpub\wwwroot" or using the server
> url "http://server/directoryname/filename.php"? I need to know for the
> source and the destination file and dirctory. Please let me know if you
> have any answers.
>
> Cullan Crothers
> cullan.crothers@w...

  Return to Index