How to find URL of file


#1

I am in desperate need to be able to insert the url of .swf files into my blogging software on other servers. I cannot figure out how to get the correct url of my files on DH. Is there any way I can get help on this?


#2

well, depending on what you’re trying to do you’re probably looking for one of these paths:
/home/username/example.com/path/to/file_upload/mov.swf

or

http://www.example.com/path/to/file_upload/mov.swf

-Matttail


#3

http://home.laufsport/laufportal.info/
does not work!
what is wrong with it


#4

it doesn’t work, becuase it’s not a valid URL. a URL would look somehting like http://sub.example.com/ or http://www.example.com or ever http://sub.example.com/directory/

-Matttail


#5

sub.example.com
hcww.laufportal.info
is my mySQL database!


#6

Have you tried http://www.laufportal.info/ ? It’s working here…


#7

I’m assuming your website is http://site.com and let us say that the file is movie.swf

So…you used ftp or whatever program of your choice to upload movie.swf into your site.com folder in the root directory. The absolute URL of your file will be

http://site.com/movie.swf

Now, let’s say that instead of putting it into your main directory folder, you made another folder called media and uploaded movie.swf to that folder. The absolute path would then be

http://site.com/media/movie.swf

Does that clear it up a bit for you? If you are using this one particular file on multiple websites, you should use the absolute URL to it. Otherwise you will have to upload the file to each site and use a relative path (like embed src="file.swf if it’s in the main directory or if you put it into a differend directory under that main folder embed src=“media/file.swf” …if you had uploaded into the folder ‘media’)

The Insane Cabbit
My Blog http://www.sounanda.com
My web store:
http://www.marciesgifts.com
Send me a pm if you want cms or forum software installed (for a fee)


#8

are you using the quicktime streaming server?