ASP newbie -sorry

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • watcher60
    New Member
    • Oct 2006
    • 1

    ASP newbie -sorry

    HI all,
    totally new to ASP or to be honest any web development, I'm actually a firewall guy who has come up with a thought on how to get all files transfered in to our datacentre AV scanned.


    Heres what I want to do.

    Run a internal web site that you log in to with your NT domain user/pw
    Upload the file you want transfer to the web site, or specify the URL of a file on a remote server in the web page which could either be HTTP or FTP which the server downloads for you.
    Backend it takes the file runs a batch script to AV scan the file then copies it to a share which it can then either email you the UNC path for and/or displays it on the web page.


    Stumbled across a few ASP upload scripts but trying to find out how to go about getting the server to download a URL on your behalf (obviously not a standard thing to do I'd guess!)

    So really my Q are:

    1)how can I submit a URL (FTP or HTTP) in a web page to get the web server to download the file (guess I could do this by passing URL as a variable to the batch script but seems a bit messy)

    2) And this one I'm sure I can dig around for , how can I get a ASP page to kick off a batch script?

    Sorry if theses are really stupid questions - don't mind if you point and laught but a few good URL's to read would be great....thanks W60
  • darkdirk1
    New Member
    • Oct 2006
    • 50

    #2
    1)how can I submit a URL (FTP or HTTP) in a web page to get the web server to download the file (guess I could do this by passing URL as a variable to the batch script but seems a bit messy)

    <input type="file"> Is how you get started.
    Learn with interactive lessons and technical documentation, earn professional development hours and certifications, and connect with the community.


    Should get you on the right path...



    2) And this one I'm sure I can dig around for , how can I get a ASP page to kick off a batch script?

    Does the script NEED to be a batch script? I have never done such a thing.
    Typically it is between the browser and the server only. A shell script implies to me you want to make server or network changes remotely using the browser.
    You will need to write that middle layer in either vb.net or java or similar.
    VBScript, javascript dont have the scope to modify files outside the web server that i know of.....

    Comment

    Working...