oh yeah, that's true.


Ok, i made a dir 'testdir' with permissions 777.
Still i it gives the same error.
Warning: error opening /web/testdir/test.html in ................

-Maarten

----- Original Message -----
From: "Chris Lambert" <[EMAIL PROTECTED]>
To: "MBK" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, August 27, 2001 2:54 AM
Subject: Re: [PHP] ftp_get


> No, the permission problem would be local (hence the error referencing the
> destination file). It has nothing to do with FTP permissions, but the web
> server's permission to write the file to /web/.
>
> /* Chris Lambert, CTO - [EMAIL PROTECTED]
> WhiteCrown Networks - More Than White Hats
> Web Application Security - www.whitecrown.net
> */
>
> ----- Original Message -----
> From: MBK <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, August 26, 2001 8:23 PM
> Subject: Re: [PHP] ftp_get
>
>
> | The user i use to login has full permissions
> | When i login with an ordinary ftp client using that user, then i can do
> | anything.
> | I think when there is a permission problem the error would say that.
> |
> |
> |
> | ----- Original Message -----
> | From: "Chris Lambert" <[EMAIL PROTECTED]>
> | To: "MBK" <[EMAIL PROTECTED]>
> | Cc: <[EMAIL PROTECTED]>
> | Sent: Sunday, August 26, 2001 11:50 PM
> | Subject: Re: [PHP] ftp_get
> |
> |
> | > 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 - www.whitecrown.net
> | > */
> | >
> | > ----- Original Message -----
> | > From: MBK <[EMAIL PROTECTED]>
> | > To: <[EMAIL PROTECTED]>
> | > 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
> | >
> | >
> |
> |
> |
> | --
> | PHP General Mailing List (http://www.php.net/)
> | To unsubscribe, e-mail: [EMAIL PROTECTED]
> | For additional commands, e-mail: [EMAIL PROTECTED]
> | To contact the list administrators, e-mail: [EMAIL PROTECTED]
> |
> |
> |
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
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