Re: ftp_get
| From: | Chris Lambert | Date: | Sun, 26 Aug 2001 21:50:58 +0000 |
| Subject: | Re: ftp_get | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64545@lists.php.net to get a copy of this message | ||
It looks like you might not have permissions set for the web server to
create files in /web/...
If you know the names of the files which will be transferred ahead of time,
you can manually create them from FTP or your shell, then chmod them to 777.
Otherwise you might be better off creating a folder (/web/ftp/) and chmoding
the folder itself to 777.
/* Chris Lambert, CTO - chris@whitecrown.net
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
----- Original Message -----
From: MBK <mbk@tmteam.nl>
To: <php-general@lists.php.net>
Sent: Sunday, August 26, 2001 2:51 PM
Subject: [PHP] ftp_get
How exactly does ftp_get work?
I tried it several times, but it always said something like
Warning: error opening /web/destinationfile.html in .scriptlocation.. on
line 38
line 38 has: ftp_get($conn_id, $destfile, $remotefile, FTP_BINARY);
Can someone please help me with this.
-Maarten