For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > July 2004 > file transfers









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author file transfers
Tony Reeves

2004-07-19, 3:57 pm

I'm tyring to upload several files to my server using ftp_put. But I get an
error that says safe mode is on and it won't allow me to put the files. is
this something I can change on my end?


Andy Hassall

2004-07-19, 3:57 pm

On Mon, 19 Jul 2004 11:26:32 -0700, "Tony Reeves" <areeves1@csc.com> wrote:

>I'm tyring to upload several files to my server using ftp_put. But I get an
>error that says safe mode is on and it won't allow me to put the files. is
>this something I can change on my end?


Post the FULL error message, not just a vague description of it. Presumably it
doesn't just say "safe mode is on", it actually shows a more descriptive error
describing _which_ safe mode restriction you are hitting. With the full error
message it may be possible to advise how to work within the restrictions.

You will not be able to disable safe mode yourself, unless you are the admin
of the server, as this defeats the purpose of it.

--
Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Tony Reeves

2004-07-21, 8:56 pm

Sorry, here is the whole error line:

Warning: dir(): SAFE MODE Restriction in effect. The script whose uid is 585
is not allowed to access /home/virtual/site183/fst/var/www/html/tours owned
by uid 0 in
/home/virtual/site183/fst/var/www/html/tours/CreateTourPicture.php on line
24


"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:tm5of09a2b8ofasu7mkg9fgvg4md3g53c1@
4ax.com...
> On Mon, 19 Jul 2004 11:26:32 -0700, "Tony Reeves" <areeves1@csc.com>

wrote:
>
an[color=darkred]
is[color=darkred]
>
> Post the FULL error message, not just a vague description of it.

Presumably it
> doesn't just say "safe mode is on", it actually shows a more descriptive

error
> describing _which_ safe mode restriction you are hitting. With the full

error
> message it may be possible to advise how to work within the restrictions.
>
> You will not be able to disable safe mode yourself, unless you are the

admin
> of the server, as this defeats the purpose of it.
>
> --
> Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
> http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com