upload

Best way to handle very large http uploads and downloads on the server-side

I've an upcoming project where I will need to handle very large uploads from browsers (either the classic input type="file" or a Java Applet), and looking for the best tool to do the job on the server. Theses are the things I need : low memory consumption on the server ability to save the file in its final destination on the server (n...

AJAX style uploader

Morning all. My script is running here: http://www.actwebdesigns.co.uk/web-design-mansfield/php-functions/AJAX-style-image-uploader-script-php-jquery.php It is an ajax style uploader. My problem being: when image is uploaded, it calls for a refreshed list of images that have been uploaded. But once it has been refreshed once, the "g...

How to add upload utility to wmd editor?

Has anyone succeeded to do this? ...

File Upload via AJAX within JQuery

Hello All, I am new to JQuery AJAX . I want to implement a file upload using a jquery. Will it be possible to make a fileupload with JQuery,AJAX and send it to Servlet which can use apache file commons to upload the file. Can anyone please advice me how to proceed further? Thanks, Deepthi. ...

uploading a zip file causes some problem for some users - weird mime type

I have a form where the user can upload a zip file, it works perfectly on my side but the client I'm making the website for is not able to upload the zip. I check for the mime type and normally it should work for her to but the problem is that her mime type looks like this: application/octet-stream/" why is there a /" ? anyone experie...

Can Zend_Service_Rest do file uploads?

I assume that RESTful services is a comprehensive paradigm, that it also could cover file uploads too, as a subset of http operations. If so, how does one do file uploads in Rest and specifically, with Zend_Service_Rest? Should my client code somehow read the file and assign its content to some property of restful object? Or there is a...

How do you save an uploaded file to a directory and not a DB?

If someone uploads an image via a form, how do you save the image in public/images and not in a model? And I do NOT want to use plugins. ...

Populating an Object from the DB -- Where do you stop?

When getting an object from the DB, should the object's properties also be loaded? There seems to be these approaches. Create well-formed, fully-loaded objects. Pro: No need to check if a property has been loaded; it has. Pass it around and don’t worry about parts of the object not being there. Con: Where do you stop? If an object h...

How to upload video on YouTube with Ruby

I am trying to upload a youtube video using the GData gem (I have seen the youtube_g gem but would like to make it work with pure GData if possible), but I keep getting this error: GData::Client::BadRequestError in 'MyProject::Google::YouTube should upload the actual video to youtube (once it does, mock this test out)' request error 400...

Limiting the number of selectable files in a Flash file upload dialog

Is this possible through flash? I have to create a flash uploader where you can define the maximum number of files that can be selected. ...

Uploading to Ruby on Rails from iPhone using ASIHTTPRequest

Hi, I've really hit a wall and am need of some help! Thankyou for reading this far! I'm in the middle of writing an app that talks to my ROR web-server for database requests and works great thanks to ActiveResource. But I now need to also upload files to the server, and I plan to use ASIHTTPRequest which looks great, my problem thoug...

Why File Upload didn't work without enctype?

Most of time, the source of File Upload didn't work was forgetting enctype in HTML Form (for me). Normally, we do not need to add enctype in HTML Form for regular requests. But we do need to add this in HTML Form for file upload... enctype="multipart/form-data" I just curious, why file upload didn't work without enctype. Thanks. ...

Is there any Image Uploader for ASP.NET MVC?

Is there any free image uploader control for ASP.NET MVC? Thanks. ...

upload multiple documents in sharepoint with content type form

Hi, my question is this: how can I upload multiple documents in a sharepoint site and still have that page woth the form saying content type like it does when I upload one document? Thank you. ...

How To Upload Image

I am getting the following error whilst uploading a file. The parameters dictionary contains a null entry for parameter 'category_id' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult AddProduct(Int32, System.String, Single, System.String, System.String, System.String, System.String, System.S...

Advanced multiple photo upload script

Hi, I am looking for advanced multiple photo uploading script for ASP.Net Ex: www.flickr.com multiple uploader.I request you all please help me to find custom or already developed uploading script. ...

Is it possible to preserve the strings in ASP.NET MVC file upload boxes after a failed Post?

I have an ASP.NET MVC page with multiple file uploads. After a failed post, all the file upload boxes are blanked out. I don't want the user to need to reselect all the uploaded files. Is there a way I can preserve the values in these fields if other fields fail to validate on Post? I could do the uploads via AJAX, but this would be ...

getimagesize() returns false on some images

I'm running getimagesize() to determine whether or not an uploaded file is a valid image and also it's MIME type. A user of my webapp reported that some of his images where getting an "invalid filetype" error after uploading them. So I asked him to send me some of them to check. Here's one. The error string itself is meaningless as it's...

filename and contenttype of upload image

how to get the name of the file and the content type of the image which we uploaded in mvc application please tell me its urgent thanks ritz ...

Uploading multiple files in Django through one form field

Is there any custom widget (or a special magic way) to upload multiple files (or a whole folder!) through one form field? I have tried this multifile widget but it uses many simple FileFileds. ...