Board logo

标题: [网络连接] wget 如何使用post-data? [打印本页]

作者: strong12345    时间: 2011-4-6 13:06     标题: wget 如何使用post-data?

本帖最后由 strong12345 于 2011-4-6 13:14 编辑

请问一下

我想下载该网址里的档案

http://localhostr.com/file/0DrrVxx/test.txt

一般浏览器必须登入之后再按 download 的 按钮

我想使用 wget 直接下载该档案

请问该怎么作?

我试过很多 --post-data 参数

都没有用= =??
作者: c690984119    时间: 2011-8-5 10:29

用以下代码试试:
wget --post-data "Download=download-button" "http://localhostr.com/download/0DrrVxx/test.txt"




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2