Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
zenoni  
#1 Posted : Sunday, August 29, 2010 3:49:45 PM(UTC)
zenoni

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
Dmitry.Obukhov  
#2 Posted : Sunday, August 29, 2010 10:02:59 PM(UTC)
Dmitry.Obukhov

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.
Users browsing this topic
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.