Hi my name is bruno from Brazil. I have a linux server with Apache and PHP 4 running. What i wanna do is upload a file. Look the problem: I have a lan.(local Network) Consider this: Network server running apache : 6.6.6.6 Network client station : 6.6.6.5 If The apache server executes the php code when a client station requires a php page to make ftp conection, the remote host is the apache server and local host is th apache server. I think this for this cause: Look my code: <html> <head> <body bgcolor="#FFFFE6"> <?php $conn_id = ftp_connect("6.6.6.6"); $login_result = ftp_login($conn_id, "login", "password"); $destination="/home/httpd/html/intranet/test.txt"; $oriogin="c:\windows\test.txt"; $upload = ftp_put($conn_id,$destination,$origin,FTP_BINARY); if (!$upload) { echo "Ftp upload has failed!"; ftp_quit($conn_id); exit; } ftp_quit($conn_id); ?> </body> </html> WHAT IS WRONG???