Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
How can I add more type file to be upload? such as .mht
Rank: Newbie
Groups: Member
Joined: 8/29/2010(UTC) Posts: 1
|
Dear all, I would like to know how to upload file like .mht. I tried to add some code to parameter , This is the code Code:
iu.addParam("FileMask", "*.jpe;*.jpeg;*.jpg;*.tif;*.tiff;*.bmp;*.gif;*.png;*.zip;*.rar;*.doc;*.xls;*.pdf;*.ppt;*.mp3;*.avi;*.wav;*.wmv;*.mht");
iu.addParam("UploadThumbnail1CompressionMode", "*.jpe,*.jpeg,*.jpg,*.bmp,*.gif,*.png=Jpeg;*.zip,*.rar,*.doc,*.tif,*.tiff,*.xls,*.pdf,*.ppt,*.mp3,*.avi,*.wav,*.wmv=SourceFile,*.mht=SourceFile");
After that, i tried to run it, however, I did not find the .mht file to be selected. Thank in advance, zenoni
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, You should use the FileMask property: Code:
iu.addParam("FileMask", "*.*");
Now files with any extensions (including .mht) will be shown in the folder pane. If you have any questions, please feel free to let me know. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
How can I add more type file to be upload? such as .mht
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.