Developer forum

Forum » Development » File not found with /admin/public/download.aspx?

File not found with /admin/public/download.aspx?


Reply

I have a problem with the dowmload.aspx file.

 

I have a newslist in a rss feed here: http://www.vestas.com/en/rss.aspx?Action=ShowFile

 

and when i click a news item, it shows a pdf cause the news list links to pdfs instead of a normal page with text, now the source links to

 

http://www.vestas.com/Default.aspx?ID=4624&M=News&NewsID=963

 

and that links to

 

http://www.vestas.com/Admin/Public/Download.aspx?file=/files/filer/en/investor/company_announcements/2008/081015-mfkuk-44.pdf

 

and that gives me an error that says:

 

E:\DanskInternetSelskab\vestaswindV2\Files\files\filer\en\investor\company_announcements\2008\081015-mfkuk-44.pdf


An error has occured - the file is not found.


For some reason it adds files one two many times and therefor cant find the file

 

 
 


Replies

 
Reply

Are there any extranet settings on the file/folder?

 
Reply
Sorensen wrote:

Are there any extranet settings on the file/folder?


i would assume not since there is no extranet active on that solution, and the file works.

 

http://www.vestas.com/Admin/Public/Download.aspx?file=/filer/en/investor/company_announcements/2008/081015-mfkuk-44.pdf

 

for some reaason the download.aspx? just dont want /files/ infront but i cant really do anything about that?

 

 
Reply

It's a combination of different things. To avoid heavy load on server memory when flushing large files, files larger than 2MB are redirected. PDF files are assumed to be placed in the /Billeder (/Images). Somehow your scenario makes the download feature respond that the file doesn't exist. Could you please test what happens when you place the same file in the /Billeder folder or sub folder? In the meantime I'll see if I can come up with a better explanation that this one.

 
Reply
Sorensen wrote:

It's a combination of different things. To avoid heavy load on server memory when flushing large files, files larger than 2MB are redirected. PDF files are assumed to be placed in the /Billeder (/Images). Somehow your scenario makes the download feature respond that the file doesn't exist. Could you please test what happens when you place the same file in the /Billeder folder or sub folder? In the meantime I'll see if I can come up with a better explanation that this one.


the file is 24,8kb ?

 
Reply

I have no clue, then. I might be a bug, so I suggest you report it using the HelpDesk feature.

 
Reply
Sorensen wrote:

I have no clue, then. I might be a bug, so I suggest you report it using the HelpDesk feature.


got it working with some clever urlhandling thanks though.

 
Reply

It shouldn't be necessary, and apparantly there is a bug in the combination conditions you describe. We'll look into it.

 

You must be logged in to post in the forum