View previous topic :: View next topic |
Author |
Message |
pyox -
Joined: 26 Feb 2005 Posts: 2
|
Posted: Sat Feb 26, 2005 6:26 am Post subject: where to put stuff to download |
|
|
what folder do i put files in to download them and how do i make links to download them. |
|
Back to top |
|
 |
wspollack -
Joined: 28 Dec 2003 Posts: 108
|
Posted: Sat Feb 26, 2005 2:52 pm Post subject: Anywhere, and normal link>>> |
|
|
You can put files in the /htdocs directory or a subdirectory of that. Similarly, if you're not using /htdocs for your site -- because you can configure Abyss in the Control Panel to locate your site in some other directory on your PC -- you can put your files in that directory or a subdirectory of it. That's the typical way.
For the files to download, just put them in their own .zip files and browsers know enough, when people click on such links, to ask the typical what-do-you-want-do-with-this and where-do-want-to-save-it type of questions. A normal link would be something like this:
<a href="../download-files/file-xyz.zip">This is file xyz</a>
...where you've placed your zip files in, say, /htdocs/download-files/. Of course, there are a lot of other ways to do this, but something like this is simplest.
Regards,
Bill
Last edited by wspollack on Sun Feb 27, 2005 2:20 am; edited 1 time in total |
|
Back to top |
|
 |
pyox -
Joined: 26 Feb 2005 Posts: 2
|
Posted: Sun Feb 27, 2005 12:00 am Post subject: |
|
|
thanks |
|
Back to top |
|
 |
angelsan -
Joined: 11 Jan 2005 Posts: 12
|
Posted: Sun Feb 27, 2005 2:19 am Post subject: |
|
|
If the purpose is to make files available for download on a temporary basis, my suggestion to place a directory where is easily accessible, like the desktop. That way you can drop files into it or remove them easier. Then go to the console and select Configure/Alias/Add; and set up and alias for that folder. For example: Virtual Path: /Files -- Real Path: C:\...\Desktop\Files. This way the user can specify http://www.domain.com/Files and will access the files you have in that folder. I find that setting this directoy or directories on the desktop makes moving files in and out of the directory easier, since it accessible all the time. If you need the files to be available for download all the time, you can follow the same procedure, but I would then put the folder(s) somewhere else where is convenient. You can also notice that you can make any directory available for download by setting an alias for it so you do not have to move the files.
Angel |
|
Back to top |
|
 |
|