file-upload

FileUpload control inside an UpdatePanel without refreshing the whole page?

According to Microsoft the FileUpload control is not compatible with an AJAX UpdatePanel. I am aware that a PostBackTrigger can be added to the submit button of the form like this: <Triggers> <asp:PostBackTrigger ControlID="Button1" /> </Triggers> The problem is that this forces the form to perform a full post-back which voids out...

How do you allow multiple file uploads on an internal windows-authentication intranet?

I have a couple of solutions, but none of them work perfectly. Platform ASP.NET / VB.NET / .NET 2.0 IIS 6 IE6 (primarily), with some IE7; Firefox not necessary, but useful Allowed 3rd Party Options Flash ActiveX (would like to avoid) Java (would like to avoid) Current Attempts Gmail Style: You can use javascript to add new Uplo...

How to handle file uploads to a dedicated image server?

Hi, I got a webserver with a running application. There's a webpage with a form: some text data and a file upload field. Now, what I would like to have is it working like this: The file is sent to the dedicated server, diffrent then the one application is running on. The server should return some kind of path (or anything that identifie...

How to get the file path from HTML input form in Firefox 3

We have simple HTML form with <input type="file">, like shown below: <form><label for="attachment">Attachment:</label> <input type="file" name="attachment" id="attachment"><input type="submit"></form> In IE7 (and probably all famous browsers, including old Firefox 2), if we submit a file like '//server1/path/to/file/filename' it works...

How to change the Text of the browse button in the FileUpload Control (System.Web.UI.WebControls)

I want to change the Text of the browse button in the FileUpload Control (System.Web.UI.WebControls), instead of the [Browse...] text I want to use [...] ...

WebDev: What is the best way to do a multi-file upload?

I want (barely computer literate) people to easily submit a large number of files (pictures) through my web application. Is there a simple, robust, free/cheap, widely used, standard tool/component (Flash or .NET - sorry no java runtime on the browser) that allows a web user to select a folder or a bunch of files on their computer and upl...

What is a good PHP library to handle file uploads?

I am looking to use a PHP library for uploading pictures to a web server so that I can use something that has been tested and hopefully not have to design one myself. Does anyone know of such a library? Edit: I am aware that file uploads are built into PHP, I am looking for a library that may make the process simpler and safer. ...

Open source app that provides YouSendIt style functionality?

I'm looking for an open source webapp I can install that provides functionality similar to YouSendIt. Functionality desire includes: Users with an account can upload files through a web interface to a server. User can put in email addresses, recipients receive a unique URL to the server allowing them to download the file (which is str...

The essential steps in verifying a file upload

What would you say are the essential steps in verifying a file upload? I'd tend to check the MIME type, give it a new (random) name, make sure its got an allowed file extension, and then I'd check the contents of the file. How do you go about it? ...

Why does IE7 specify a mime-type of image/pjpeg rather than just image/jpeg?

When uploading a file (jpeg) via a form in IE7 I am seeing a mime-type of "image/pjpeg" instead of "image/jpeg" (as I see in Firefox or similar). It's easy enough to work around this problem, but I'm just wondering why IE7 is behaving differently in this case? ...

Uploading files in Ruby on Rails

I have a web application that needs to take a file upload from the user and upload it to a remote server. I can take input from user to server fine via file_field, but can't seem to work out the next step of uploading from server to remote. Net::HTTP doesn't do multipart forms out of the box, and I haven't been able to find another goo...

Any quirks I should be aware of in Drupal's XML-RPC and BlogAPI implementations?

I'm beginning work on a project that will access a Drupal site to create (and eventually edit) nodes on the site, via the XML-RPC facility and BlogAPI module shipped with Drupal. This includes file uploading, as the project is to allow people to upload pictures en mass to a Drupal site with minimal ado. What I'd like to know is if there...

ASP.NET - how to show a error page when uploading big file (Maximum request length exceeded)?

Application able to record error in OnError, but we are not able to do any redirect or so to show something meaningfull to user. Any ideas? I know that we can set maxRequestLength in web.config, but anyway user can exceed this limit and some normal error need to be displayed. ...

Is it possible to upload entire folders in ASP.NET?

The file upload control in asp.net does not allow me to select a folder and enables me to select only the files. Is there any way in which I can select a folder (obviously without using the file upload control). Why I want to select the folder is basically to store its entire path in a database table. ...

How can I get Gmail-like file uploads for my web app?

I want to add gmail-like file upload functionality for one of my projects. Can anybody help me with this? My application is built in vb.net. I would appreciate any kind of help or guidance. Thanks Mithil Deshmukh ...

How do you restrict the size of a file being uploaded with JavaScript (or Java) without transferring the entire file?

Is there a way to validate on the client side browser whether the size of a file being uploaded from a JSP page is over a set size limit without forcing the user to upload the entire file only to find out it was too large? I would like to stay away from any proprietary controls or techniques like Flash or ActiveX if possible. Thanks! ...

Creating a file progress bar in PHP

Does anyone know of any methods to create a file upload progress bar in PHP? I have often heard that it's impossible. I have one idea, but not sure if it would work: have a normal file upload, but instead submit to an iframe. When this is submitted, store the file information (size and temp location) in the session. At the same time, st...

What is the best client side browser library to upload multiple files over http?

What is the best client side http library to upload multiple files? If it can handle directories that's a huge bonus. I'm looking for something that is open source or free. I'm looking for something like FTP, but that works over http, through the browser. Uploading multiple files through a normal HTML 4.x form is a bit of a hassle when i...

How can I handle HTTP file uploads?

How would I write a Perl CGI script that receives a file via a HTTP post and saves that to the file system? ...

How can I upload more than one file from a single HTML form in IE?

Internet Explorer (from versions 4 to 7, at least) limits the number of files uploaded using a single 'input type="file"' form field to one. What is the best approach to take if I want to upload more than one file in a single HTTP POST request? ...