Webspace & Domain Names This is a discussion on, how to FTP private docs within the Freedom2Surf forum; Hi I'm trying to set up a private directory on our F2S domain so that I can upload a few ...

Reply
 
LinkBack Thread Tools
Old 20-09-2007, 03:53 PM   #1
Tiscali User Member
 
rg27's Avatar
 
Join Date: Jul 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Red face how to FTP private docs

Hi
I'm trying to set up a private directory on our F2S domain so that I can upload a few documents to it and have other people go there to download them. To do this I would like them to have a different from the main one we use to get to our F2S details.
I've managed to get File Zilla to upload a test.doc file into the public folder but if I go to the ftp URL http://www.ftp.rg27.f2s.com/ or even http://www.ftp.rg27.f2s.com/public_html it says 'no page to display'. I assume it's not that easy! I also assume I wouldn't actually put docs in there but in a different directory.
Can anyone help please? I would really appreciate it.
(I'm off home now, but will try and login this evening to see what's what.)
Thanks
__________________
rg27 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-09-2007, 09:50 PM   #2
Tiscali User Admin
 
aos101's Avatar
 
Join Date: Jun 2004
Location: Kent
Posts: 3,758
Thanks: 1
Thanked 6 Times in 6 Posts
Well firstly you are getting an error when using those two links as they are wrong (and I'm not sure where you got them from). You website address is www.rg27.f2s.com, and ftp.rg27.f2s.com is the address of the FTP server which you connect to with FileZilla to manage files on your website.

Did you upload the test.doc file into the public_html folder? public_html is the folder you should upload files to for them to show up on your website, but if I try and download your test.doc from that folder I get an error suggesting that file isn't there (or has a different name).

Quote:
Originally Posted by rg27 View Post
To do this I would like them to have a different from the main one we use to get to our F2S details.
I'm sure there's a word missing in there somewhere, so do you want people to just be able to go to your site and download the files, or do you want them to have to login?
__________________
Adam
aos101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-09-2007, 09:16 AM   #3
Tiscali User Member
 
rg27's Avatar
 
Join Date: Jul 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Adam

I took the addresses from the F2S help pages - just copy/pasted them.

I need people to login to collect the files using a login (eg username & password) which I determine - or a secure one if it's automatically generated by the system. This can be the same for everyone as I will give it to trusted people. I'm usre anyone can guess an ftp site otherwise and these are confidential files. (Is it still safe using this system?)
__________________
rg27 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-09-2007, 11:34 AM   #4
Tiscali User Admin
 
aos101's Avatar
 
Join Date: Jun 2004
Location: Kent
Posts: 3,758
Thanks: 1
Thanked 6 Times in 6 Posts
For a login system you can either enable the webmaster account so you have a different password another user can use to login via FTP, or you can create a folder on your website and password protect it by following the tutorial on the F2S site and then just give them a link to the file (e.g. www.mysite.f2s.com/folder/myfile.doc) and it will ask for a username and password. I think it would probably be better to have a password protected folder on your website rather than have people loggining in via FTP (as you can better limit what they can do/see).

First of all you should create a folder under the public_html folder using FileZilla and upload a file into it, and then check you can download that file from your site. The address will be www.rg27.f2s.com/folder_name/file_name.doc where obviously folder_name is the name of the folder you created in the public_html folder using FileZilla. Once you've got that working you can try the tutorial on the F2S site to password protect anything in the folder you created, although I know that can be a bit daunting if you've never done anything like it before.
__________________
Adam
aos101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-09-2007, 11:42 AM   #5
Tiscali User Member
 
rg27's Avatar
 
Join Date: Jul 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, Adam. I will have a go.

Lynda
__________________
rg27 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-09-2007, 02:56 PM   #6
Tiscali User Member
 
rg27's Avatar
 
Join Date: Jul 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Nearly there - I'm using the 'password protect the folder' option. I've followed the tutorial exactly and successfuly uploaded a test doc.

I get the login screen to the folder, but it doesn't accept the login - I've used both the unencrypted password and the encrypted one. (HTTP500 - page cannot be displayed).

Also, although I haven't got through, it looks as if it's taking me directly to the file, but I really want to have several files in there which users can choose from. Is that going to happens using this method?

Your assistance very much appreciated.

Lynda
__________________
rg27 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-09-2007, 04:42 PM   #7
Tiscali User Admin
 
aos101's Avatar
 
Join Date: Jun 2004
Location: Kent
Posts: 3,758
Thanks: 1
Thanked 6 Times in 6 Posts
OK, in your .htaccess file does the path you got from the members area currently end in "rg27.f2s.com/cgi_bin/.htpasswd"? If so you need to make sure it ends in "rg27.f2s.com/public_html/.htpasswd" (basically just change "cgi_bin" to "public_html") assuming you have placed the .htpasswd file in the public_html folder using FileZilla. Try that and see if it now accepts the password (you might need to close and reopen your browser to get the password prompt up again).

To have a listing of files on your site, once you've got the password protection working just add "Options +Indexes" on a new line in the .htaccess file after the "</Limit>" bit. Then if you give someone a link to www.rg27.f2s.com/folder_name/ it will show a list of all files in that folder once they've entered the correct username and password.
__________________
Adam
aos101 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP Server Homer Simpson Freedom2Surf Broadband 7 10-02-2007 01:48 PM
Two domains in one FTP space Doug Webspace & Domain Names 0 27-12-2006 05:46 PM
USR 9003 Unresponsive after firmware upgrade via FTP rp2006 Freedom2Surf Broadband 9 14-06-2006 02:07 PM
FTP Details - Help? Convex Webspace & Domain Names 4 28-07-2005 01:15 PM
Cannot connect to FTP server via WAN address (Resolved) Tom_H Freedom2Surf Broadband 9 10-09-2004 09:10 PM


All times are GMT. The time now is 03:03 AM.