Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-28 Thread Jochem Maas
Wayne Zeller wrote: Marek Kilimajer wrote: 30 seconds? This must be your firewall blocking connections from outside world. Use ftp_pasv() to turn on passive mode. That did the trick. Thanks s much! Marek shoots, Marek scores :-) Wayne -- PHP General Mailing List (http://www.php.net/) To

[PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
My first attempt at posting this appears to have failed, so I'll try again. My apologies if this is a duplicate... I can't for the life of me figure out why this won't work. I am downloading a file from a remote host via ftp, processing it and modifying part of it, and then uploading the

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Marek Kilimajer
Wayne Zeller wrote: My first attempt at posting this appears to have failed, so I'll try again. My apologies if this is a duplicate... I can't for the life of me figure out why this won't work. I am downloading a file from a remote host via ftp, processing it and modifying part of it, and

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
Marek Kilimajer wrote: You must use ftp_fput() because you are using open file handle. Check that tmpfile() did not fail. Then make sure you are in the right directory after logging in the ftp server. That's what I get for trying to put together code for my post during attempts to do it several

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Marek Kilimajer
Wayne Zeller wrote: Marek Kilimajer wrote: You must use ftp_fput() because you are using open file handle. Check that tmpfile() did not fail. Then make sure you are in the right directory after logging in the ftp server. That's what I get for trying to put together code for my post during

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
Marek Kilimajer wrote: 30 seconds? This must be your firewall blocking connections from outside world. Use ftp_pasv() to turn on passive mode. That did the trick. Thanks s much! Wayne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php