Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4617766
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:10:16+00:00 2026-05-22T02:10:16+00:00

My ASP uploading of files knowledge is somewhere circa 2002. I’ve got a Classic

  • 0

My ASP uploading of files knowledge is somewhere circa 2002. I’ve got a Classic site running in 32-bit mode on a 64-but Windows 2003 server. Also testing on a 32-bit Win 7 box.

What are a couple of upload solutions that might work in this scenario? I am running Classic ASP 3.0 against a SQL Server 2005 database. I prefer to store the files outside of the database.

I also have .NET 3.5 on the box, so if there’s a hybrid solution that might work better, I can do that.

I’m mostly concerned that I’ll use something “old” and that it won’t be reliable.

I’d also like to run some sort of antivirus against the files when they come in.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:10:16+00:00Added an answer on May 22, 2026 at 2:10 am

    You don’t need any components to upload using VBScript:

    File Upload using a VBScript Class – CodeProject

    I’ve used this on all Classic ASP sites migrated to 2008 RB 64-Bit servers and found it (nearly) slots right in your code with very little modifications. Additionally, the very few components are 64-bit compatible and/or cause the application pools to crash after only modest use.

    RE virus scanning, as long as your system has an A/V solution with real-time protection you are covered. Otherwise you will need to use shell.execute to call the AV scanner on your newly uploaded file:

    'Create new instance of the vbsUpload object'
    set objUpload = new vbsUpload
    
    'Generate the full path to save the file to'
    strNewFileName = Server.MapPath("/uploads") & "\" & objUpload.files.Item(0).FileName
    
    'Save the file to disk'
    objUpload.Files.Item(0).Save strNewFileName
    Set objUpload = Nothing
    
    'File is now saved, run a/v scanner on it'
    Set objWShell = CreateObject("WScript.Shell") 
    
    'Run the scanner on the filename created above'
    Set objCmd = objWShell.Exec("c:\myscanner\scan.exe -parameters " & strNewFileName) 
    
    'Get the stdout from the process'
    strOutput = objCmd.StdOut.Readall() 
    Set objCmd = Nothing
    Set objWShell = Nothing
    

    Setting permissions on all this is “interesting” to say the least, but that should get you started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am uploading files using HttpWebRequest to an ASP.Net MVC application but, for some
I am uploading large files to an ASP.NET server using a standard HTML <input>
I created a webpage with the uploaded files and the uploading control in asp.net.
In my web application (asp.net,c#) I am uploading video file in a page but
I have develop a small web application in asp.net (c#) for uploading files into
I am following http://www.mikesdotnetting.com/Article/125/ASP.NET-MVC-Uploading-and-Downloading-Files . Using VS2010, ASP.NET 4.0, MVC3 in C# with ADO.NET
Uploading files from asp.net to SQL Server 2008, after I upload to SQL Server
I know I use the asp FileUpload control for uploading a file but I
I am uploading a file in my ASP.NET MVC application using Uploadify. Controller: public
I am uploading a file in my ASP.NET MVC application. In the .ascx file,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.