Re: [php-list] ftp script

2008-03-26 Thread Wade Smart
Lenny Davila wrote: > Hey Wade, I think that the $destination_file needs to be the actual > filename. > > $destination_file = 'MY_FILE.txt'; 03262008 0712 GMT-6 I found a tutorial on another site that said just that. I got it working. I was just reading it wrong. Thanks Wade

RE: [php-list] ftp script

2008-03-25 Thread Lenny Davila
$upload = ftp_put($connection_id, $destination_file, $source, FTP_BINARY); Im having trouble with: $destination_file destination file is the remote file path. So I assume that to be ftp.servername.com / root /images images directory so I put $destination_file = "/images"; Warning: ftp_put() [fu

Re: [php-list] ftp script

2008-03-24 Thread listgroups08
- Original Message - From: "Wade Smart" 03242008 1830 GMT-6 Im working on a ftp script and right now Im just learning from the script on the php site. This line: $upload = ftp_put($connection_id, $destination_file, $source, FTP_BINARY); Im having trouble with: $destination_file desti

[php-list] ftp script

2008-03-24 Thread Wade Smart
03242008 1830 GMT-6 Im working on a ftp script and right now Im just learning from the script on the php site. This line: $upload = ftp_put($connection_id, $destination_file, $source, FTP_BINARY); Im having trouble with: $destination_file destination file is the remote file path. So I assume