upload

Check length per file instead of entire request in CGI Upload

I am attempting to modify the Uber-Uploader perl script so that when an upload is checked if it meets the minimum requirements, it checks per file instead of just the entire request. I'm not too experienced with perl, and don't know how to do this. Currently the script simply does this: elsif($ENV{'CONTENT_LENGTH'} > $config{'max_uploa...

Can a user select and upload more than one file at a time in asp.net?

I made a website for a friend and he uploads a lot of pictures, around 20k per month. And sadly, I made it so he has to upload 1 at a time, because when they are uploaded they are renamed, attached to a group id and watermarked. Is there a way to allow him to select all 20 in a group and have them be uploaded and processed? I've looked...

Service to allow users to upload large files

I need an app/service I can put on our web server (LAMP) that will allow external (and unauthenticated) users to upload large files (10 MB - 100 MB for now) to our website, instead of trying to email them. If possible, it should be very user-friendly, as it will be used by non-technical users. I don't really want to roll my own, as I'm...

jquery progress bar to show upload file progress

I want to use progress bar to show file upload progress. I'm currently using the following code <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.progressbar.min.js"></script> $(document).ready(function() { $("#spaceused1").progressBar(); }); HTML: <span class="progressBar" id="space...

Anyone know about a good multiple file upload script using php/mysql and ajax/javascript?

Hi, as the title says: Anyone know about any good/simple multiple file upload script that uses php/mysql and ajax/javascript? I want it to show a progress-bar, and easy customization. I've tried uploadify and fancyupload, but I would want the option of adding a description and title. (and I've got some bad experience with uploaders usi...

upload file with jquery

i need to upload file with jquery. i now about uploadify plugin, but i don't want to use such a big plugin for it. i have an idea, how can i do it, could you tell me will it work? if i pass the <input type="value"> input's value as javascript variable to some.php file via ajax, and then make upload there, will it work? Thanks? ...

[Python] Upload a file with rest

Hi, I created a rest api using django and piston and I need to create a script that uploads a file to that api. currently I'm using this code: import urllib import urllib2 user = 'patrick' password = 'my_password' url = 'http://localhost:8000/api/odl/' password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() password_manager.add_...

Filetype in HTML upload form

How can i limit my form to only accept jpeg files? Now it shows all files. <input name="image" type="file" /> And are there any javascript method to show progress? ...

How do I programmatically rename a file(pictre) once I have saved it to the iPhone?

The app basically takes a picture, saves the image to a file and stores the file location in coredata. From here I either choose to save/submit this image or discard it. If the file is saved I want to leave it alone, if it's submitted I want to take the response and name the image that file, and if it's discarded I don't want it. Idea...

Why is the bitmapdata not posted to server side with flash?

Here is the code I used to post the bitmapdata to server side(PHP): private function savePicToServer(bmpData:BitmapData):void { trace("in savePicToServer"); trace(bmpData); var jpgEncoder:JPGEncoder = new JPGEncoder(85); var jpgStream:ByteArray = jpgEncoder.encode(bmpData); var loader:URLLoader = new URLLoader(); ...

picking and uploading the video for iphone 3g ios 4 .

Hi all , I want to upload a video from iPhone to a server somewhere. I have found this useful question here for uploading a video on the server from iPhone. The only problem here is picking the video. The code is using uiimagepickercontroller to pick up the video and I have a 3g phone which has not video in its photos app. I can't e...

jQuery get an image source encrypted/

Hi guys, i kinda sorted out my problems with forms with using serializeArray, but as you may know it lacks of support for input/file, so decide to merge it with my serialized data. Now i create the object and everything i get the name of the file with .val(). But i can't the image source. For example i wanna do this: alert(jQuer...

Implementing jquery upload plugin 'uploadify' with codeigniter

How can i implement this in codeigniter?Uploadify(Jquery) I mean what will be the controller? Hows the progress tracked? And what will happen if flashplayer is not installed by the user? And How do i check progess? Have any one tried this with codeigniter? ...

why have most of the files in a dreamweaver site been put into a directory called 'upload'?

I cleaned up someone's style sheet for a Dreamweaver site, by editing the css directly, and now the secretary is having trouble using her old template. Most of the files in her site reside in subdirectories of the 'upload' directory. For example, I would have expected to see the stylesheet in ../assets/css/ etc. but in fact I'm fin...

AJAX.Upload Plugin

I am using the Ajax.Upload plugin (http://valums.com/ajax-upload/). I am trying to use the File Upload with text fields to submit it all to just one backend PHP file. The site mentions 'If you want to pass additional data from textfields use setData method in a onSubmit callback.' How can I set the parameters? Thanks. Also, if there a...

Django File Uploads and Model FileField

I'm sooo close... but I don't quite see the connection from the upload view to the model. When I use the callback in the model's FileField the upload works, but I'm not sure where the actual file copy is taking place. The goal is to make sure that chunking is happening, but the file copy action seems to be hidden somewhere? Here's what ...

Synchronous Ajax

Hi guys, I can't upload a file with asynchronous ajax but can I with the synchronous method ? I searched and found nothing about it. Thanks. ...

SWFUpload uppload error 500 - asp.net website

I have a asp.net website where I am using the Flash SWFUpload (http://code.google.com/p/swfupload/) upload component. The same code is hosted on two servers - on server A I can upload images without any problems. On server B I get Error 500 when I try to upload - no other error message. I am unable to find what server settings are dif...

Dowload single file

Hello, how can I download single file from SVN repository? For example: svn co http://server.com/svn/trunk/test.file test.file svn: URL 'http://server.com/svn/trunk/test.file test.file' refers to a file, not a directory But I can download directories in this way. ...

Multiple file upload association in MVC

I have implemented the File Upload (upon reading Scott Hanselman's excellent post) I have multiple files associated with various questions on the form though, and would like to associate each saved file with an internal ID. How can I do this? For example, if question # 3 has a file uploaded abc.pdf, how can I associated that file with...