Computing.Net > Forums > Programming > batch script to DL webpage daily

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch script to DL webpage daily

Reply to Message Icon

Name: reno
Date: December 18, 2008 at 23:23:19 Pacific
OS: XP
CPU/Ram: P4 & 1GB
Product: Asus / NOTEBOOK
Comment:

how do i download an interactive webpage from a batchscript?

http://www.idx.co.id/MarketData/Que...

what i need is to automate filling the date and click the "submit" button then download the given link ".csv" file.



Sponsored Link
Ads by Google

Response Number 1
Name: Holla
Date: December 19, 2008 at 03:45:10 Pacific
Reply:

If it is only that much, you can use wget.exe
to get the job done.
1. Find out what data is being posted and
form them internally in batch file.
2. Find out which url the form is being
posted and and
3. use wget to get that page with the post
data you generated.

It is not easy, but can be done.
You may need to use additional tool to find
out what data is being posted.
If you have to maintain a session and pass
that information, it is even tougher task.
Any powershell experts?

--
Holla.


0

Response Number 2
Name: reno
Date: December 20, 2008 at 05:29:50 Pacific
Reply:

thanks for the "wget" info. i found a direct link to download the file in zip format.
now i have a script to download the zip file and extract it, and convert the .csv file into metastock data.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Batch file to copy folder Get Date of Single File i...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: batch script to DL webpage daily

batch script to upload to ftp www.computing.net/answers/programming/batch-script-to-upload-to-ftp/16987.html

batch script to parse filenames www.computing.net/answers/programming/batch-script-to-parse-filenames/15286.html

XP batch script to rename files www.computing.net/answers/programming/xp-batch-script-to-rename-files/14608.html