[PHP] ftp_get() problem

2007-06-22 Thread Phil Curry
New to php and this list. Googled a lot and scoured newsgroups to no avail. So now I'm here looking for an answer. Here's my offending line: $gotFile = ftp_get( $connection, $destination, $source, FTP_BINARY ); Just prior to execution all parameters have valid values. The following

Re: [PHP] ftp_get() problem

2007-06-22 Thread Tijnema
On 6/22/07, Phil Curry [EMAIL PROTECTED] wrote: New to php and this list. Googled a lot and scoured newsgroups to no avail. So now I'm here looking for an answer. Here's my offending line: $gotFile = ftp_get( $connection, $destination, $source, FTP_BINARY ); Just prior to execution all

Re: [PHP] ftp_get() problem

2007-06-22 Thread Tijnema
On 6/22/07, Phil Curry [EMAIL PROTECTED] wrote: Oops forgot that part. Yes If I use an ftp client or just command line ftp I can get the file. That's why I thought it must be my code. -Phil Curry And what about the local file? Does PHP has the rights to create the local file? Does this work: