file-upload

Failure of server APACHE bridge with Weblogic Server

Hi all, I am getting the following error when I am trying to upload the file using IE7: Failure of server APACHE bridge: No Backend Sever available for connections": timed out after 10 seconds or idempotent is set to off I looked at the Weblogic 10 threads info on console and everything seems ok (no deadlocks etc) Has anyone had this...

ASP.NET: FileUpload control failing with long filenames

One of our clients is breaking the software in every way imaginable, and he's just discovered this one. If the user tries to upload a file with a very long filename (I think the user is trying with a 180 character filename), the FileUpload control refuses to recognise it on IE7. Click on the Browse button, browse to the file, click on ...

Upload Image to Server using PHP. Store file name in a MYSQL database, with other profile info.

Hi I have read many forums and websites that tell you how to upload an image to a server and I have managed to get this working, I can upload a file to a my server but storing the file name does work on the following example I found and I also need to create a form that allows more data to be entered to the database. I am stuck with this...

Ruby On Rails: ActiveResource and file uploads.

Does anyone have experience with ActiveResource and file uploads? I have an Adobe Air desktop application which communicates with my Rails driven website's web services. I'd like to post files to the server but I'm not entirely sure if I could do this with ActiveResource. Also, I'm having some concerns since I've read somewhere that AR ...

Lightweight echo server

I'm writing a JavaScript application which should let the user to load & save files in his/her PC. To do so, I need a basic server used only to echo loaded and saved files between the client and the server, since JavaScript doesn't have direct access to files. What's the most lightweight solution to this problem? ...

MultiValueDictKeyError Using Appengine SDK and Django for File Upload

Can anyone help me spot my problem here: I'm trying to implement a file upload routine using appengine and django, and I've run into a MultiValueDictKeyError error. It appears that the file is not making it from the webpage to the server. Some part of this is a learning exercise, so I don't want to use a djangoform to process the data ...

Upload File Directly to S3 with Progress Bar

Relating to this question, http://stackoverflow.com/questions/117810/upload-files-directly-to-amazon-s3-from-asp-net-application, is there any way to do this and have a progress bar? ---- EDIT ---- Two days later and still no luck with a direct way. Found one thing that looks promising but not free: http://www.flajaxian.com/ Uses fla...

AjaxUploader.dll works with Anonymous authentication, fails with Integrated Windows

Administering an IIS6 host for client who is new to an Ajax Upload tool obtained from here: http://ajaxuploader.com/ http://cutesoft.net When Integrated Windows Authentication is enabled, a single file upload works fine, multi-file upload attempts don't appear to progress (but don't log any errors, that I've found yet..?). Modifying Au...

How can I determine a file's true extension/type programatically?

Hey everyone, I am working on a script that will process user uploads to the server, and as an added layer of security I'd like to know: Is there a way to detect a file's true extension/file type, and ensure that it is not another file type masked with a different extension? Is there a byte stamp or some unique identifier for each typ...

Image Upload Service - Image locations and Image Identifiers

I would like to create a image uploading service (yes, i am aware of imageshack, photobucket, flickr...etc) :) I have seen only imageshack show the directory names ("img294", "1646") of where the image is located, in the same way - i would like to do this. http://img294.imageshack.us/img294/1646/jquery**kd5**.jpg 1) Are there any sec...

What is the Perl equivalent for PHP's $_FILES for file uploads?

What is the Perl equivalent of PHP's $_FILES? I've got some software that sends log files to a web server and I need to retrieve them using Perl instead of PHP. I'm using CGI.pm. Here's the code in PHP: <? foreach ($_FILES as $key=>$value) { $uploaded_file = $_FILES[$key]['tmp_name']; } ?> ...

PHP File Validation using If statements uploads.

Hi I am quite new to php but i have been following some tutorials but they don't seem to work so I have tried to adapt them. I have tested this code and it works to a point but theres something else I can't get my head around, the php file is not uploading (fine) but the details are still being writen to the datbase although the $ok is...

Where does an uploaded file in ASP.Net 2 go?

I'm building a portal that will allow users to upload files. I need to make sure that these files do not contain viruses. My ideal solution would be to have the host OS AV keep a watch on temporary folders and scan any incoming files. When a file is uploaded in ASP.Net 2, does it get written to disk in a temp folder, or is it persiste...

Avoiding upload of files larger than 10mb

Is there any way (probably a module) that can make IIS7 rejects a post with a file larger than 10mb? My ASP.NET application has an upload page, and the file cannot be larger than 10mb, I believe that I can check the size of the file only after everything was already sent to the server. An IIS7 module would be the right choice for this,...

How can I get the size of a POST request in javascript?

Is there any way to get the size of a POST request in javascript? I want to check the size of a file before uploading it via a c# handler so I can tell the user to upload a smaller file. Thanks in advance. ...

Is there any way to determine if a connection has been broken when using YAHOO.util.Connect.asyncRequest?

I connect to a .NET handler to upload an image using YAHOO.util.Connect.asyncRequest. The handler then throws an exception because the file is too big. When the exception is thrown, the request connection is immediately cut meaning that the javascript callback for asyncRequest is not called and the user is not notified that the image u...

jQuery - receiving the $_FILES array using $.post

Hello all. I am attempting to submit a form via jQuery. My form contains fields and a file that must be uploaded. It is of type ENCTYPE="multipart/form-data". I can receive all my field values using: post = $('#myForm').serialize(); But how do I receive the $_FILES array? I need this to process the uploaded file. Is this possible usin...

.NET Http file upload intermittent problems

We have had problems for the past year whereby when users upload files to the server very few files will just not upload via a simple HTTP form. These files have been of varying sizes and types but for some reason they will not upload. Often ZIPing them up will help resolve the problem but ideally the user should not have to do this an...

HTTP large file transfer

It is necessary to transmit large file using web browser interface. Standard <input type=”file”> or <asp:FileUpload> do not provide enough feedback for the user of the application. What are the realistic ways to improve feedback such as progress bar, animation, etc? Target users are users with IE, Firefox and Safari browsers. All I know ...

Is there a function in Zend Framework to handle file uploads?

Zend Framework makes development a lot easier; for instance there is a getPost function from the Zend_Http that handles POST parameters. Is there anything similar to handle file uploads? I can access $_FILES directly, but I would rather use a built in function to keep things consistent. ...