file-upload

ASP.Net: Writing chunks of file..HTTP File upload with resume..

Please refer to question: http://stackoverflow.com/questions/2062852/resume-in-upload-file-control Now to find a solution for the above question, I want to work on it and develop a user control which can resume a HTTP File Upload process. For this, I'm going to create a temporary file on server until the upload is complete. Once the up...

Upload file to WCF service problem

Hi, I have a problem that googling couldn't solve it. I have a REST WCF service that will be called from a form like this and upload a very small plain text file: <form action="http://www.server.com/myService.svc/Upload" encType="multipart/form-data" method="POST"> SERIALID <input type="text" size="20" name="SERIALID" value=""><br...

cs-cart like upload images

Hi i am looking for a solution for uploading images like cs-cart does in the products. Does anyone have a suggestion ...

import from file in javasript

I have a html/javascript table/grid that I need to import data from a file, this is not possible without serverside. So I decides to have a FileEcho server that takes a file upload from the table/grid, the problem is I don't want to refresh the page afterwards, it's a multipart request, not an ajax request. Is it possible to up the fil...

GWT Alternate Button to FileUpload

Hello, Im writing some java code and im hitting a wall, with FileUpload, i am trying to get a alternate button to activate the filebrowser from the FileUpload. I tried to dispatch the event from one to another, tried to extend FileUpload to have a button that triggers some action but no luck. Fileupload upload = new FileUpload(); Butt...

Import OPML subscriptions (file) to Google Reader manually

I have a huge (5,000+ feeds) OPML file which freezes and crashes my browser when I try uploading it to my Google Reader account using the following instructions: Login to Google Reader Click Your Subscription Click the More Actions dropdown Select Import Browse for your OPML file Click Open Click Upload You will see ...

file import security issue

i have one question when we give option to web user to import data into mysql table, is this secure? for example <form method="post" action="import.php" enctype="multipart/form-data"> <input id="file1" name="file1" type="file"> <input type="submit" name="button" id="button" value="Submit" > </form> and in import.php ...

Multiple file upload. cloneNode of input fields with IE.

Hello, I want a form uploads some files to the server but I want it is transparent for user. I have a input tag outside the form which is cloned to the form with cloneNode() [Javascript] every time the user changes its value. The name of the input tag is "files[]". Mozilla Firefox clones the input correctly but IE doesn't copy its value ...

How to get form element's value while uploading file with MethodForm.Post ASP.NET MVC ?

<%using (Html.BeginForm("Upload", "Photos", new { id = Model.Gallery.GalleryID }, FormMethod.Post, new { @enctype = "multipart/form-data" })) {%> <p> <span class="bold block">Photo 1:</span> <input type="file" name="File1" class="block" /> <span class="bold block">File Name:</span> ...

Icefaces: Bulk File upload?

Hi Folks, I have a question regarding bulk uploading with icefaces. Currently I can upload one file at a time, ice:inputFile, but from a user point of view this isn't of much use. Is it possible to upload multiple files at one time? Over just upload all files in a given directory? Thanks for your help! ...

How to upload file with jsf?

One serious restriction is that I can't use Tomahawk or RichFaces or anything else. ...

picture is not refreshing in my browser

I am trying to upload a new picture in my webpage, but in the browser it is showing the old picture. When i check in the folder new image is being saved but it is not showing in the page. I tried to refresh but it is not helping me, shut down the browser still the same, tested in different browser still old image, Need help what can i do...

Uploading files in RESTful way?

I'm designing a RESTful API that should handle binary file uploads. Should this be done the same way as html form upload or is there a better way? ...

symfony setPostValidator with sfValidatorFile

I am going through an issue to setup a file upload validator on callback. I want to achieve this: I have a form, where user choose the type of the file they are uploading and upload the file. So I want to set the validator to handle images in case they chose "img" as type, and pdf if they chose "pdf". Moreover I want to specify the mi...

Getting Apache to close connection after a certain size limit

I have a CGI script I'm writing that's handling a streaming file upload. I'm also using Apache. If a certain size limit is reached, I have the CGI script finish things up, then it sends an HTTP redirect and exit. What I'd like to have happen at this point is for Apache to close the connection. Instead, what Apache does is keep the co...

Can't get HttpPostedFileBase to bind correctly in Asp.Net MVC 1.0

I can't have asp.net mvc 1.0 to bind HttpPostedFileBase for me. this is my EditModel class. public class PageFileEditModel { public HttpPostedFileBase File { get; set; } public string Category { get; set; } } and this is my edit method header. [AcceptVerbs(HttpVerbs.Post)] public ActionResult Edit(int id, FormCollection f...

Gears File Drag & Drop: getDragData doesnt refresh

Hello all, I've been implementing a Gears-powered fileupload mechanism for our app. It works great except for one small bug. When I drag files onto the window, the function call desktop.getDragData() properly gives me the list of files dragged over the first time. However, subsequent drops with calls to this function give me the origi...

Loading .bmp and .tiff file in Flash 10 using loader

Hi, I am developing a Image uploader using Flash 10. I am using Filereference object to browse images and Loader to show the image: Sample code: var tempFileRef:FileReference = FileReference(ev.target); var oLoader:Loader = new Loader(); oLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImageLoad); oLoader.contentLoaderInfo...

loadMap utility

Hi, I am not able to run below command java LoadMap operations welcome 172.18.85.101:1521:vis D:\OraHome1\XGM\AR_INV_MAP_1.xgm it is giving error: Exception in thread "main" java.lang.NoClassDefFoundError: LoadMap can you plz tell that what mistake I am doing or where at EBS server file will store?? Regards, Vishal ...

FileUpload Doesn't Work When Nested In UpdatePanel? C#

<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:FileUpload onchange="clickTheButton();" ID="FileUpload1" runat="server" /> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="Button1" /> </...