No, not with native Javascript. You have to have the user do it manually & upload the parts - the rejoining can be done automatically on the server. One way would be through the use of multi-part archives.
Or use the flash-based approaches that seem to be popular. http://mike.kruckenberg.com/archives/2008/02/inline-web-browser-file-upload.html, although even they may not give you what you want. Web browsers were never really meant for uploading large amounts of data to servers but instead to go the other way. On Tue, Apr 14, 2009 at 5:58 AM, Prashant Gupta <[email protected]>wrote: > by this method, if file size is large, it may take very long time or even > fail if network is slow. can't we break file into smaller parts before > sending and send one-by-one and then rejoin it at server? > > > > On Tue, Apr 14, 2009 at 3:15 PM, Vitali Lovich <[email protected]> wrote: > >> No, obviously not as that would imply reading the file which violates the >> whole sandboxing browsers take with respect to javascript. >> >> The only thing you can do is submit the file (whereby the browser is >> responsible for actually reading & transmitting the file) & then use RPC to >> manipulate the file that is on the server. >> >> >> On Tue, Apr 14, 2009 at 5:18 AM, loudo <[email protected]> wrote: >> >>> >>> Hello >>> >>> Can i make a file upload with a rpc call ? >>> I want to upload a file with the rpc call but i have not found >>> example. >>> I have only found example with submit form. >>> >>> Thanks a lot for your response. >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
