file-upload

Flash file upload vs php file upload - which one to choose?

Hi I was trying to upload a photo on facebook using a browser with no flash, and could see that it didn't work. I am pretty confident in handling files and related issues using Php and have done some sites allowing users to upload and manage files (images, docs etc). But I never thought about the above flash approach. I googled a bit ...

File upload only pictures

I am using the fileupload control in asp.net. I want the browser to only show pictures. I am currently using validation to ensure they only select images but how can I make the browser only search for images? ...

ASP.NET Uploaded File

Hi, I have an ASP.NET web application that uses jQuery on client side. On one of the web forms I have a bunch of controls to fill, and an upload control. User can run upload while filling other entries on the form. When user saves the form, all data including file is stored into database . The question is what to do with uploaded file wh...

Trouble uploading a file in php.-

Well I'm having some really weird trouble, this is what happens: This is the environment: I have a modal panel that has to be able to hold several "steps", first you have to upload a file, then the file is processed and from this processing result, I have to generate some html to fill the next step. This is what I do: I'm uploading a ...

Which free third-party services can I use to enable user content uploads (images/documents) to a web app?

I'm looking for a workaround to allow user content uploads to a web app that does not permit it natively because of restrictive file limits with my hosting provider (it's all I can afford right now). I need a free third-party web service for: Image uploads Document uploads What I'm thinking is to use Flickr for image uploads and the...

FileUpload asp.net

I want to force my user to only search in a particular folder when using the fileupload control. Is that possible? ...

Open source file upload with no timeout on IIS6 with ASP, ASP.NET 2.0 or PHP5

I'm after a cross-platform cross-browser way of uploading files such that there is no timeout. Uploads aren't necessarily huge -- some just take a long time to upload because of the uploader's slow connection -- but the server times out anyway. I hear that there are methods to upload files in chunks so that somehow the server decides no...

fileupload.postedfile.filename not working with firefox

Hi is there any problem with fire fox? I'm not able to get the file name using fileupload.postedfile.filename in firefox. But the same thing working find in ie. What is the problem? Regards, Nagu ...

Problem validating asp:UploadFile file names with RegularExpressionValidator

I have in the settings file a row of all the file types I want to allow: jpeg|jpg|tiff|tif|png|gif|bmp|eps|wmf|emf|pdf|doc|docx|zip|rar|ppt|pptx|mdb|xls I want to have next to the FileUpload control a RegularExpressionValidator that allows only these files. I am handling it in the PageLoad event setting the ValidationExpression prope...

Custom thumbnails for file types with Paperclip

I'm using Paperclip with a Ruby on Rails to attach assets to a model, these assets can be any file type and currently thumbnails are only being generated if the asset is an image. I'd like to be able to display a different default image for other files, either by generating a thumbnail of the files on upload, or setting something up wit...

Servlets: where to store uploaded files?

In the PHP world it's common to create a directory called 'uploads' or something similar in the application folder. All uploaded files are then stored there, the database containing the relative paths to those files. In the Java/servlet world however, I'm not sure what the common way to handle uploaded files is. Getting the path to a d...

Grab File Upload ASP Object Textbox Text with jQuery

I have a webform that has an ASP file upload object and I want to use jQuery to grab the file they have selected and upload the file via AJAX. However I am having problems grabbing the file name after it's been selected. Here is the HTML/ASP Code: <asp:FileUpload runat="server" ID="NewPic" /> <asp:RequiredFieldValidator ID="Requir...

Uploading and updating problem

I am working on Asp.net and I have a Gridview with 3 columns: name, class, img. In EditTemplate and footertemplate I had a fileuploader so that anybody can update or save their images and data. The data name, image and class is updating and saving correctly but I have problems with the images that are not been displayed in the image ...

Multiple File Selection For Uploading in ASP.NET

Hi Friends, There are several resources available on net to upload multiple files, but using multiple FileUpload controls. What I need to have multiple file selection dialog box so that user can select multiple files at one shot and then all files should be uploaded on one click. Anyone of you have any idea? Thanks in advance. ...

ASP.NET Problem with upload on production server but not in dev

Hi everyone, maybe a simple question but I really don't know what to do. When I submit a file through a form using , it works perfectly on my dev machine. When I try the same thing on the server, it gives me the error below. The error doesn't help me at all because I don't even have this function in my code (CaptureCollection) and I d...

Request.File.Count is still set to 1 when File Upload in ASP.Net MVC encountered a previous error

Hi there, I'm developing a form in ASP.Net MVC where it contains an <input type="file" /> which is not mandatory in a form. In my controller, I have this code: [AcceptVerbs(HttpVerbs.Post)] [ValidateInput(false)] public ActionResult Create(FormCollection collection) { ... //get uploaded file if (Request.Files....

HTTP vs FTP upload

I am building a large website where members will be allowed to upload content (images, videos) up to 20MB of size (maybe a little less like 15MB, we haven't settled on a final upload limit yet but it will be somewhere between 10-25MB). My question is, should I go with HTTP or FTP upload in this case. Bear in mind that 80-90% of uploads ...

Testing authenticated file uploads in merb

This is something that has been driving me mad over the past few days. I have an action which allows authenticated users to upload assets to the site. I know that the controller action is correct as I can run through the process manually however I want to test it using rspec. I have to use the request helper so I can reuse an authentica...

File upload problem with cakePHP

Hi all! I'm trying to upload a file with cakePHP. This is the view: echo $form->create(null, array('action' => 'upload', 'type' => 'file')); echo $form->file('img'); echo $form->submit('Enviar Imagem'); echo $form->end(); And this is the error I'm getting: Warning (2): Invalid argument supplied for foreach() [CORE/cake/dispatcher....

ASP.NET FileUpload failure

Trying to upload a large file (20MB), I set the maxRequestLength to a high enough level (and the expiration time too) in the httpRuntime entry of web.config. The Event Log stopped reporting that the post size exceeds allowed limits, but I still get the same behavior in the browser (IE or FF): "The connection to the server was reset while...