I can think of 2 options, neither pleasant. On unix you can write a script
for ftp to use and put a .netrc in your home dir with a line like this
machine <hostname> login <username> password <password>
and that will make it automatically connect. So you could write script to
do things like get a file listing and fetch files on the fly and do use > to
send the output to a file which you could read from php.
ftp < commands.in > output.out
Option 2 is to get the RFC document on the ftp protocol and use phps socket
functions to make a php ftp client from the ground up. - Russ
---
Toolshed Computer Productions - Professional PHP Hosting
Hosting - Dedicated Servers - Design - Programming
http://www.toolshed51.com
-----Original Message-----
From: Glenda Robalino [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 2:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ftp
Hi..
maybe you could help me, I want to make an FTP but whithout Ftp_open and all
those functions, is there any way???
tx
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]