Re: [PHP] Trouble with ftp_get function

2004-03-11 Thread Raditha Dissanayake
If you are using double quotes teh file name should be c:\\thefile.txt Benjamin wrote: I'm sorry if this has already been asked before... I am trying to make a small ftp app using this line to download files: if( !ftp_get( $conn_id , "C:\thefile.txt" , $HTTP_GET_VARS['file'] , FTP_BINARY ) ) $

[PHP] Trouble with ftp_get function

2004-03-11 Thread Benjamin
I'm sorry if this has already been asked before... I am trying to make a small ftp app using this line to download files: if( !ftp_get( $conn_id , "C:\thefile.txt" , $HTTP_GET_VARS['file'] , FTP_BINARY ) ) $error = true; I know I have a connection, and $HTTP_GET_VARS['file'] is the path of the