|

楼主 |
发表于 2006-6-27 18:14:40
|
显示全部楼层
这个用-O的参数好像不对啊,我man了一下,如下,是输出到一个文件阿。所以我觉得这个事不能成功的,测试也没有成功,我不知道是不是有其他的设置方法,我的是:
wget -c -b -r -t 50 -T 120 -w 20 -x -nH ftp://userasswords@211.123.11.35/./logs -O /logdata/Logs。错误为:Is a directory
如果指定一个文件,文件内容为:
Error detected while processing function <SNR>3_read:
line 19:
E20: Mark not set
line 24:
E20: Mark not set
line 27:
Can't open file /tmp/v406746/0
不知道上面的是什么意思,请那位解释一下。
接下来是wget -O的man:
-O file
--output-document=file
The documents will not be written to the appropriate files, but all
will be concatenated together and written to file. If file already
exists, it will be overwritten. If the file is -, the documents
will be written to standard output. Including this option automat-
ically sets the number of tries to 1.
虽然-O选项没有能够成功指定路径,不过觉得用法比较有趣,不知道需要怎样的指定才能指定路径。
yongjian 的方法是能够成功的,谢谢。
也谢谢luweinet的关注。 |
|