There will be a section very similar to this forum, where a user can:
1) Fill out a web based form 2) Attach a file 3) The text and attachment will be emailed (via ASPmail) to the recipient list
My Questions are as follows:
1) I'm assuming I need to first upload the file to somewhere on my server with the correct write permissions BEFORE actually attaching it to the ASPmail, correct?
2) How can I prevent users from sending attachments with viruses? Do I just install a realtime virus scanner (like norton) on the server and it will automatically look at the uploaded files?
3) Assuming that #2 is correct, what happens when it detects a virus? what would the email actually send? I guess I could have norton "delete" any files with viruses, and then write the ASP code so that if it can't find the uploaded attachment (because it was deleted) the email can include a message like "attachment was deleted due to virus" or something.....right?
I'm assuming Norton would catch it quick enough between the upload time and the email send time....
We are thinking of implementing ASPUpload component to allow users to upload files. Which is the best antivirus (virus scan) which we can use so that it intergrates possibly has a COM interface.
or is there another way? with our websites and we would be able to scan the documents in the temporary folder and upon successful scanning move them into a designated folder on the server? Does anyone know of an article or website where I can get a sample code for scanning uploaded documents.
I'm developing a filing system in asp..in this system, user has to scan letters into the system..before this i've coded in vb script..is there any scanning code in asp??
I'm coding my graduation project for Information Systems at the University Of Cape Town, and have come into a little problem. My system is an inventory and point of sale system, which is running on asp, using vbscript. I need to scan in barcodes using the ps2 port, thus overriding the keyboard when scanning.
How do i accept the barcode scanner input and assign it to a variable, and validate it according to barcode standards?
I have a form submitted with a form field called contents. This could have loads of text in. What i need to do is scan this field for words that match the text in a database record called PAC_WORD. This could match 3 or 4 of the words put. Basically for each word picked up I want to write " This item found is not allowed
I'm looking to upload one or more files using Classic ASP.
I'm using IIS 5.1 and Windows XP, and need a free basic DLL to give me the facilities to do so. I understand that CPSHOST.DLL is a good component to use.
Firstly is it XP compatitable, if so where can I obtain it as it's not installed on my PC.
Else are their free alternatives like an alternative DLL that will allow uploading.
I need to I make an .asp page on our website where users could upload different files, like text, pdf or images. No .net environment.
Could be it done with VBscript or have to use something else? Any examples or ready to use objects, any tips would be appreciated? I'm a little bit rusty but can catch up.
I have an ASP HTTP upload application in place, however it consistently times out at 2Mb or so. We need to have an app. that will let artists upload files up to 25Mb. How is this achievable through ASP, or is an FTP client the best bet for files of this size? I have experimend with script timeout variables, to little avail
We have clients upload sql files to a folder on an IIS 6.0. The sql file are then processed by a scheduled task that runs once every 10mins to process the file with oSQL. With oSQL the files upload the data to a 2 tier SQL server. The developers are complaining about performance and are saying it is the OS/hardware.
I have Profmon on the IIS server and 2 tier SQL server. Both only peak at %5 usage on processor memory stays close to the same. I believe that it would better to have IIS make a connection to the SQL server and upload the record directly. What do you think?and any examples would be nice or URL that talks about how to do this.
I frequently receive PDF files as attachments for a Client. After I receive the files, I burn them onto a CD and hand deliver the CD to the Client. Lately I changed to uploading these PDF files to my website. I put an Icon on the Desktop of the Client's computer so he can view the PDF files as they exist on my web site.
I am familiar with ASP programming and began to wonder if it is possible to write a routine where the author of the PDF file can go to a link on my Web page and upload directly to my server.
I want to upload files to a server with asp. But the problem is that the server where my asp website stands is a different server then where my upload files must go. Is there a way to accomplish that.
I'm basically doing the same thing except I have to upload the images from one web app and then load them from another so I've set up a virtual directory in IIS that points to the physical location where the files are.
Here is the relevant codecheck to see if a file existsMake sure the file type is a jpegMake sure the file is an acceptable sizeGenerate a filename based on the current date and timeSave the file to a local directory that a virtual directory points to on the web serverTry to display the image in an asp:image control by loading it from the webserver
how I can upload multiple image files from an ASP page to an MS ACCESS database. I understand that the best method is to upload the image to a folder on the server and then insert the file name into the database. I have had a go with smartASPUpload, but no joy. Someone has also told me I need to download an upload file-is this true? I am using the dreamweaver database, bindings, and server behaviours, so any code that you can send to me will link to the database via a custom connection string. I need the form to contain 2 upload fields and obviously I need both images to be saved when the form is submitted. My form contains some general text fields as well, which will also need to be inserted into the database.
I have had a post previously that was regarding an image editing component for ASP, I had settled on csImageFile, which performed all the tasks I needed, and so I started looking for an upload component... Well ChestySoft also had a component called csASPUpload, which worked great, so I opted to get that too... Then I also noticed that ChestySoft also had a product that was an OCX control that allowed you to do a multiple post upload... which would be perfect for my uses. My question is, does anyone know of a free alternative to csXPostUpload, or should I fork out the $80 for a license? www.chestysoft.com
I'm trying to install code written by Lewis Morton to upload files (in particular jpgs) on my web hosting account. Has anyone attempted to do this with Morton's code? What I have now, I can do an upload, with no error messages, but no file is stored. I'm getting the file name, and Server.Mappath is creating the path, but nothing is being stored.
Can I get the codes for uploading a file using classic asp.The problem that I have is that,I want the program to recognize the content type and size of the file and save it in the database table.
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 have an offline intranet ASP application. RIght now, this is how i take backup of my database. I upload my database using third party FTP uploading tools like ACEFTP to one websites server.
Now, i want to give this facility in my ASP application that i click one button and database from my local intratnet website uploads to that web server. I have the login information for that web server.
I am developing a forum style website using ASP and I need to have a file attachment function when people post notices. Does anyone know how to do this? So far has only helped with showing me how to upload files to a server but I need to upload them into the access database to retrieve it when needed. Is this possible?
i want to upload text files present on my comp (running IIS) to a ftp site which is password protected (I have the "write" access to the site) how do i go about doing it?
i am working with asp form where the user can upload files to a folder or to the database, uploading files in folder in working, but the database one is not working it give me the following error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /test/uploadexmple.asp, line 48
I want to upload a file then add a record in a database using info from the uploaded file. I can't figure this out. If anyone has something working that isn't this please let me know. I would rather have this working as I don't want to recode the whole thing.
First the upload doesn't work. The MBRequest(file1).Save isn't supported in this manner. I know you can use .save to upload a file.
Second You'll see that MBRequest is called to form a filename. The filename is called in another page to form a link to the file......