Multiple File Uploads
Can someone help me out in multiple file uploads.
I want the user to select multiple files. On selecting the listed files, he can
click on open and all the selected files should appear in a textbox. On clicking a
button upload, all the listed files should upload.
View Replies
ADVERTISEMENT
Just reading from a previous thread about multiple uploads.
I wanted to use script to create multiple input file elements that put the path in as a default (or something like that) based on ASP code. My problem was that the input file value property is readonly and there is no default value.
The thing is you can cut and paste a path manually (ctrl-c,v) but I couldn't work out how to do it from code. I thought that anything that you could do manually you could pretty much do with code.
View Replies
View Related
After a lot of head scratching, I've put together something I hope will be useful to others. Basically it allows multiple image uploads while limiting the type, size and dimensions of the images before doing the upload.
It uses three of Lewis Moten's classes: clsUpload.asp, clsImage, clsField.
My code (processupload.asp) is a bit lengthy, but it works together with his to allow multiple uploads while checking dimensions. (hopefully someone can cut it down) It can be downloaded here: http://www.activeice.co.za/brett/image_uploads.zip (I have included the class files for convenience)
View Replies
View Related
I've got a form that allows someone to upload a file. I need to know how I can grab the filename from the uploaded file information so that I can store it in a database. I also need to be able to move the uploaded file to a specific directory.
I'm new to both ASP & VBScript but I have both of their "In a Nutshell" O'Reilly manuals. There's no mention of file uploads in the ASP book and I'm just not sure if the info in the VBScript book is what I need either.
Do I need to create a File object? If so, how can I use GetFile to retrieve the downloaded file? Do I access it via Request.Form("filename")? That should be the actual file, right? But how do I get the actual file name from that?
View Replies
View Related
here is the code for the asp that basically handles the uploads, how could change it so that the uploading form will only allow .doc or .xls files? Code:
View Replies
View Related
I am building a form page to send information to email using CDONTS and id like to add a page that will use forms and allow users to attach documents such as resumes etc and then populate this data into a database....what would be the best route to begin a system such as this....
View Replies
View Related
I have a site that i upload files to that are no bigger than 100MB. we upload about once a day, and use FTP...... we would like to be able to do it from the site itself.
any idea where i can get a script? i cant register components with my
hosting company i dont think. i go thru godaddy.com
need a good free asp upload script. cant find any that work. Huge ASP Upload
doesnt even work on the demo page, let alone on my own page
View Replies
View Related
I've recently installed an asp component called smartupload, it works very well. The problems start when a mac user uploads a jpg or gif, windows will not open the file.it works fine with a windows user.
View Replies
View Related
I am using the FCK Editor.but i need to be able to upload folders win information in.is there a way of doing this?
View Replies
View Related
I have been tasked with producing a script that times the amount of time it takes to upload a file from client to server.Unfortunately for me, part of the spec is that the script must be written in ASP which is something I have about 30 minutes experience in.
I have been playing around with the script located at this address :
http://www.asp101.com/articles/jacob/scriptupload.asp
Which does almost everything I need, the only thing it doesnt do is tell me how many seconds/milliseconds/widgets it took to upload the file to the server (excluding time to write to disk once received)Can anybody point me in the direction of another script that can give me timings, or at least give me some pointers on how I can hack the above script to give me the data I need (I have already worked out how to get rid of the save to DB and user name option and this is now gone from the display page and the working scripts behind it)
View Replies
View Related
Do you have any experience with MS - Posting Acceptor?! or should I get one of those applets? If you have experience with setting up advanced user uploads please read on …
The ordinary HTML <input type=”file”> don’t allow any other info than the actual file. I have spent a couple of days trying to figure out how to allow my users to upload pictures. What I want to do is simple. I want to make sure that the picture is 1) either a gif or a jpg - and 2) max. size 100 kb.
But I need to handle the check client side (IIS 4) - like when some user decides to upload 2,1 meg file my server receives the whole file - and then inform him its too big =) I would rather check the file size when he browses his own HD.
I have been looking at the MS - Posting Acceptor. This component however is impossible to find on the net (well I tried and failed, so I guess it’s not on the net *cough cough*) You have to have some VB cd-rom it would appear. Code:
View Replies
View Related
i was search on download multiple file at the same time and the answer i got is to zip these files my Question is :Is there sny way to unzip these file on client machine?
View Replies
View Related
I'm trying to make a form that allows the user to select multiple files from their computer, and then INSERTS those file names into an access database using ASP. I also don't want to have a seperate <input = file> tag for each one??? Is this possible?
View Replies
View Related
i trying to do a asp based multiple file upload form. i got an example coding to upload 4 file a once, but when i try to add another textfield and try to upload the 5 file at a time, i got an error message. Code:
View Replies
View Related
I am in need to upload multiple files.I am Using following asp code :
SCompanyCode = Request.QueryString("SCompanyCode")
Set upl = Server.CreateObject("SoftArtisans.FileUp")
upl.Path = Server.Mappath("Clients"&SCompanyCode)
arrFile1 = split(upl.Form("file1"),"")
filename1 = trim(arrFile1(ubound(arrFile1)))
arrFile2 = split(upl.Form("file2"),"")
filename2 = trim(arrFile2(ubound(arrFile2)))
Response.write filename1
Response.write filename2
if upl.Form("file1").TotalBytes > 0 then
upl.SaveAs filename1
end if
if upl.Form("file2").TotalBytes > 0 then
upl.SaveAs filename2
View Replies
View Related
I have an ASP.NET Web application where I want users to specify browse/select multiple files in multiple folders on their local workstations.Upon submitting the form,I want to have server-side code to manipulate the files.This is something like writing an email with attachments via a web form
What is the best way to accomplish this?Are there some examples of how to browse/select files and pass them to the server-side code
View Replies
View Related
i am able to do file download using the response object, where a dialog box will appear,
asking user whether they want to open,save or cancel.
it is possible to download multiple files at once. since it is stated that 1 file download per http request. i am lookinn at
http://www.motobit.com/tips/detpg_m...es-one-request/
where it show multiple file per http request. i don't quite understand it though.
View Replies
View Related
is there any scripts available which can upload multiple files like some available java applets as my server does not support java so i have to use only asp
kindly suggest if there is any available i searched in this forums but just able to file aspsmart upload or aspupload , my server does support installation of dll so i cannot use these i need pure scripts which can help to upload mulitple file with interface.
View Replies
View Related
Is it possible to download multiple files from a site into a single document, which can also be downloaded as a single file? E.g. files
1. a.doc
2. b.pdf
3. c.pdf
output like document.zip etc?
View Replies
View Related
Is there any way to select mutiple files from Client machine's drive for uploading?
View Replies
View Related
I currently need to allow users to download a series of Excel files from the intranet which were generated individually using ASP. Rather than have them click one link at a time to download only one file, I want to find out if it is possible to let them download the whole series of files with one link click.
The users are all on the LAN so bandwidth is not an issue. Furthermore, the total size of all the files is only 100kb.
View Replies
View Related
For some reason, I am having trouble with this. I want to have a select statement, such as -
<%
Select Case Request("service")
Case "s"
<!-- #include file="includes/bottom_nav.inc" -->
Case "p"
<!-- #include file="includes/bottom_nav.inc" -->
Case "a"
<!-- #include file="includes/bottom_nav.inc" -->
End Select
%>
I know that is not the correct syntax for the include files.
View Replies
View Related
I have a standard ASP page that appends to an xml page.
Currently if there is more than one person attempting to append to the same XML file at a time. One user will have the ability to append, and the other user will append nothing.
Is there a way to avoid this from happening? For example. Lets say the user opens up a cached version of the page then append to the actual file. For some reason I remember reading about something like that, but just can't recall.
View Replies
View Related
I am doing a binaryWrite to allow users to download files. The problem
occurs if the file is too big. Some of the files i have are close to
100 megs. I read on msdn that if the data is greater than 4MB it is
advisable to break it up into multiple chunks Code:
View Replies
View Related
I've got multiple pages on the same server that all have the same drop down
boxes in them. It is a list of all our facilities. Every time there is a
change, I have to change it on every page. They are in the format below. Is
there an easy way to store all that data in a text file so I only have to
update it one place?
<option value="fac 1">fac 1</option>
<option value="fac 2">fac 2</option>
<option value="fac 3">fac 3</option>
View Replies
View Related
Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.
I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.
If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.
View Replies
View Related
I have a search option on my website, which should perform a search on 4 fields, as follows:
tblNews
headline
content
tblDatabank
filename
description
It only needs to return matches which are an exact match of their search criteria. For instance, searching for "I am here" would return a record which contained "I am here", but not just "I" or "I am" etc.
I need to return all these records as part of one recordset preferably, as I want to be able to order them etc., though I imagine you may suggest I use an array somehow to merge two recordets etc., then reorder them?
View Replies
View Related
i hav problem with updating the data. In the asp page i hav displayed records based on search criteria. in display mode im displaying the to be updated field in combo box for each similar contract_no. each contract_no will hav different no of rows and to be updated combo box.
based on the selected value in the combo boxes of different contract_nos i hav to update the combo value with old value. user select multiple combo values at a time I need anybody's help with detailed programming logic.
View Replies
View Related
i'm converting an image file to hexa..then the hexa is saved to a text file..
can any one help me how to read the content text of a text file?...
im doing it this way because i don't want to save hexa in my database, because it makes the database slower to open up.
View Replies
View Related
is there a way, using asp, to find out the width and height of an image file?
View Replies
View Related
I have code that loops through a directory reading files..
now the problem is that files are constantly being uploaded and I only want the file system object to read those that are finished being uploaded.
How can I check the properties of the file to see if it's in middle of being written before i read the file?
View Replies
View Related
i am having a problem in how to create a Open File dialog to enable user to select a image file that will be stored into database. i just want the file path to be stored in database, not the image.
View Replies
View Related
It works if the file in on the server side, how to use the component (DSOleFile) with the file on the client side? Also how can I calculate the width of the file. (Page set up - Landscape or porrait). Code:
View Replies
View Related