[PHP] Problems with ftp_get

2002-03-18 Thread Ian Wayne
I'm getting an unhelpful error message from my ftp script. It says Warning, error opening file... The code in question runs like this. $conn = ftp_connect(ftp.mysite.com); ftp_login($conn,user,pass); ftp_get($conn, $newName, $oldName , FTP_BINARY); I can't see what's causing the error. Any help

Re: [PHP] Problems with ftp_get

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Ian Wayne wrote: I'm getting an unhelpful error message from my ftp script. It says Warning, error opening file... The code in question runs like this. $conn = ftp_connect(ftp.mysite.com); ftp_login($conn,user,pass); ftp_get($conn, $newName, $oldName , FTP_BINARY);