when page response to download file, file with super length name cant not be downloaded

Author Message
civilman 08/06/2012 12:23 pm
Please try the 2 url by Offline Explorer Enterprise or IE, you will find IE can download it correctly, but Offline Explorer Enterprise can not.
http://a.kezhu.net/attach.aspx?id=1
http://a.kezhu.net/attach.aspx?id=2


Program 1: Super Long name
If the page response to a file with long name(>256),the Offline Explorer Enterprise can't download it!
Example URL:
http://a.kezhu.net/attach.aspx?id=1
When Offline Explorer Enterprise download it , only download the file "attach.aspx@id=1", but the true file(aaaaaxxxxx.zip) in it does not download!

The content in "attach.aspx@id=1" is :
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0; URL=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.zip"><TITLE>302 File moved</TITLE></HEAD></HTML>

Program 2:
If the page response to a file name with Chinese characters, the Offline Explorer Enterprise will HttpUtility.UrlDecode the Chinese character, and translate '%' to '_25' ,so one Chinese character will be turned to 15 character. So the name offen exceed 256,and Offline Explorer Enterprise can not download it.
I have choose " use Unicode symbols in filenames ", but it does not work.
Example URL:
http://a.kezhu.net/attach.aspx?id=2
The content in "attach.aspx@id=2" is :
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0; URL=_25e5_258d_258e_25e7_25a1_2595p8h67Bios_25e7_2594_25a8_25e4_25ba_258e_25e6_25b5_258b_25e8_25af_2595Offline+Explorer_25e4_25b8_25ad_25e6_2596_2587_25e6_2596_2587_25e4_25bb_25b6_25e5_2590_258d_25e4_25b8_258b_25e8_25bd_25bd_25e9_2597_25ae_25e9_25a2_2598_25e6_25b5_258b_25e8_25af_2595.zip"><TITLE>302 File moved</TITLE></HEAD></HTML>
The length of the true file name in Chinese is 46, but the length in Offline Explorer Enterprise is 284.

Can Offline Explorer Enterprise fix the 2 program ?
Oleg Chernavin 08/06/2012 12:23 pm
Thank you for describing the problem! I will work on it soon.

Best regards,
Oleg Chernavin
MP Staff