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
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 '.'
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
3 matches
Mail list logo