Jump to content

Advice on approach to downloads


hastx
 Share

Recommended Posts

I was wanting to get advice on the best approach for parsing text files downloaded from a web server. In specific, I have written a script to parse the text files, but my question is how to pass the text file into the script?

The scenario is this:

  • The web server provides updated text files.
  • When someone clicks the download link of one of the files, and is prompted to open or save the file, I want them to select "open with" and direct it to the autoit exe to parse the file.

Can this be done using $CmdLine[1], or would it require file associations / reg entries etc. to be set?

Link to comment
Share on other sites

I guess a better solution is to use InetGet instead of clicking the download link and clicking whatever button after.

If you're using InetGet you can open the downloaded file after that and do whatever you wish with its content.

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...