file transfers

This is a discussion on file transfers within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I'm tyring to upload several files to my server using ftp_put. But I get an error that says safe ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-19-2004
Tony Reeves
 
Posts: n/a
Default file transfers

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?


Reply With Quote
  #2 (permalink)  
Old 07-19-2004
Andy Hassall
 
Posts: n/a
Default Re: file transfers

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
Reply With Quote
  #3 (permalink)  
Old 07-19-2004
Tony Reeves
 
Posts: n/a
Default Re: file transfers

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:
>
> >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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0