I am using sql server 8 and IIS 5 on windows XP. I would like to develop a asp function to upload a file to the database. I have few queries. What is the datatype to store file in sql server database? How can I put a browse button which can get a file from client computer? What function should I use to upload file?
I would like to add a facility to my web page which allows users to upload basic files (word, excel, text, gif, jpg etc) to the server.
I know there's a facility to do this using HMTL forms, but I don't know how to handle the file on the server side.
What I think I need is an ASP file running some code to manipulate the filesystemobject, allowing me to receive the file and store it in the filesystem on the server. It would be nice to access some of the file properties too (name, type etc).
I've seen a few custom components online which allow you to do this, but I can't depend on installing them. I need to be able to script it myself.
I would like a somewhat user-friendly way to have the browser-side user select a file to upload and then have that file be uploaded to my web server. Speed is an issue.
I need users to upload and delete pictures on the server from a form. I've done this in PHP before, but in ASP it looks like a different world. I need to do it simply with ASP, and cannot be installing components from the web.
I have the setup working close to what I am after. The upload script I am using has been supplied by 'Lewis Moten'.
Basically what I am after is.
A job application contact form. that includes a input="file" element allowing the user to send a CV, to the address related to that job.
So far locally I have the file uploading, the file sent, and then the file deleted all working fine. Althoug this may well work locally I feel I will have problems when I come to trying this live. Mainly due to timings.
Surely the script would need to know when the file has been uploaded completely, also when the file has been sent completely before delete....
I want to be able to upload a image to a directory called 'images' on my server and also save the file name in a database. is there anything out there that does this without a COM?
I am looking for a script that will allow me to upload a file (I will be working with images for the time being) directly from my local computer to my web server, and for it to interact with my database, by automatically response.Writing a link to that file within a database field.
I have been googling but haven't come across anything.
How do i upload excel files to the server from the client browser without using any third party components. My server runs on NT server. And I am coding in ASP( Vbscript).
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'm having a problem with the fact that I want to allow image files to be uploaded to a remote web server, as the hosting package the web site is on is IIS6 and has a default file upload size limit of 200kb. As it's a shared hosting package, the default limit cannot be changed for me unfortunately.
Anyway - i need to check the size of the file being uploaded, so i can notify the user and prevent them getting the default Microsoft error message page. The problem is that I can't implement a server side size check which works, using either Request.TotalBytes or load.getFileSize (with "load" being an object of my loader class). It seems that I can't carry out any of these operations when the file size is too large.
I am creating an asp page with a "browse" feature and would like my visitors to upload Word and PDF documents via this form into a SQL database. Is this possible to do? Also to give them a choice to delete files from the DB as well (from the asp page).
I am curious if anyone can help me to upload files to a server using asp. I am making an interface so user can upload any files to the dedicated web server.
I want to generated a csv file from sql server table, in which I would like to create a asp page which display a field list with a check box.
Then whatever check box I selected, and click on generate button, then a CSV text fill will generate depending on sellected field with the field header and uploaded to FTP server.
using VB script I have to upload this file into the 'docs' directory. anyone got any method to do this, trying to stay with VB Script, but can use JavaScript if necessary.
I am using smart upload object to upload files in n/w it works fine with one of my server setup but when i tried to replicate in another server this is not working
I checked with the dll registration every thing is fine....
I have attached the file upoading system in this thread.
It is working fine with MS Access Database but when i change the database to MS Sql Server then its upload not works i think its security problem, or the problem is that when i import the MS Access table into MS SQL server it change the field datatype from oleobject to image.
I'm currently doing a project that allow user to upload file to and download file from a server. my asp page funtion as file uploader can only upload a file at a time, and now the problem is when i try to upload an entire cd volume from a cd to a server, what i can do is just browse to individual file and upload it. i know that there's a virtual drive that does this function. but the project is host in intranet mode, so every user is accessing the server. and the virtual drive for server cost a lot. so can i know outside there's any coding or example or solution can help me with this upload entire cd volume problem?
aspx page designed by asp.net contains text box, buttons, and labels viewed by browser in the localhost but when uploaded to the server only view the labels.
im using a asp file uploader to upload my file into a dedicated server. my uploader can only upload a file once a time. but my concern is if i want to upload the entire CD volume into server, i still have to locate the file in the cd one by one, is there any way or coding to allow entire cd volume to be upload at once?
I plan to allow users to upload jpegs using the <input type="file"> I understand one needs to install an ASP componenet on the server to handle the upload.
I have an installation executable from CBUupload that is freeware, which apparently can do the job. Also there are a number of options I can purchase. Has anyone any experience with installing these components on a host site?
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.).
when i load the page nothing happens, it just refreshes to a blank page. does this page need to be named something special? does it need to be on the same server it's uploading to? Code:
Where can i find information on how to upload files to a folder on my server using asp code and a form? Does anybody have a simple snip of code for this that they would mind sharing?
Could someone point me in the right direction for an asp script that would save an XML file to a folder on the same server it resides on? This XML file will be sent from another application and the asp script needs to accept the XML file (no validation of the XML in the file is required) and save it to a folder on the server. I've seen scripts with a web frontend which requires user interaction where the user has click a browse button and select the file to be uploaded from their local machine. The script I require will have no user interaction - the XML file will just be fired at the script from the other application and it should save it to a folder on the server.