|
|||
|
Noob question :(
How can you give a uploaded file a set download URL?
for example: I upload a file name.rar If I were to give someone the link to download this file I would get a crazy download link. Instead I would like something more simple like "www.mydomainname.com/extras/downloads/name.rar" and make the file download using a link like this. Also where do I create the folders on my file manager? public_html? I have googled, yahoo!, tried looking for step by steps but couldn't find anything
|
|
|||
|
Quote:
Remember my goal is to give a downloadable content a permanent link. For example www.myhost.com/downloads/project.zip. <<< and with this link be able to download the file. |
|
|||
|
Quote:
EDIT: Here is what the crazy link looks like. http://xx.xx.xx.xxx:xxxx/download?sk..._4.15_RAPH.rar Last edited by Cochoz; 03-26-2009 at 01:10 AM. |
|
||||
|
Download links like the ones you are talking about are how apache works. Currently you are getting crazy links as you are downloading through some package (that provides downloads.php).
If you upload a file as: /home/user/public_html/downloads/file.rar you will be able to download it as: www.yourdomain.com/downloads/file.rar However, you will have to upload via ftp and not some other mechanism so you are absolutely sure the file is in the right place. |
|
|||
|
Quote:
Since you're from Australia, Good job mate!
|
|
|||
|
Let us know if you need any other help, we would glad to help. Feel free to post here
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|