如何使用 Qt 下载 csv 文件(在 __dopostback 后面)
我需要一个从“会议结果”下载 csv 文件的功能: http://www.rwwa.com.au/cris/meetingdownload.aspx ?meeting=15014
问题是您需要单击“会议结果”链接才能获取该文件。
该链接具有以下关联 URL: javascript:__doPostBack('ctl00$ContentPlaceHolderMain$linkButtonResults','')
如何在 Qt 中模拟点击下载文件?
注意:我检查了 Qt 中的 HTTP 示例,但由于 csv 文件没有直接链接,我不知道如何下载它。
感谢大家的时间和回答。 此致
I need a function to download csv files from "Meeting Results" in:
http://www.rwwa.com.au/cris/meetingdownload.aspx?meeting=15014
The problem is that you need to click the "Meeting Results" link to get the file.
This link has the following associated URL:
javascript:__doPostBack('ctl00$ContentPlaceHolderMain$linkButtonResults','')
How can I simulate the click to download the file in Qt?
Note: I checked the HTTP Example from Qt but as the csv file has not a direct link, I don't know how to download it.
Thank you all for your time and answers.
Best regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
换句话说,用WireShark获得的HTTP是(下面的Qt代码):
我在Qt中编写以下代码:
但我不知道如何处理EVENTTARGET和VIEWSTATE,也不知道我是否遵循了好的方法。
In other words, the HTTP obtained with WireShark is (Qt code below):
I am writing in Qt the following code:
But I don't know how to deal with EVENTTARGET and VIEWSTATE, and whether I am following the good approach.