file-upload

Help setting up image upload in CK Editor, using jquery config.

I have been trying to set up CKeditor with Perch CMS which requires using jQuery adapter option for initialising the CK Editor. Below is what I have as my configuration options for CK editor and my upload folder is "resources" which is located in my root folder e.g. domain.com/resources Although the upload tab appears under the image b...

Exception in deleting image uploaded to the server in ASP.Net.

In asp.net, we have uploaded a .jpeg file and saved this as bitmap image using following code HttpPostedFile uploadFile; System.IO.Stream stream = uploadFile.InputStream; using (System.Drawing.Image imgSource = System.Drawing.Bitmap.FromStream(stream)) { System.Drawing.Image.GetThumbnailImageAbort myCallback = new System.Draw...

how to manage filenames for gallery?

Hey all together, the procedure: i have a script which uploads images (via hmtl-form and php) for a gallery for something you can sell on the internet. the uploaded files are stored to some temp folder. if the customer pays for posting the object online, a daemon, who crawls the directories, will then get the pictures and scale them t...

Why isn't my php move file script actually moving the file?

I am uploading files to a server using php and while the move_uploaded_file function returns no errors, the file is not in the destination folder. As you can see I am using the exact path from root, and the files being uploaded are lower than the max size. $target = "/data/array1/users/ultimate/public_html/Uploads/2010/"; //Write the...

How do you handle multiple files in a form submission using Apache2::Upload?

I'm writing a small web application using Perl, HTML::Mason and Apache. I've been using Mason's usual <%args> method for receiving 'normal' form parameters, and Apache2::Upload for receiving files. However, I want to write a page that allows a user to upload multiple files, and I'd like to take advantage of HTML5's multiple attribute t...

Multipart File Uploads in ASP.NET, can the data be written to disk rather than read into RAM?

I'm using ASP.NET for file uploads, and I'm hitting a bit of a snag in that data sent by the client as multipart form data is read straight into RAM. Obviously, this means maximum file upload size is limited to the available RAM on the machine, and even then is much smaller as soon as you have multiple simultaneous uploads. Is it possi...

PDF mimetype, is this a bug!?

I'm uploading a pdf via a ASP.NET web form and checking it's MIME. Sometimes the MIME is reported as applicaton/pdf, not application/pdf. Is this a browser bug? Why would application be spelled wrong? ...

Do you know a jQuery plugin for video file upload?

I need a jQuery plugin for uploading video files. it should generate some pictures out of movie as it is uploading ( not after the file uploaded ). Do you know such a plugin? if there is no plugin with this feature, can you suggest me some tutorials or articles about doing such a thing? ...

File upload using Ajax

Hello, can anyone guide me how to upload a file thorugh ajax when users click on Upload, i'm opening a div and users click on submit button, i'm calling an ajaxfile upload : 1) How can i get these values in javascript ? $name = $_FILES['profile']['name']; $temp = $_FILES['profile']['tmpname']; so that i can pass to the ajaxfile...

Upload multiple files / access input id at server site

I am trying to upload a couple of files. The upload itself works well for a single upload but I can't figure out how to access the element name to make sure each upload is assigned to the correct field. HttpPostedFileBase doesn't seem to contain that type of info anymore. public ActionResult Edit(int id, FormCollection collection) { ...

Uploading files to remote server using ASP.Net(VB) 1.1

I have a file uploading and viewing page in ASP.Net 1.1 using VB. Now the page will be visible in intranet as well internet. Here in my case the intranet and internet servers are different. How can i save the uploaded file in the intranet server and view from there subsequently when the activity is done using the internet server? ...

ASP.Net Page for file upload stops processing in middle of log statement

We have a very simple ASP.Net page for uploading a file to our webserver. The page has no controls - a client uses it to automatically send us a file each night. On occasion, the file seems to not get to us, but the client reports that they have sent it. We added some logging statements to the page, and discovered something quite odd....

Ability to choose multiple files in the file browser using the browse button

When I click on the browse button input type='file', I get to choose only one file at a time. Is there any way to choose multiple files? Also is there any way to see the files in thumbnail view? ...

How do I attach file information after saving a file

I'm currently working on a Flash application that needs to save files to Drupal. I already saved the file to the Drupal site with the File service, but I can't get to attach the file to the node with the node.save service (Upload module, not CCK file field). The object that I will transfer with node.save looks like this in AS3 : var no...

Accepting and parsing an uploaded file in a servlet

How do I get the file in a servlet running on Tomcat after using <input type="file"> in the JSP file? ...

Bulk upload and Java servlets

What is the best way to upload a CSV file through a Java servlet on machine A that gets generated on Machine B? ...

How to read only first n bytes from http upload and break it?

I do not want to let user to upload full file. I desire to limit it to first n bytes. I need just file header not a full file and I want to prevent browser from sending all data. For example mp3 file is 1MB long and I want to read just first 1024 bytes of it on server side. Is it possible to save transfer by breaking it at some point? I ...

problem in file upload while using Internet Explorer

I have developed a web application that uploads the file from client machine to server. it works well with Firefox and Apple Safari browser but when i try it with Internet Explorer,it sends only the boundary.I have set EncType as multipart/form-data.i am using servlet to receive the file. But file sent by IE does not received at servlet ...

Upload file to SQL Server from Flex

Hi, from my Flex app I want users to upload a .csv file to SQL server.I thought a possible approach would be: -upload file to the server -quality check the file there -send back the file to flex to sow it in a datagrid I am stuck in the uploading. I have the following code but I am always getting the 2038 i/o error. There is even no...

Upload large files using Ruby

I'm wondering what is the best pattern to allow large files to be uploaded to a server using Ruby. I've found Rails and Large, Large file Uploads: Looking at the alternative but it doesn't give any concrete solutions. I don't want to use Rails since I'm working on a simple upload server that'll run in standalone mode. I'm guessing tha...