Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-07-22, 02:36 PM   #1
flyeruk
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
 
flyeruk's Avatar
 
Join Date: Aug 2003
Location: North East, UK
Posts: 319
How to create a folder outside the root?

Hi all,

Could someone tell me how I'd create a folder/directory outside of the root folder?

For example, I need to create a 'data' folder not in my httpdocs folder like this:

/home/vhosts/mydomain.com/data

Or could I just add a password protected directory in httpdocs like this:

/home/vhosts/mydomain.com/httpdocs/data/

Any help appreciated as I've searched google to no avail

Thanks in advance,
Lisa.
__________________
Clixxx4porn | Adult XXX | Erection Zone
flyeruk is offline   Reply With Quote
Old 2004-07-22, 05:09 PM   #2
DangerDave
Bonged
 
DangerDave's Avatar
 
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
Lisa,

Assuming this is for a script or password protection.. you can just go ahead and create it as you normally do when creating a subdir.

Via your FTP client
or
Via the shell - ssh/telnet

DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<<
DangerDave.com.au - Adult Links to Free Porn
DangerDave is offline   Reply With Quote
Old 2004-07-22, 05:24 PM   #3
flyeruk
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
 
flyeruk's Avatar
 
Join Date: Aug 2003
Location: North East, UK
Posts: 319
Thanks DD

It is for a script, and I tried via ftp using the 'mkdir' button in the remote window, but just got 550 permission denied.

I can easily create the data folder in my httpdocs directory but didn't know if this was a good idea for security reasons.

Will make a start tomorrow, been up now for 17 hours and need to be thinking straight when I start

Cheers,
Lisa.
__________________
Clixxx4porn | Adult XXX | Erection Zone
flyeruk is offline   Reply With Quote
Old 2004-07-22, 05:29 PM   #4
DangerDave
Bonged
 
DangerDave's Avatar
 
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
Quote:
Originally posted by flyeruk
It is for a script, and I tried via ftp using the 'mkdir' button in the remote window, but just got 550 permission denied.
K Then it needs to be done via ssh/telnet, but based on the fact that you cant do it via your FTP client.. you may not have shell acccess, or permission below the visible directory.

You may need your host to create it for you

DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<<
DangerDave.com.au - Adult Links to Free Porn
DangerDave is offline   Reply With Quote
Reply


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 On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:21 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc