I'm using the asyncfileupload control, and have it woking to an extent. I'm able to upload the image to the relevant directory and save it's path to the database.The problem I'm having is that I am unable to upload a 2nd file once the first has completed without refreshing the page.
I am using a Aynchronous file uploader control to upload files.when I click on browse file button it opens a default dialog box. But i want to open it for a folder which is created by me on my system is any way to do this.
With the ajax file uploader, would it be possible to check the size of the image before uploading?Currently, it uploads the file to the server and then lets me know that it's bigger than the limit size.
I'm using vb.net to create a web application that will allow users to upload files to a website. Is there a way for vb.net to handle uploading specific contents of a folder? For example, If the user clicks a browse button to browse to a folder on their local machine, selects a folder, is there a way to get vb.net to automatically upload all files that end in .jpg and .txt?
I am trying to make a web application which copies the existing functionality of a windows forms application using Visual Studio 2003. This windows application takes multiple (I am talking at least 30) text files and joins them together into one text file which can then be feed into a Mainframe system in the correct format. I have written web applications before that uploads images and pdfs but the key thing is it was always only one or two files at a time, so this was easy to do with the HTML fileupload control.
What I want to do is to be able to open a directory on the local computer and either automatically, or give the user the chance to multi select (I dont think this is possible) all of the 30 or so files they wish to upload. Once its been uploaded I can do the processing to join the files and create my new one etc. All the examples I have seen on the web, you have to select the files one by one to add to a list box and then they can all be uploaded but this wont be acceptable to my users...
I want to upload multiple files , so I what I am doing here is, I take collection object of HttpPostedFile and simply when add button click I am adding files into collection and then clicking upload button try to upload all the posted files. but getting exception Cannot access a closed file
Online, I've found many great apps that upload files (images, docs, pdfs, audio, etc.) to a directory on a server. I've also found code that will create a directory with a hard-coded name, something like this:
but I want to create a unique directory for each visitor who uploads files, probably using the email name that the visitor enters in a form field. The visitors are at a hospital Website and are uploading their
success stories after surgery, including their stories in a textarea and up to three images. if this group of files went into a unique folder and that the email name would be easy to identify each person's story.
Is there a way to create a new directory with a unique name for each upload of files?
I need to select multiple files from client and upload them simultaneously -not using several file upload controls -; here are two problems I am deal with:
2- The other problem is controlling the upload, if I use Ajax how can I find out how much did I download yet ( to make a progress bar) I actually found [URL] it is exactly what I need not free.
I am facing a situation wherein i have to ask the user for the files to upload and save them as blob in the database. I have a single file upload control on the page and user can add as many files as he wants. When the user browse the file and click add button then the file gets added at some temporary location on the page and later on when the user has specified all the files to upload then I would like to insert all these files using a single insert query in the database.
I'm using Scott Mitchell's tutorial ASPNET_Data_Tutorial_56_CS for the basic code which uploads one file at a time. I successfully modified the Databasebased AddImage so that it inserts images and form fields into the DB, but I don't understand HttpFileCollection well enough to modify Scott's FileSystemBased AddImage file. Below is the form page for a textbox and three images and the code-behind page is copied below that.
<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="AddImage.aspx.cs" Inherits="FileSystemBased_AddImage" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <h2><a href="Default.aspx">Home</a> :: Upload an Image <span>to the File System</span></h2> <p> <asp:Label ID="lblSuccessStory" runat="server" Text="Success Story:"></asp:Label> <asp:TextBox ID="txtSuccessStory" runat="server" Columns="30" Text="Please tell us your success story" TextMode="MultiLine" Width="200"></asp:TextBox> <asp:RequiredFieldValidator ID="txtSuccessStoryValidator" runat="server" ControlToValidate="txtSuccessStory" Display="Dynamic" ErrorMessage="Please type your success story." SetFocusOnError="True">*</asp:RequiredFieldValidator></p> <p> <asp:Label ID="lblSelect" runat="server" Text="Select up to three images"></asp:Label><br /> <asp:Label ID="lblImage1" runat="server" Text="Image 1"></asp:Label>.................
I creating a page where our clients can view advertising images and then able to download the images in different file formats. So I need the images and the different download types all saved into the same row in the database so that when I go to display them on the page when they select a picture the right download links will be there. So here where my problem comes in, I don't know how to code it so that I can insert mulitiple file paths into the database at once. The images are saved in a table called images. The downloads are saved in a table called Image Downloads.
Here is the code for the page I have it coded to submit the images to the database but not sure how to add the rest. I have got three different sql datasources for each table not sure if that's the way to go.
I have used the asp.net file uploader to upload files to a server, I have got this working fine, but has any one got any examples of then displaying all the uploaded files and folders in a datagrid or something similar and been able to access them?
In a page, I have 4 fileupload controls. The filesize should be under 3mb. When submitting the form, I checked the filesize. If any of the uploaded filesize is higher than 3mb than I warn the user. Hovever, in this case, other successful file uploads are lost. So user would have to reselect intended files. I want all the files to be uploaded when all of them are validated successfully. How can I retain selected files even if there is a validation error?
i am using a file uploader to upload files. Now when i am using this on a mobile emulator with default browser IE it is uploading only those files whose name is less than 6 character. the files with name more than 6 character is not uploading through mobile emulator or mobile phone (PDA). I need this solution very soon.
I have an issue with .NET uploader where initially i cannot open the documents because they appear to be locked for the first few minutes. The error I get is as follows
The process cannot access the file 'f:websitesHelpDeskDocsAssetList120802211009105035.doc' because it is being used by another process.
Now HelpDeskDocs is the folder where all the files are currently in. So I tested by just creating a new folder i.e HelpDeskDocs2 everything worked fine. I compared permissions between both and they are the same now but still getting the issue.
I know about SWFUpload, how can i configure it with ashx on server side.
any tutorial how i can use FLASH objects to transfer files from client to server. i been looking for such tutorial for a while that uses flash object on client side and sends file info using bytes array to the server. also i want to reduce the size of the file on the client side before sending to safe bandwidth.
I have a requirement by my client to be able to upload extremely large files.
I'm talking about 7 GB files. The website they are currently running on is a ASP.NET 4.0 app, so obviously the standard upload scheme for my web app is not going to work.
I'm tossing around multiple options trying to figure out what the best route to go would be.
One option I'm thinking about seeing if I can do would be to have a BitTorrent Uploader. The end users for this app will typically have the same file on hand, so the idea would be that an end user would go to the site, say that they wanted to upload a file. At that point, they would pick the file, and then the server would immediately mark that person as a seed for that file. Then, my web app would go to a preconfigured leech on our side, and instruct the leech to download the file. I would expect at some point during or after this process the torrent would do some magic to find other seeders on the client's network, or wherever, but that's the idea.
Is there any technology out there already that does this? Or am I describing something that I'm going to have to build from the ground up?
i want to upload multiple files through file upload or file control at the same time i want to privew that file and also its size and description, only one click on browse file these above tasks must performed, and i can upload multiple files type like pdf,doc,zip and in last i want to store those all files in database binary or any any other data type which is reliable for storing such data. can any one tel me that how can i do this.
I need a multiple file uploader dialog,that means I can able to select multiple files at a time in file upload window.How can I achieve this task? I gone through Google and I came to know that we can achieve this using silverlight and flash plugins,but these are not recomandable in my application. Is there any open source(i.e free) ActiveX controls for Multi file Uploader? Is it possible to create own ActiveX control to achieve this task.