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



Go to last post Go to first unread
#1 Posted : Tuesday, June 12, 2012 1:29:56 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 3/13/2012(UTC)
Posts: 9

when i use Fail-safe upload mode to upload files

and chang the file size

   converters: [                      
                    { mode: '*.*=SourceFile' },
                    { mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: 140, thumbnailHeight: 120},
                    { mode: '*.*=Thumbnail', thumbnailWidth: 800, thumbnailHeight: 800 }                 

       uploadSettings: { 
                        actionUrl: '/imageUpload/upload',
                        //redirectUrl: '/imageUpload/viewPhoto.jsp',
                        AutoRecoveryTimeout: 2000,
                        FilesPerPackage: 1,
                        ChunkSize: 10485760                            

but if the file like 50k it is right we can get the pictrue

but if the file is too large like 20M it is wrong we can not get the picture!

so how can we upload large file in Fail-safe upload Mode which properties we must set or
event can be write!

Edited by moderator Tuesday, June 12, 2012 2:33:25 AM(UTC)  | Reason: Not specified

#2 Posted : Tuesday, June 12, 2012 8:57:34 PM(UTC)

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)

Fail-safe upload configuration includes chunkSize property. When it is set, the uploader divides file on parts and sends them to a server in separeted POST requests. In this case you will need to use ASP.NET control or PHP library because these wrappers automatically bundle pieces of one file, uploaded in separated chunks, and provide an access to this file as if it was uploaded entirely. As you use JSP, chunkSize does not work. Please remove this property from code and try again. Then let me know about result.
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.