[PHP] fopen problem using ftp

2005-02-15 Thread Giulio
HI all, I have a script that uses fopen to acces for read a file using ftp: $filepointer = fopen($address,'r'); having $address string formed this way: $address = ftp:/ /.$FTPuser.:.$FTPpassword.@.$FTPserver./.$FileFolder./.$FileNa me; This script always worked for me, it has now stopped

Re: [PHP] fopen problem using ftp

2005-02-15 Thread Richard Lynch
Giulio wrote: HI all, I have a script that uses fopen to acces for read a file using ftp: $filepointer = fopen($address,'r'); having $address string formed this way: $address = ftp:/ /.$FTPuser.:.$FTPpassword.@.$FTPserver./.$FileFolder./.$FileNa me; You really don't need all those '.'

Re: [PHP] fopen problem using ftp

2005-02-15 Thread The Disguised Jedi
Why not use the built in FTP functions instead of fopen? us2.php.net/ftp Those should be able to handle any of the address problems you have, seeing as they don't use the ftp://username:[EMAIL PROTECTED] syntax, they open a connection and work with the FTP system. -- The Disguised Jedi [EMAIL