Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAny way to have external links to Repository documents?Any way to have external links to Repository documents?
Previous
 
Next
New Post
3/3/2009 10:22 AM
 

Thanks for the reply. Yes, I am running 3.01.15 and dnn 4.9x.  I just run things default and am not to good at tweeking.

I have been updating DNN in place since 4.x began.  I can see there are a few older files in the Repository folder. Namely "userupload.ascx" "edit repositiry.ascx" and downloader.ascx" from 2006.  Can I remove those? 

I can't really unistall the repository module to clean it because it is on a production site. How can I find a clean list of files needed in the module folders for this? Right now I am trying to look in the install zip, but it is not a simple folder tree in there.

 

 
New Post
3/3/2009 5:28 PM
 

yes, you can delete those files.

You could always just unzip the installaton package for the module to a temp folder on your hard drive to see what files are included (ie: necessary)

 
New Post
3/6/2009 1:54 PM
 

Thanks, when I deleted those old files, I no longer get an error on the page. And the URLCONTROLFILE token works now for uploading.

** However, how does a person get a direct link to the file to download now? The file sits in the folder with a normal name, but I still get the javascript_dopostback crap when I click on the download.

 
New Post
3/6/2009 2:19 PM
 

That "crap' unfortunately is necessary to apply document security and to track downloads. Be aware, that if you provide a direct link to a file via a URL, then the browser will request the file and IIS will stream the file back to the client,  the 'download' will not be processed by the LinkClick.ascx handler which is defined in DotNetNuke, therefore the download will not be 'counted'. 

 For example: You could put a Links module on another page and set the link to directly point to the file, by selecting "File" as the link type and pointing to the file you want users to download when they click on the link,

If you're not worried about keeping track of download counts, then just use a direct URL to the file. such as .. http://www.yourdomain.com/dotnetnuke/portals/0/repository/myfilename.ext

 

 
New Post
3/6/2009 3:08 PM
 

Sorry, what I meant was to have the link act like the links in the Documents download module. Those links seem to be processed by DNN and count the clicks, and I can send them out in an email. I can't send out the postback link. For some reason I thought using URLCONTROLFILE for the upload would help with that. 

I see that new uploads to the Repository now have nothing added to the file names, and I can choose the folder to upload them to. Is that all the new token does? I thought it would change the download links to answer the title of this thread. I will keep looking. Your replies are appreciated.

Can the Repository use the method the Documents module does to yield a link like this to a file?

http://mysite.edu/LinkClick.aspx?fileticket=1VfUX6zy43A%3d&tabid=114&mid=669&forcedownload=true

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAny way to have external links to Repository documents?Any way to have external links to Repository documents?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out