Silverlight Multi File Uploader - Michiel. Post. nl. The Free. Multi. File. Uploader is a free Silverlight 3 application. It can be used to. Features: Select multiple files to upload. Upload multiple files at the same time. Cancel a single upload, or clear the full list. Shows the overall progress. For developers. Full Source Code Included! Configure file extension filter (for example, only . This article demonstrates how to upload a file to a (HTTPS) WebDAV server in VB.NET.; Author: CS Rocks; Updated:; Section: VB.NET; Chapter: Languages. EtienneT 23-09-2008 Are you going to release the code for the Silverlight control and the upload library? 23 silverlight apps on windows phone 8.1 1. Building Apps for Windows Phone 8.1 Jump Start Silverlight 8.1 Phone Only 2. Windows Runtime 3. 4 Legend. We would like to present 20 Best jQuery File Upload Plugins that will help you to add file upload feature to your websites and deliver your visitors a better. Silverlight File Upload Resume For JobsIt seems like I have not clearly communicated my problem. I need to send a file (using AJAX) and I need to get the upload progress of the file using the Nginx. My Silverlight application calls a method to get an image from the server as a byte array. When adding my Service Reference the ServiceReferences.ClientConfig. More about REST: File upload download service with ASP.NET Web API and Windows Phone background file transfer. Configure maximum file size and upload chunk size. Configure the number of simultaneous uploads. Input for custom parameters. Basic webservice included. Change the default color by setting a single parameter. Java. Script events and properties for integration in your website. Silverlight File Upload Resume To LinkedinUpload using Http. Handler. Text in resource file for easy localization. Supports PHP! PHP Upload also available using a PHP Upload Handler. When the file is finished uploading, you can have your custom code executed in the Http. Handler. For example: store the. Your custom input parameters are. Http. Handler. New: LITE version of the Silverlight Multi File Uploader. The Lite version of the Silverlight Multi File Uploader is only 1 button. With the button you can select files from your local disk. All the other functionality can be used through custom Java. Script calls. This way you can totally integrate the control in your existing website. Example of all Java. Script calls included. The full source code is included. Try it for yourself. Maximum upload size for this demo is 5. MB. Configuration. Max. File. Size. KB: File size in KBs. Max. Uploads: Maximum number of simultaneous uploads. File. Filter: File filter, for example ony jpeg use: File. Filter=Jpeg (*. jpg) *. Custom. Param: Your custom parameter, anything here will be available in the WCF webservice. Default. Color: The default color for the control, for example: Light. Blue. Chunk. Size: Size of each uploaded chunk in bytes (minimum is 4. Http. Uploader). Upload. Handler. Name: Custom specified name of the Http. Upload. Handler, for example this can be "PHPUpload. PHP upload handler. Parameters. < asp: Silverlight ID="Xaml. Source="~/Client. Bin/mpost. Silverlight. Multi. File. Upload. Minimum. Version="2. Width="4. 15" Height="2. Init. Parameters ="Max. File. Size. KB=1. Max. Uploads=2,File. Filter=,Custom. Param=1,Default. Color=Light. Blue" /> Java. Script Events. For a better integration with your own website, the Silverlight Multi. File Uploader control has the following Java. Script events and properties. Events: All. Files. Finished - Fires when all files are finished uploading (does not fire. Errors Occurred during upload)Single. File. Upload. Finished - Fires when a single file succesfully uploaded. Error. Occurred - Fires when an error occurred during uploading. Properties: The following properties can be read at any time. Total. Uploaded. Files: Total number of files uploaded. Total. Files. Selected: Total number of files in the list. Percentage: Percentage of total upload progress. Actions: The following actions can be triggered using Java. Script: Start. Upload: Starts the upload process. Clear. List: Clears the list. Select. Files: Not available anymore since Silverlight 3 due to security restrictions in Silverlight. See the included testpages for example usage. PHP Usage. You can use the PHPUpload. PHP server. Configure the Silverlight Multi File Uploader to use the Http. Uploader and. specify the name of the PHP script. Example. . See the included PHP testpage (PHP_Silverlight. Multi. File. Upload. Test. Page. html) for. Click here to go to the Code. Plex website and download the full source code. Comments. Etienne. T2. 3- 0. 9- 2. 00. Are you going to release the code for the Silverlight control and the upload library? Chris Pietschmann. Where's the FULL Source for the control? It seems you left out the Silverlight source from the download. Michiel. 23- 0. 9- 2. Full source code is not available right now. Only the compiled code in a sample project you can use. At this moment you can't change the control, but you can use it on your website. Steve. 24- 0. 9- 2. When do you think you may be releasing the full source code? Mathi. 25- 0. 9- 2. What is the maximum file size supported for upload? Is Pause/Resume possible while uploading a huge file? Michiel. 25- 0. 9- 2. Mathi, any file size is supported for upload. I tested it with files 2. MB, and that worked fine. You can test it on your local pc and let me know if you find any problems. Pause/Resume is not possible right now, but can be build. Could be a nice feature, I'll think about it and maybe include it in a new release. Fallon Massey. 26- 0. You just ignored Steve. I hope you don't think you can make any money off of this, but you can try(lol). Fallon Massey. 26- 0. FYI, I just ran the assemblies through reflector. It's written in VB. Net, and the full source comes through. Michiel. 26- 0. 9- 2. It's written in C#, not VB. Net. I don't know yet if and when I will release the full source code. Cool ! but is it possible to skinning the xap ? Michiel. 26- 0. 9- 2. Not yet, this will be supported in the next version. Bydia. 27- 0. 9- 2. Hope you can update to RC0 cause it does not work anymorej. Michiel. 30- 0. 9- 2. The project will become open source when Silverlight 2 is released. Voytek. 01- 1. 0- 2. This is exactly how the multiple file uploader supposed to work. I'll gladly donate $1. Laurent. 01- 1. 0- 2. Actually, the FULL source code is available already and is even on your PC already. Silverlight is . NET and . NET can be run through Reflector : )Voytek. Laurent. Actually, the FULL source code is available already and is even on your PC already. Silverlight is . NET and . NET can be run through Reflector : )& quot. I am well aware of it but I think people who provide us with quality products should be compensated. Too many times I came across free tutorials that supposed to teach us how to do things in Silverlight but ended up showing only a tip of the iceberg. From my point of view PRODUCTION QUALITY code with error handlers is the type of tutorial I personally looking for and willing to pay for it. I don’t see anything wrong with it as long as code is free and donations are optional. By the way, there is another interesting sample of multiple file uploader at http: //www. Updated_Silverlight_Uploader_for_SL2_Beta_2. Michiel’s one but does the job. Kevin. 02- 1. 0- 2. Is it also possible to have drag & amp; drop functionality in this fileupload? That would be really fantastic. I'm searching the net, but I always run into security issues. Michiel. 03- 1. 0- 2. Kevin I also looked into drag and drop functionality to add files, but it really isn't possible. Security issues : )The. Dog. Particle. 14- 1. Michiel! Andrew. 22- 1. Excellent control! Thank you. One newbie question: is there a way to notify the page when an upload is complete? Have it call a javascript function or something? Michiel. 22- 1. 0- 2. Andrew There aren't any javascript events yet. I'm planning to include that in the next version. So keep a watch on the codeplex project for upcomming check- ins. Thank you! i have one problem.. Upload Failed.& quot. Upload& quot; exectly like on the localhost. Steve O1. 0- 1. 1- 2. I'd love to try this out in my projects, but I can't get it to work on our servers. Firefox just leaves a blank box, while IE pops up an error box saying. A Runtime Error has occurred. Error: Sys. Invalid. Operation. Exception: Initialize. Error error #2. 10. Xaml. 1': 2. 10. 4 An error has occurred. This is the first time I've tried to host anything Silverlight- y. Is there something obvious I'm missing? Thanks! Steve O1. Actually, yes, I was. I hadn't configured MIME types for the server. You need to add XAML and XAP, and I also had to restart IIS before it worked. Michiel. 18- 1. 1- 2. No that's not possible. A user has to manually select the files, this is due to the silverlight security model. A user can of course select all the files in a folder. I've like to include this control in my website, but I have two questions. I integrate it in a & quot; normal& quot; . Andy Ho. 04- 1. 2- 2. Very good control. I think it better have the option to set the destination folder instead of the pre- defined & quot; Upload& quot. Michiel. 08- 1. 2- 2. Andy, I fixed this, you can now set the upload directory in the Web. Greg. 09- 1. 2- 2. Hi Michiel. Great control. I've found an issue though. When File. Collection Percentage hits 1. All. Files. Finished event is raised, the file is still locked/temp_named. I came across it when trying to view an image on All. Files. Finished. I fixed it by moving the event call out of Percentage setter into item_Property. Changed. if (file. State == Constants. File. States. Finished). Total. Uploaded. Files == this. Count). Fire All. Files. Finished event here. Michiel. 09- 1. 2- 2. Greg, thanks for mentioning the issue! I fixed it in the latest checkin on Code. Plex (Change Set 8. SLFile. Upload/Source. Control/List. Downloadable. Commits. aspx)Andrew. Has anyone been able to use this control through HTTPS/SSL? Even disabling SSL on the relevant folders isn't working. Michiel. 22- 1. 2- 2. See this post for SSL instructions: http: //www. Post. Detail_1. 9. Lars Zeb. 04- 0. 1- 2. Michiel. Thanks for your work on this project. I've learned a lot. I'm currently stuck on an & quot; Upload failed& quot; message after hitting the Upload button. Any ideas on what might be causing this? I don't believe it's permissions on the Upload folder - it's owned by Administrator with full control and I'm running with the ASP. NET Development Server. Thanks, Lars. Michiel. Lars, try debugging the WCF service and see what goes wrong inside the service. Excellent , thanks! Is it possible to have a range of file types in the File. Filter? i. e how would I get jpeg, png,tiff and gif to show? Michiel. 10- 0. 1- 2. JPEG *. jpg PNG *. TIFF *. tiff GIF *. Further question: I am using the httphandler; is there a way of instigating 'Upload failed' message other than by throwing an exception? For example, if the uploaded file fails further serverside validation, I throw a Argument.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |