[PHP] FW: FTP_SITE and FTP_EXEC prob

2002-11-21 Thread António Godinho
Hya, I'm using a script to upload a file, and after I need to chmod it to 755. I upload the file with no prob AND I can chmod using the ftp server with a FTP client. But when I use PHP I get this error: Warning: ftp_site: Unknown SITE command. in /home/to/public_html/CriaPagina.ph

[PHP] FTP_SITE and FTP_EXEC prob

2002-11-20 Thread António Godinho
Hya, I'm using a script to upload a file, and after I need to chmod it to 755. I upload the file with no prob AND I can chmod using the ftp server with a FTP client. But when I use PHP I get this error: Warning: ftp_site: Unknown SITE command. in /home/to/public_html/CriaPagina.ph