file-upload

Htaccess and uploads

.htaccess files are not my strong point. I have document uploads going to /uploads. The user should be able to view the documents they've just uploaded by clicking on the document link that appears via ajax after uploading is completed. However, I would like to be able to password protect the /uploads folder BUT still enable the curre...

Help with file upload in Java/J2EE

I need to upload a file using Apache fileupload with ProgressListener but alongwith that I also need to show the progressbar for the upload status. Actual requirement is I just need to parse a local XML file parse the xml into appropriate objects and put them in Database. Do I really need to upload the file to server to get it parsed. A...

Getting the original files create date upon upload.

We have a process in place that uploads files to our website. It has become important to the users to be able to see when those files were created. I'm looking for a way to extract the original create date from the HttpPostedFile. If anyone has an idea for me I'd really appreciate it (I'm a bit stumped at this point). ...

Allow logout while multiple large files are uploaded

I have been asked to implement a file upload program. The program is a Java Web Start application responsible for uploading the contents of a CD to a web application. There are two requirements here: The uploader should operate in the background with minimal interaction (No rich GUI). Users may not want to watch the file being upload...

asp .net mvc and castle mono rail about upload multiple files

Hello, im trying to upload multiple files using castle mono rail with framework 2.0 I did my controller for that but just for 1 file. When i try to re write for multiple files using the Request.Files i have problems. Asp .Net mvc can work with that but castle don't :( I'm trying to use something like HttpFileCollection hfc = Request.Fi...

Google Gears drag and drop upload

I recently watched the google wave video from google i/o where they said you can drag and drop files from windows explorer to the browser and upload them using gears. Can someone point me in the right direction to do this myself? I've browsed around the gears api page on google code and can't really find any examples that even come close...

Nested Form Problem in ASP.NET.

I want to show a pop-up on click of a button. The pop-up should have a file upload control. I need to implement upload functionality. The base page has nested forms. Totally three forms nested inside. If I comment the two forms then I can able to get the posted file from Request Object. But I was not suppose to comment the other two for...

Securing File Upload Dialog

Hi, I'm working on a project in C# on Windows XP where we have to capture a file dialog which allows users to select mulitple files (such as shown here: http://www.uploadify.com/demo/). Is it possible somehow to restrict access to local drives, such as C:, etc...? So the list of available drives would only contain drives that aren't e...

file size upload limitation in ASP.NET MVC: more than 1 maxRequestLength setting in web.config(s)

I'd like to have more than 1 setting for maxRequestLength - file size upload limitation (e.g. one for File/New, other for Picture/New). All of my Actions take additional parameters (e.g. /File/New?folderId=234). Single setting works as expected: <httpRuntime executionTimeout="60" maxRequestLength="1024" /> I tried to have 2 settings ...

Python 2.6 - Upload zip file - Poster 0.4

Hi Folks, I came here via this question: http://stackoverflow.com/questions/68477/send-file-using-post-from-a-python-script And by and large it's what I need, plus some additional. Besides the zipfile som additional information is needed and the POST_DATA looks something like this: POSTDATA =-----------------------------293432744627...

multiple file upload in just single browse click without jquery

how to create control in web application that allows multiple file selection in single button click similar to control opefiledialog in windows application ...

Error when trying to upload file in PHP

I am php page everything was working fine till today morning. Now the page is not uploading any selected file. All that I keep getting is the following error message: Warning: move_uploaded_file(upload/BrainStream_2009_06_25_23041.zip) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\...

Can someone recommend me a good image upload script.

Hi everyone, I'm looking for one of those fancy upload scripts you see on some sites that upload the file the moment you select it on your hard disk, and optionally allows you to crop to a portion of the original image. We use PHP and Prototype (so preferable no jQuery plugins... even though we should probably switch). We currently ha...

How can I import load a .sql or .csv file into sqlite?

I need to dump a .sql or .csv file into sqlite (I'm using sqlite3 API). I've only found documentation for importing/loading tables, not entire databases. Right now, when I type sqlite3prompt> .import FILENAME TABLE I get a syntax error, since it's expecting a table and not an entire DB. ...

How can I reliably determine uploaded file name in a Perl CGI script?

The filename passed from an upload form to a Perl CGI (using CGI.pm) script depends on the client machine and may contain client-dependent path separators. Is there a reliable way of parsing the passed parameter to determine the filename (usually the last sub-string following the last path separator). ...

Any FileUpload replacement to work side by side with ICEfaces and Spring Web Flow?

FileUpload control from ICEfaces conflicts with Spring Web Flow 2.0. If anyone knows another FileUpload JSF control that work OK with Spring Web Flow and doesn't conflict with ICEfaces? ...

Can I drag files from the desktop to a drop area in Firefox 3.5 and initiate an upload?

I've set a ondrop event on my drop area and it receives an event when I drag an image from my desktop to the drop area. However, according to the Recommended_Drag_Types document: https://developer.mozilla.org/en/DragDrop/Recommended_Drag_Types A local file is dragged using the application/x-moz-file type with a data value that is a...

Best practice for uploading and image file with Django Forms (Django 1.0)

Hi friends, could you please help me to get image upload working on a view with django forms Models.py class User_Profile(models.Model): user = models.OneToOneField(User, unique=True, related_name='profile') photo = models.ImageField(upload_to = 'profiles/', null=True, blank=True) Forms.py class ProfileForm(forms.ModelForm): ...

Is it possible to know if the type of the uploaded file is an image?

While user uploading a file, is it possible to know if the uploaded file is an image or not, I am open for any solution, Client Side, Server Side or both and we choose based on the case. ...

Suggestions for uploading very large (> 1GB) files

I know that such type of questions exist in SF but they are very specific, I need a generic suggestion. I need a feature for uploading user files which could be of size more that 1 GB. This feature will be an add-on to the existing file-upload feature present in the application which caters to smaller files. Now, here are some of the opt...