XUpload - Download link?

Message
Author
mrdoc
Posts: 1
Joined: Oct 30, 2006 8:41 pm

Download link?

#1 Postby mrdoc » Oct 30, 2006 8:46 pm

Hello

How can one produce after the uploads, a download URL and can indicate instead of the information, these downloads URL?

this is an automatic translation

Butch
Posts: 27
Joined: Sep 14, 2006 1:44 am

Download Link

#2 Postby Butch » Nov 06, 2006 1:04 am

I had the same question basicly, Pilgram pointed me in the right direction, so I will tell you how I did it.

Place your upload folder inside htdocs (this is where your html pages are,i.e. www.yoursite.com/uploads. Create a .htaccess file within this folder with the code like this (may require editing for your web space)

Code: Select all

AuthType	Basic 
AuthName	"Secured area "
AuthUserFile	/hsphere/local/home/yoursitename/.htmaster/.ok_user
Require	valid-user
Options  Indexes  MultiViews  FollowSymlinks
You will need to remove the Secured area thru Require valid-user " if you don't wish to use secure access to folder (Please note code provided is only for example)

Configure XUploadConfig.pm redirect_link to point to http://yoursite.com/uploads, configure url_post to an empty reference

Don't forget to Configure XUploadConfig.pm to point to the new location of your uploads folder.