hastx Posted August 14, 2008 Share Posted August 14, 2008 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 More sharing options...
enaiman Posted August 14, 2008 Share Posted August 14, 2008 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 More sharing options...
sshrum Posted August 15, 2008 Share Posted August 15, 2008 _inetgetsource() Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
JoshuaP Posted August 15, 2008 Share Posted August 15, 2008 Anyone know if you can somehow include a username and password, if say the directory is protected? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now