I have an ASP script which is used to upload files with Persits.Upload.1 object. But I can't get the values from mutliple checkboxes in the form like normally.
I'm putting a website on a different server to what I normally use and I've had to adjust from Persits.Upload to Persits.Jpeg. I'm not sure what I'm doing here? My code works fine on the old server. Code:
I am using a form to upload images with Persits.Upload object. Now my problem is I cant use multiple checkboxes in the form.
In general forms I can use Form("checkboxName").Count to get the number of checkboxes selected and use Form("checkboxName")(i) to retrieve the value of each check box.
We face problems uploading excel (with macros) documents using HTML File Upload.
The file contents are corrupted while viewing the same. However, we are able to upload excel (w/o. macros) documents successfully. Is there anything we have to take care of, while handling uploads of excel documents with macros?
I have been using pure asp upload for uploading pictures and files fo rome time now. I have a question about it thou - Is there any chance that the pure asp upload can upload a file to a directory and then copy it to a backup directory?
If anyone ever come accross this issue please let me know how u resolve it.
I have a form that has many fields on it (selection list, text areas, etc) as well as the ability to upload some files. I'm using Lewis Moten's upload code (works great). No problem so far. However, if the user has a typo or the file does not exist then I want to return the user to the original form with an error (invalid file) and all of their work the way it was before the submission (i.e. if they had selected something from a list - when returned to the form the selection is kept).
Because I'm uploading files I have the form set as this:
In my addform.asp, I have a check for a valid file:
set objUpload = new clsUpload
if objUpload.Fields("document").Length = 0 then ' redirect user back to original page with an error Response.Redirect addform.asp?error="invalid file" end if
On the original form, I have quite a bit of data - may exceed the querystring maximum.
The page below sends archives of video for the component aspSmartUpload. All time that I try to send a video archive wmv appears this error:
Request object error 'ASP 0104 : 80004005'
Operation not Allowed
/tvonline/video_enviar.asp, line 30
In line 30 I have this.
objUpload.Upload
I already verified the way of the folder and the permission of the folder for reading and writing and I am all certainty. I do not understand because it is showing this error.
I have 3 ASP pages. Page1 has file upload feature where the user selects a file and clicks on upload button. Page2 takes that uploaded file and process the records to insert into the database. Page3 shows that records from the database. Code:
I use a windows application that can upload data to a http server.
I don't know exactly how the application uploads the data, but looking at the data communication I can see that the application tries to post data of type "multipart/form-data".
How can I make an asp script on my webserver that receives this data and store in on the hard drive?
on my site www.mutedesigns.co.uk/ws if you log in user: test pass: test
and add a new picture, browse for picture then click upload, it asks you to copy and paste the name you just uploaded into the form field after UPLOADS/ how do i get to insert this filename into the database?
We have a page that handles uploads, but it's hitting the 90 sec default timeout. If place this server.ScriptTimeout = 150 at the top of the page, will it set the time out for just the one asp page, or reset the value at the server level, and thus adjust it for everything.
i manage to store the picture pathname into database... c:folders lablabla....with my primary key A but how do i retrieve it back with my primary key ?? it is simple to do in php and .net
I want to offer the ablity for a user to upload an image to a specified directory on the server whilst inserting a record into a mysql database.
For example a user wants to add a new employee. They enter the revelant information into the form and they upload an image connected to that new employee about to be inserted.
Is this possible? how would you upload the image and link the image to the recordset in the database?
is there a way i can use GET method to pass the upload file value. I mean somethin like: have the file field on one page where you get to choose the file and then there is a submit button which calls the the actual upload script which has a button named Upload.
Is that posible to do? cuz all the upload scripts i've seen so far has the file field in the same file as the code that uploads.
Been using the same upload script for over 2 years. Recently, 2 images have given the error below. One was a pdf and one was a bmp. Other (and larger file size) pdf's and bmp's have uploaded with no problem. What could be different about these two images that would cause this error?
I want to include a text element to the asp upload file. When I read the documentation, it says that I have include Form collection to process the text element and include as:
strusername = upload.form("username")
I am not sure where this username should be defined and how do I process this text element along with the filename?
I'm working on a asp-application where I shall upload a xml-file from the user, and then process til file (xml) for insert into a database. I'm currently using a "INPUT-field of TYPE=file" to browse for file, and a extra submit button to perform the actual transfer and start file-processing.
Is it possible to show the user one ebutton "IMPORT" without any text-field associated with it, which browses for the file and directly startes the upload to server and triggers file-processing. The actual processing of the file must be done on the server-side (inserts to db etc.).