file-upload

File upload via hidden iFrame - form nesting problem

Hello, I assume this one is rather a JavaScript/jQuery/DOM question than a Rails question, but it's all due to the way I implemented it in Rails. I am trying to upload files while creating a new object (auction). While the user inputs some data, he shall also have the possibility to upload multiple photos. The main problem is, that th...

Preventing upload of large files in ASP.NET 4.0

We'd like to restrict the maximum upload file size in our web site. We've already set the appropriate limits in our web.config. The problem we're encountering is if a really large file (1 GB, for example) is uploaded, the entire file is uploaded before a server-side error is generated, and the type of the error is different whether the...

Can we use Uploadify simply for progressive enhancement on file upload inputs?

When I do file inputs, I usually set their opacity to 0 and position a browse button beneath them (simply because the file inputs are kind of ugly and inflexible by themselves - and I must to meet the designer's requirements). I just stumbled across Uploadify. My form is working at the moment as a standard form with file input uploads....

How to set the maxAllowedContentLength to 500MB while running on IIS7?

I changed the maxAllowedContentLength to <security> <requestFiltering> <requestLimits maxAllowedContentLength="5024000000" /> </requestFiltering> </security> In my web.config, but when running on IIS7 I get this error: The 'maxAllowedContentLength' attribute is invalid. Not a valid unsigned integer but when I ...

PHP upload file with resume functionality

Hi I have a question, I want to do an upload script that can take rather big files 500MB, 1GB and upload it with resume functionality. Is this possible with just PHP or is there other solution like Java Applet, Flash and which one would be best for this case? ...

Rails: How can I edit text files stored on Amazon S3?

I'm using paperclip to upload some text/csv files to an S3 bucket. I need to edit those files occasionally. How can I edit and re-save those? Before using S3, I was just using File.open for saving the files, but that throws a "No such file or directory" error now. ...

mvc 2 upload with vb.net

I didn't find any answer on web with vb.net (I find millions of samples with c#) I translated a sample controller to vb.net but doesn't upload My ResimController.vb <AcceptVerbs(HttpVerbs.Post)> Public Function Anasayfa(ByVal forms As FormCollection) As ActionResult Dim errors As Boolean = False If String.IsNullOrEmpty(forms(...

is it possible to drag and drop photos from desktop to Flex Web app to upload them?

I use Flex 4 wish I can let users drag/drop photos from their computer to the web app to upload them automatically. ...

Image Upload preview not working Chrome

This is code only Compatibility IE, FF but not working chrome and safari. please suggest me a way for that. <h3>Choose an image:</h3> <input type='file' onchange="document.images[0].src=getPath(this);" /> <h3>preview</h3> <img src="#" alt="your image" /> <script type='text/javascript'> function getPath...

Drag and Drop file transfer in WPF. How to get file name of the dropped content in a window.

I'm creating a local file transfer app. I would like the user to drag-drop an item into the file transfer application to initiate the file transfer just like skype or other messengers. While dropping an item. The drop event was triggered. But, I don't know where to get the details of the item such as Location, Size etc., eg., If I drop ...

how to post form details including the url of a file uploaded to a csv file with php

Hi, Please could someone help with the following: Using PHP I want to be able to post the details entered into a form to a csv file. This is quite straight forward on its own, however one of the fields in the form needs to upload a file, so the csv file needs to contain a link to where the file is saved. Thanks ...

Using plupload control with .NET

I downloaded the source project from the website, using as is, except I changed the target file from upload.php to upload.aspx, which contains the following code to receive the file data: int chunk = Request.QueryString["chunk"] != null ? int.Parse(Request.QueryString["chunk"]) : 0; string fileName = Path.GetFileName(Req...

Upload doesn't work right when the file is too big

I have a PHP app where I can upload files. When I upload most files and do a print_r($_FILES), I get something like this: Array ( [import] => Array ( [name] => Array ( [excel_file] => COD MKTG 2.csv ) [type] => Array ( ...

How To: Upload text file and use with PHP script

Is it possible to achieve the following: Allow a user to upload a text file via HTML form (.txt) Use the contents of that file in a PHP script to temporarily access the information Delete any traces of the temporary file after the script has processed? Think of it as uploading a word document via html form, have a php script as basic...

Does FastCGI or Apache2 limit upload sizes?

I'm having a problem with file uploading. I'm using FastCGI on Apache2 (unix) to run a WSGI-compliant application. File uploads, in the form of images, are begin saved in a MySQL database. However, larger images are being truncated at 65535 bytes. As far as I can tell, nothing should be limiting the size of the files and I'm not sure whi...

How to upload BitmapData in flex 4 to server with preloader?

Hy, Im creating a upload component that do these things: select multiple images convert to BitmapData resize if is too large create a thumb(itemRenderer) and add it to a list And the problem is how to upload them with a preloader for each image when a button is pressed. Anybody know how to do it? thanks ;) ...

How to upload a file from the front end (view) in an iphone app?

Hi, In my iphone app, It is a requirement that I enable the user to upload the database file (.sql) from the front end of the app or through iTunes and the app should display the data based on the file he/she uploaded. How should I go ahead with implementation? Please give your suggestions. Please Help. Thanks!! ...

How to assign Text to A file upload control on an aspx page?

My file upload control is in page for editing records so i want to retrieve the path stored in database and assign it file upload control. i have written select query to get data but i do not know how to display the stored file path in file upload control. ...

Upload Picture to a SQL Server database using MVC

Hi guys, I was looking to upload an image (jpg) to a SQL Server database using MVC. Basically - my user would be able to navigate to a page, Browse their computer using a file upload textbox/browse button, and click submit to have the file uploaded to the database. Fairly new to MVC and not quite sure how to go about this. There's ...

File upload issue MVC - assembly reference

I'm trying to put together a page whereby a user can upload a file, and it goes to a database. I'm following a tutorial, and my controller method so far looks like this: public ActionResult Index() { ViewData["Message"] = "File Upload"; foreach (string upload in Request.Files) { if (!Request.Files[upload].HasFile()...