upload

Image upload process usability

Hey, this is more of a usability/design approach, rather than "how" question. It is html 5 and web 2.0 age, and I want more than just "select/submit" buttons. My question is regarding blog application: I want to have a nice way to upload and attach images to posts. Right now layout is simple: it has subject and body (for body I have BB...

How to name uploaded files in php to prevent them from being overwritten?

I'm trying to add user submitted articles to my website, (only for admins). With each article comes an option to upload up to 3 images. My database is set up like this Articles id user_id title body date_added last_edited Photos id (auto_increment) article_id First I save the article in the database, then I upload the photo (tempo...

How can I get file size in Perl before processing an upload request?

I want to get file size I'm doing this: my $filename=$query->param("upload_file"); my $filesize = (-s $filename); print "Size: $filesize ";` Yet it is not working. Note that I did not upload the file. I want to check its size before uploading it. So to limit it to max of 1 MB. ...

App-Engine (Java) File Upload

I managged to upload files on app-engine by using the following example http://stackoverflow.com/questions/1513603/how-to-upload-and-store-an-image-with-google-app-engine-java and http://www.mail-archive.com/[email protected]/msg08090.html The problem is, I am sumitting other fields along with file field as list...

jQuery ajax upload with progress bar - no flash

I am looking for a file uploader similar to uploadify with progress bar that doesn't rely on flash, preferably using jQuery - is this possible? ...

What is the best way record monthly user uploads to our web application?

Our web application allows users to upload photos, it uses a PHP script on a LAMP server running on Amazon EC2 to handle image uploads, Amazon S3 to store the files and a MySQL database for recording data about the image (user id, filename, tags etc). I intend to have an image_uploads table in the database with a colum for each month an...

Automatic upload of 10KB file to web service?

I am writing an application, similar to Seti@Home, that allows users to run processing on their home machine, and then upload the result to the central server. However, the final result is maybe a 10K binary file. (Processing to achieve this output is several hours.) What is the simplest reliable automatic method to upload this file to...

Problem when uploading php file

can anybody explain why uploaded php files treated by a server as a text file ? The symptom is when i try to access a php file, the server send me the content of the file. i have edited and put part of content as asked. This is output i see in the browser *** WHAT : Removinng Meta Box in Post using $pageshow thing WHY :*************...

Best way to store user-uploaded files in a webapp

I'm creating a web application (in Django), which needs to allow users to upload files (specifically images, which are later displayed for other users). I'm trying to understand the best way to store these uploaded files. From related questions, I saw some people suggested giving the file a server-generated unqiue id, then creating a DB...

Rails 2.3.2: Accessing Model Specific Data in Another Model

I'm using Rails 2.3.2 and using Paperclip to upload photos. I'm also using a slightly customized subdomain_accounts.rb to set some account-specific variables. My question is this: How can I set the bucket used in Paperclip to be dependent on the current account? Since this looks to be a model attribute set up early on, how can I overri...

How do I upload a large file (~4mb) over https from winforms with a progress bar?

Easy way how to upload a large file from winforms c# to asp.net https (web service or asp.net page), with progress bar? ...

looking to scan documents directly to be uploaded to a webpage

I was hoping to do this from a flash plugin, kind of how flash accesses the microphone or webcam but it doesn't seem possible. Is this going to be possible using Java, or ActiveX, or some other strategy that I haven't looked at yet? The idea is to do it without a client install, or at least something lightweight and browser and platform...

Is it possible to implement any kind of file upload recovery / resumption in a browser?

The project is a servlet to which people can upload files via, at present, HTTP POST. This is accompanied by Web page(s) providing a front-end to trigger the upload. We have more or less complete control over the servlet, and the Web pages, but don't want to impose any restrictions on the client beyond being a reasonably modern browser w...

wordpress user uploads, any solution?

I need to build a solution which will allow registered users of a Wordpress site upload videos to the server and have them moderated before being published on the site. Failing that, I would like to let users upload their file, then the Admins would check the video is appropriate, upload it to youtube, and manually embed it into a post...

Large file uploads from web pages

Hi folks, I code primarily in PHP and Perl. I have a client who is insisting on seeking video submissions (any encoding) from the public via one of their pages rather than letting YouTube do its job. Server in question is a virtual machine and I can adjust ini settings for max post, max upload size etc as needed. My initial thought i...

How can I check the MIME type of an uploaded file using Perl CGI?

I'm trying to get the MIME type of an <input type="file" /> element using Perl, but without actually examining the contents of the file itself, In other words, just using the HTTP headers. I have only been able to get the "multipart/form-type" Content-Type value, but my understanding is that each element will get its own MIME Type? How...

Rails: how does background file upload work?

Uploading a file in a REQUEST/RESPONSE cycle for large files is not a nice experiences for the user, because the application seems to hang during the file upload. Even more critical is that the user can abort the upload, and need to re-start the upload process later. How can I do the upload process in the background? There are some exa...

JSP Javascript upload file

I'm developing an web app with jsp,servlet in server side and javascript in client side. How can a i upload multiple files(images) to the server(and save them to the db)? ...

Can Flash AS3 FileReference access the size of a file on local disk before uploading to PHP?

I want to be able to get the size of a file before uploading it to a PHP script using FileReference. Can I get the file size before detecting bytesTotal during the upload process? ...

Upload a video to youtube with python?

Hi, is it possible to upload a video to youtube using python? Maybe an API or something? ...