Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This might be a stupid question, but I have to ask cause I'm not getting anywhere...

I have a virtual private server with Godaddy, and I set up an FTP account. When I access the account via ftp I see these folders:

.Security (file)

Now, what I want to do is place a file on this server where people can just navigate to a URL and download the file. For example,

How do I do this? Do I just create a folder in that location called "music" and then upload the file to that folder? If so, I'm getting error "550 music: Access is denied" is this a permissions error because this user is admin so whats the deal?


The file I'm trying to make available for download is a .jad

I've put the file in /httpdocs/BB but I keep getting this error when accessing:

"HTTP Status 404 - /BB/plugin.jad

type Status report

message /BB/plugin.jad

description The requested resource (/BB/plugin.jad) is not available. Apache Tomcat/6.0.16"


I spoke with Godaddy and they said I need to configure the MIME type as an application/octet-stream. They tell me I have to do it but don't tell me how, so how is this done?


share|improve this question

migrated from Oct 7 '09 at 23:57

This question came from our site for professional and enthusiast programmers.

Here is how to configure a MIME type in IIS – GiH Oct 10 '09 at 6:49
up vote 1 down vote accepted

I recall GoDaddy having some form of tech support. If you have a VPS that should get you at least some level of competent person to help you.

Assuming the root url ( is pointing to your httpdocs directory, you would upload your music folder to /httpdocs. Then the web address would be It's possible GoDaddy has a .htaccess file prohibiting you (or anyone else for that matter) from accessing a .mp3 file.

I would also check the error_docs directory and see if you're getting any serverside errors.

share|improve this answer
Thanks, godaddy support was actually pretty useful. I figured out how to configure a MIME type in IIS here Work's like a charm now. – GiH Oct 10 '09 at 6:49
JAD: text/, JAR: application/java-archive, and COD: application/vnd.rim.cod instead of application/octet-stream makes the file .jad installable on Blackberry – GiH Oct 21 '09 at 0:31

If you want to access the file via http then you should probably put the music folder into the httpdocs folder. If that doesn't work then it might be some subfolder in the subdomains folder.

share|improve this answer
I'm not able to access the file once I put it in this folder, I'm getting the error message stated above in the Update to the question. – GiH Oct 8 '09 at 1:05

Put it in the anon_ftp directory for anonymous ftp. Otherwise, for to work, put create /httpdocs/music and put mysong.mp3 in that directory.

share|improve this answer
exactly, so how do i do that? Why would putting a file in /httpdocs/music point to By this path shouldn't the URL be – GiH Oct 8 '09 at 0:27
@GiH I am assuming the root URL, points to the /httpdocs directory. – Sinan Ünür Oct 8 '09 at 0:30
it may need to be i think i got the syntax wrong, but basically put ftp: or ftp:// in front of the URL – alpha1 Oct 8 '09 at 4:35

If you're using Apache as the web server, you could create a .htaccess file in the directory where your .jad file is.

Put the following into the .htaccess file:

AddType application/octet-stream .jad
share|improve this answer
  1. Make sure that you are accessing the file with the exact same path as you used when copying it to htdocs/. Apache is case-sensitive.

  2. Create a new file called .htaccess (don't miss the period) under htdocs/ and put the following into it:

AddType text/ .jad
AddType application/java-archive .jar
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .