file-upload

debugging while uploading large file in ASP.NET

I've checked many threads about this but I'm not sure how to fix this: When I try to upload a 33 mb file while debuggin, control directly falls into application_endrequest even when I've a breakpoint set to first line in application_beginrequest in my global.asax.cs. I can see the page in non-postback case. My maxRequestEntityAllowed i...

PHP Upload File Validation

Hello All, Hope you're having great day/night. I'm creating file upload script and I'm looking for the best techniques and practices to validate uploaded files. Allowed extensions are: $allowed_extensions = array('gif','jpg','png','swf','doc','docx','pdf','zip','rar','rtf','psd'); Here's the list of what I'm doing. Checking file ...

How to make a secure php image uploader?

I am making a PHP image uploader using the Zend Framework which will upload images to a public directory for people to be able to freely access. I have so far implemented these measures for security: - File size validation - Extension validation - MimeType validation - Upon successful validation file is renamed with a image extension in...

RichFaces upload file with drag&drop?

Dear All, Could we have a way to integrate richfaces upload file with html5 drag & drop? Thanks, Huy ...

Request.InputStream returns empty stream in Firefox 3.5.11

My ASP.net application allows users to upload files via AJAX. Generic Handler (.ashx) handles uploaded files. Up to now one user got error while uploading. User told that his browser is Firefox 3.5.11. I also setup that version and tested the system. I realized that context.Request.InputStream returns empty stream. I couldnt find an...

jQuery Uploadify Advanced File Validation Question

After long time of searching the best upload technique I've decided to go with jQuery Uploadify. I got no problem implementing it into existing code, excluding one thing. I created strict upload validation rules. The main problem is that onAllComplete() function returns success message. In my validation file I tried to use echo 'errror...

How to retrieve uploaded files from (Java) GAE datastore?

Hi guys, first of all, sorry I'm a GAE noob so there are lots of things that I need specific answers. My problem is that I have successfully created a servlet that allows the app users to upload their files. Basically, I created an entity with a Blob attribute to store the file's contents. The uploaded file is made persistent in the data...

Questions regarding the command: “net use * http://myserver.com”

Apparently I'm able to net use * http://servername.com and this concept is completely new to me. Does this mean I'm using WebDAV? What are the security implications? How can I read/write files in this manner? Why doesn't it work for every website? Is it possible to write files using this method? ...

How should I make a Javascript and Ruby based order form that sends info and uploaded images to an email address?

I am planning on making an order form that has text fields (to gather submitted text based information like names, emails, messages) link fields (to gather submitted links) upload buttons (to gather images from a user's hard drive) I assume I will be using Javascript and Ruby for this but I have a few questions. how would I activa...

Strange problem while uploading large files

I am having a strange problem while uploading large files in PHP. In php.ini, max_execution_time is set to 30, post_max_size is set to 32M, upload_max_filesize is set to 32M. When I tried to upload a file of size 40.2 MB, it don't show any error. The $_FILES variable has the value array(0) { } and $_FILES['userfile'] shows NULL. If the...

Codeigniter - How to make a file upload field non mandatory?

Hi, I have a form which has 5 file input fields, all works fine with my CRUD methods if the file field is not empty, however the client now wants to set some of the fields to be non mandatory. This is how I am trying to do it in my code, the problem I am encountering is declaring a null variable(to insert a blank value in the respectiv...

Transfering site from demo server to live server

Hi guys, mostly i come across a situation where i have to move files between two servers. I usually test my project live in one testing server online and client checks the websties functionality and all. After completing all the task i again have to transfer the contents of the testing server to the live server along with data too... S...

select multiple files to upload in ASP.NET (preferably without flash)

Hi, is there a solution that allows to select multiple files from the file open dialog box and upload them from ASP.NET web page? I have gone through previous posts related to this, but wondering if it is possible to select multiple files for upload without using the technologies like flash or silverlight? thanks in advance. UPDATE: to ...

Upload File via Excel AddOn

Hi, I need to develop a Add on for Excel (2003 and greater), it must upload the excel file when click the Save Button (with the event Application_DocumentBeforeSave). My question is how can I do that? I try with Net.WebClient UploadFile and runs OK on WinXP but doesnt work on Windows Vista and Windows 7, may be the UAC or some securi...

PHP form not uploading file

I have a PHP form that is inserting information into a database. It all works except for the file upload. The filename needs to get placed inside the "image" column in the database table and the file needs to be put in the directory as well. Funny thing is that this uploader was working yesterday. :-S Please can someone just review m...

uploading files in ASP.NET MVC

When I select a file and submit the file for upload, I can't get the value of the File path in my Model. In the Controller it shows as null. What am I doing wrong? View <form method="post" action="/Account/Profile" enctype="multipart/form-data"> <label>Load photo: </label> <input type="file" name="filePath" id="file" /> <in...

ASP.NET Uploading files in the background (BITS/AJAX?)

I have a webpage where users can create a database record and select a file they want to upload to the database server. these files can be big, like 100mb. I dont want the user to wait, so I want the file to be uploaded in the background. So that they can continue with doing other stuff while the file is being uploaded. Is BITS the way...

Permissions in a MAMP development enviroment

Hello I use MAMP as my local development environment. A persistent problem I have is reliably setting folder/file permissions. For example, I currently have an images folder I need 666 permissions on. In the more info menu in the mac finder my permissions are read & write. However in the Dreamweaver permissions dialog the same folder ...

FileUpload in FormView inside an UpdatePanel

Hey Guys! The Scenario: I have an ASP.Net webpage which I intend to use for letting the user(not the real users, but content manager basically) insert and edit the records in a table using a FormView. This FormView is inside an UpdatePanel, as I'm also using cascading dropdownlists to let the user select some values. Now, this FormVi...

File Upload Large Files PHP/AJAX

Hi There, Im trying to find some software to help me upload really large files (>200mb). I only want to upload a single file, no multi-options. Also i would like a simple progress bar if possible. I have come across http://pixeline.be/experiments/jqUploader/ which is literally what i need but it has a limit of 100mb per file, because i...