file-upload

Large File Uploads.

Do large file uploads block an applications request/response cycle? I have an app that allows users to upload multiple large files (images in particular). These files are stored on a remote host. I cannot use async background jobs to upload these images as these have to be immediately accessible to the user once the upload finishes. How ...

django: model for keeping temporary files

In certain situation users can send temporary files to my server. I would like to keep track of those temporary files (since they are used later and I would like to know, when I can remove them - or when they weren't used and can be collected). What kind of model should I use for it? I will send those files using AJAX (and iframe). EDIT...

Using ASP.NET MVC & AJAX to do a file upload and preview image.

I am doing what would take me less that 2hours to do in old ASP.Net Web Forms but has left me stumped in how to implement in ASP.Net MVC. Problem: I am trying to put together a really basic admin site about musicians. a musician has a associated picture of them, then some details like name, age, home town alongside the profile pic. real...

How to upload file through objective C?

Hi, everyone, I want to ask a question about the objective C on iPhone. I want to upload a file (actually I store all the data in a NSString) to a server. However, I have not idea of how to do, I have checked the website of the Apple Developer, and I know there are a function called connection:didSendBodyData:totalBytesWritten:totalByte...

pass a image upload to another page before uploading it.

Is there a way to pass an image file to a second page before uploading it to the data base? Page 1 <input type="file" name="image" /> Page 2 <input style="display:none" name="image" value="<php? echo $_REQUEST['image']; ?>" /> page 3 -> database upload $target_path = "uploads/"; $image_path_1 = $target_path . basename($_FILES['im...

PHP move_uploaded_file() error ?

I using following code and it is successfully uploading files on my local machine. It is showing "Successfully uploaded" on my local machine. // Upload file $moved = move_uploaded_file($_FILES["file"]["tmp_name"], "images/" . "myFile.txt" ); if( $moved ) { echo "Successfully uploaded"; } else { echo "Not uploaded"; } But...

Alternative to Java Applet for File System Access from Web

I'd like to integrate a application into a web site which allows user to manipulate files on their local machine via the web browser. Flash and Silverlight run at with low permissions and no file system access. Are there alternatives to using a java applet? ...

jquery: reliable plugin for jquery 1.4 that allows ajax file upload

Could you point me to some tested jquery plugin for ajax file upload? I would like it to be jquery 1.4 compliant. ...

PHP - How to upload & Save Files with Desired name

i am using this code to upload files(images to a folder) <form action='' method='POST' enctype='multipart/form-data'> <input type='file' name='userFile'><br> <input type='submit' name='upload_btn' value='upload'> </form> <?php $target_Path = "images/"; $target_Path = $target_Path.basename( $_FILES['userFile']['name'] ); move_uploaded_f...

How can one use <input type='file'> in Safari on iPhone?

I was find around 1 week.help me pls TvT ...

uploading zip file to server using servlets

I have a scenario where i have to upload a zip file on a button click , I can't use forms for that, so I need to handle it either by calling the servlet using document.location.href or through AJAX, after uploading the file I need to extract it on the server. So someone can please tell me what will be possible approach for that. ...

What jQuery ajax file upload plugin should I use?

The plugin should allow delete the uploaded file and multiple file upload. EDIT: Actually I am in a situation that I need to browse and delete some pictures in some uploaded folder. Thanks. ...

GWT - Return object after file upload from FormPanel?

I'm uploading a file using FileUpload and a FormPanel, on the server I generate a List using the data from the uploaded file. The problem is that I need to display this List on the client, but I can't find a way to serialize it using GWT's serialization in a normal HttpServlet. Only in RemoteServiceServlets which can't process a FormPane...

asp.net mvc file upload is passed as null to view model

Hi, I have a form which uploads a photo to my database, and I use a view model to aid in this process. View Model: public class GalleryViewModel { //Members: public Gallery _photo { get; set; } public string _title { get; set; } public string _description { get; set; } publ...

JavaScript file upload is spotty

Hey guys, I have some code that uses the HTML input file type to upload XSL to a server-side program. While it works most of the time, once in a while the submit button will return with "The connection was reset," and my server will not have gotten anything (nothing was posted). Here's the code for the file upload, it's pretty standard:...

preview image before uploading

I'm looking for some flash based plug-in which allows me to display an image as soon as the user selects it in the file dialog. I looked at swfupload but couldn't find any way to display the image selected.. no handle on file path or contents as far as I could find. Anyone knows how to do this? Or some other plug-in which does this? ...

FileUpload in UpdatePanel

Hi All, I have a problem with uploading file to server. I have panels of information on my page. Each panel specify a step of information. And on the last panel, I have a FileUpload control to enable user attach a file. All panels are placed inside UpdatePanel. But, I am not receiving posted file on the server. I tried doing full post...

Image resize PHP

I'm still a newbie regarding image handling or file handling for that matter in PHP. Would appreciate any input regarding the following I post an image file using a simple html form and upload it via php. When i try and alter my code to accomodate larger files (i.e. resize) I get an error. Have been searching online but cant find anyth...

file upload with attachment_fu in rails.

My file upload is working fine on IE. But it's returning "406 not acceptable" error on firefox. Any solution? ...

PHP Memory exhausted

Any ideas why I'm getting .... Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9792 bytes) in /home/frich/public_html/creation/systemc/sMain/upload_image.php on line 77 on the following line $oldImage = imagecreatefromjpeg($img); The php grabs an image from a HTML form and resizes it. Wor...