Showing results for 
Search instead for 
Did you mean: 

Full urls for files on webspace


Full urls for files on webspace

Hi folks,

I've uploaded an mp3 file to my webspace. I used terrapin ftp. First of all I created a folder/directory called mixes. I was only allowed to do this nested in the htdocs directory which was already present.

I then placed my file in the mixes directory.

The file uploaded fine, and I can see it in the remote files in the ftp window. I can't seem to link to it though.

I've thought it would be

but that doesn't seem to work.

I noticed that the "htdocs" folder contains the "index" html document but this comes up without reference in the url to the htdocs folder. So I also tried but that doesn't work either.

Can anyone shed some light on how to get the full url to this file, as I wish to provide off site links directly to the mp3.



Full urls for files on webspace

The second URL would be correct (you don't use the htdocs bit in the URL).
Remember that filenames are case sensitive, so the URL also needs to use the same case(s) as may be in the filename.
Community Veteran
Posts: 14,469
Registered: 30-07-2007

Full urls for files on webspace

What directory permissions did you set for mixes? It should be read/write/access by at least owner and world (707 rwx---rwx) or set it to 777 rwxrwxrwx and see if you can access it using your 2nd example (without htdocs).

Full urls for files on webspace

Thanks guys.


Full urls for files on webspace

Indeed, just forget the htdocs bit.