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 - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security -

----- Original Message -----
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.


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to