{"id":162,"date":"2010-02-20T18:50:57","date_gmt":"2010-02-20T18:50:57","guid":{"rendered":"http:\/\/barrycarlyon.co.uk\/wordpress\/?p=162"},"modified":"2010-02-20T18:50:58","modified_gmt":"2010-02-20T18:50:58","slug":"uploading-large-files-to-webservers","status":"publish","type":"post","link":"https:\/\/barrycarlyon.co.uk\/wordpress\/2010\/02\/20\/uploading-large-files-to-webservers\/","title":{"rendered":"Uploading LARGE files to Webservers"},"content":{"rendered":"<p>So, I have my server set up to accept large files, since I have built a nice new podcast submission system for <a href=\"http:\/\/LSRfm.com\">LSRfm.com<\/a> on the machine called LSR-LOCAL.<\/p>\n<p>Now I decided that its all well and good trying to make it work\/look nice, in terms of waiting for uploading for files and little feedback, we are dealing with the lesser tech orientated here.<\/p>\n<p>So since I already have jQuery on the website, I started looking there.<\/p>\n<p>The first one I found jcUpload looks rather good, and then I saw the multi file upload aspect of it and thought I can use that to do multi file transfers for LSRfm.com Production to bounce files around each other securely, rather than relying on email or rapidshare.<\/p>\n<p>However that fails on files over 5Mb.<\/p>\n<p>Went on a hunt around for general flash uploaders, since I read somewhere flash handles up to 100Mb or so nicely (I think it was on jcUpload&#8217;s website), I found <a href=\"http:\/\/www.swfupload.org\/\">SWFupload<\/a>, however I couldn&#8217;t get it to configure properly.<\/p>\n<p>During my initial search for jQuery plugins I found uploadify, which looked quite good, but got distracted by jcUpload. <a href=\"http:\/\/www.uploadify.com\/demo\/\">Uploadify<\/a> essentially just kicks ass.<\/p>\n<div style=\"float: left;\"><figure id=\"attachment_163\" aria-describedby=\"caption-attachment-163\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/barrycarlyon.co.uk\/wordpress\/2010\/02\/20\/uploading-large-files-to-webservers\/lsrfm-com-home\/\" rel=\"attachment wp-att-163\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/barrycarlyon.co.uk\/wordpress\/wp-content\/uploads\/2010\/02\/LSRfm.com-Home-300x114.jpg?resize=300%2C114\" alt=\"LSRlocal Snapshot 20022010\" title=\"LSRlocal Snapshot 20022010\" width=\"300\" height=\"114\" class=\"size-medium wp-image-163\" srcset=\"https:\/\/i0.wp.com\/barrycarlyon.co.uk\/wordpress\/wp-content\/uploads\/2010\/02\/LSRfm.com-Home.jpg?resize=300%2C114&amp;ssl=1 300w, https:\/\/i0.wp.com\/barrycarlyon.co.uk\/wordpress\/wp-content\/uploads\/2010\/02\/LSRfm.com-Home.jpg?w=813&amp;ssl=1 813w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-163\" class=\"wp-caption-text\">LSRlocal_20022010<\/figcaption><\/figure><\/div>\n<p>And now I have a nice little production file sharer, that will handle multi file uploads, and look good in the process. Since it has a nice progress bar, and handles queueing nicely without have to have a shed load of configuration or extra files like SWFupload.<\/p>\n<p>I did look at <a href=\"http:\/\/valums.com\/ajax-upload\/\">AJAX-Upload<\/a> but decided I&#8217;d stick with the flash solution, since the AJAX solution didn&#8217;t have a upload progress bar.<\/p>\n<p>Now that I&#8217;ve finished the nice uploader for production I can go back to the podcast uploader and add the flash uploader.<\/p>\n<p>Of course with suitable javascript fail support.<br \/>\nAlso need to figure out how to nicely remove a file element if the flash does the upload&#8230;. Probably a separate form but that will require a hefty recode of a lot of code that already works, but it will look and work nicer in the long run.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A quick run thru some of the jQuery file Upload options I&#8217;ve tried.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[45,109,22],"tags":[111,110,106,105],"class_list":["post-162","post","type-post","status-publish","format-standard","hentry","category-geekery","category-jquery-geekery","category-lsrfmcom-student-radio","tag-file-upload","tag-flash","tag-jquery","tag-podcasting"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":0,"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/162\/revisions"}],"wp:attachment":[{"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/barrycarlyon.co.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}