question about remote song hosting and ftp

Posted on

Member Since: Jan 18, 2003

suppose i wanted to host a song momentarily on my own domain, and that that domain is used for business.

is there a way that people can view the directory of that site, ftp style? i don't want songs and mp3s showing up there. but i do need some drum feedback.

[ Back to Top ]


Prince CZAR-ming
Member
Since: Apr 08, 2004


May 23, 2008 07:33 am

Do you have control over the site (server, actually)?

If yes, then you can open a directory to regular listing, so the files are in a list in a web page. But this is often turned off, for security reasons.

I would create a directory, and put a .htaccess file in there, turning on 'Options +Indexes'. This should let anyone web to that directory, and see the files listed that are in that directory.

They can dl from there.

Just control what you put in there, only the one(s) you want available.

Administrator
Since: Apr 03, 2002


May 23, 2008 07:35 am

depending on the scripting support for the site, you could put an index page in that direcotry that will read and list the files with in...and also not allow the user to navigate to other directories posing any security risk.

Member
Since: Jan 18, 2003


May 23, 2008 07:50 am

well, it's godaddy. i wasn't expecting to have to do anything. i was just wondering if not doing anything would lead to mp3 files being visible to curious snoopers. this is a question i've been meaning to ask for over a year, actually.

but i feel over my head already with this this this...techspeak.


Administrator
Since: Apr 03, 2002


May 23, 2008 07:52 am

I can't speak for GoDaddy's hosting, but generally, wise hosts disable "directory browsing" for security reasons. "Directory browsing" is a setting, that, if an index.htm (or other allowed default files) file isn't found, it will simply list the files in the directory.

This can be a risk, so most don't allow it, but some do.

Member
Since: Jan 18, 2003


May 23, 2008 07:56 am

is there a way to test for it

i'm guessing they disallow it cuz theyre pretty big

Administrator
Since: Apr 03, 2002


May 23, 2008 08:00 am

yeah, upload the files and try to view the directory in your browser. if you can't you'll see an error saying so.

every now and then I am surprised by the hosts that do allow it...maybe GoDaddy is one of them...who knows.

FYI, .htaccess only works on Apache servers, and Apache like servers, IIS it won't work on. Some hosts also disable part of, or all, htaccess use at user level. HostPC doesn't, which is cool.

Chief Cook and Bottle Washer
Member
Since: May 10, 2002


May 23, 2008 08:32 am

Simply for transfer of large files, I put a little prog called easy file sharing on the computer I use for the net. Pretty slick solution for what I wanted. I give folks the url, username, and password that I set for them. I have a dedicated directory where I put things for them to get and where they can upload things. Obviously for colab projects.

Member
Since: Jan 18, 2003


May 23, 2008 09:11 am

db, so i just simply test by doing the ftp:/ and then the domain?

i've never done this before

Administrator
Since: Apr 03, 2002


May 23, 2008 09:12 am

no just go to the folder via http if you can...http is the directory listing...ftp is a whole different protocol.

ftp will prolly prompt you for login credentials.

Member
Since: Jan 18, 2003


May 23, 2008 09:16 am

(you mean just the reg web address, slash, then a folder i know exists?)


Administrator
Since: Apr 03, 2002


May 23, 2008 09:18 am

yep

Member
Since: Jan 18, 2003


May 23, 2008 09:19 am

k, thanks. will confirm my hypothesis with tech support tomorrow. cuz i also gots additional questions.

Prince CZAR-ming
Member
Since: Apr 08, 2004


May 23, 2008 10:15 am

good point on my input. I'm pretty used to *nix servers, i tend to forget others exist.

Related Forum Topics:



If you would like to participate in the forum discussions, feel free to register for your free membership.