download button - how to get file with mechanize

Z

zak

hi,

i'm having problems to access the content of a (csv-)file behind a
download-button inside a form:

<form>
....
<input type="submit" class="ButtonDownload ButtonRechts" title="Daten
herunterladen" id="ctl00_cphContent_btnDownload" value="Download"
name="ctl00$cphContent$btnDownload">
....
</form>

any idea how to read or download the file?
form.click_button(form.button_with('ctl00$cphContent
$btnDownload')).body
apparently yields the first line of the file?!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top