Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google文档中wget上的SSL证书错误_Ssl_Batch File_Wget - Fatal编程技术网

Google文档中wget上的SSL证书错误

Google文档中wget上的SSL证书错误,ssl,batch-file,wget,Ssl,Batch File,Wget,我正在写批处理脚本。。 这将使用wget从googledocs下载 我从谷歌公司得到SSL错误 下面是代码wget(来自此链接) 这里是来自wget的ssl错误 Resolving docs.google.com... 74.125.227.72, 74.125.227.73, 74.125.227.78, ... Connecting to docs.google.com|74.125.227.72|:443... connected. ERROR: cannot verify docs.go

我正在写批处理脚本。。 这将使用wget从googledocs下载

我从谷歌公司得到SSL错误

下面是代码wget(来自此链接)

这里是来自wget的ssl错误

Resolving docs.google.com... 74.125.227.72, 74.125.227.73, 74.125.227.78, ...
Connecting to docs.google.com|74.125.227.72|:443... connected.
ERROR: cannot verify docs.google.com's certificate, issued by `/C=US/O=Google In
c/CN=Google Internet Authority':
  Unable to locally verify the issuer's authority.
To connect to docs.google.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
'single' is not recognized as an internal or external command,
operable program or batch file.
'gid' is not recognized as an internal or external command,
operable program or batch file.
'range' is not recognized as an internal or external command,
operable program or batch file.
'output' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .

我不了解Windows,但unix版本的wget有一个标记,称为no check certificate,可在这种情况下使用。

尝试在不使用脚本的情况下自行创建wget语句,以首先消除任何脚本错误并关注证书错误,然后发布代码和结果
Resolving docs.google.com... 74.125.227.72, 74.125.227.73, 74.125.227.78, ...
Connecting to docs.google.com|74.125.227.72|:443... connected.
ERROR: cannot verify docs.google.com's certificate, issued by `/C=US/O=Google In
c/CN=Google Internet Authority':
  Unable to locally verify the issuer's authority.
To connect to docs.google.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
'single' is not recognized as an internal or external command,
operable program or batch file.
'gid' is not recognized as an internal or external command,
operable program or batch file.
'range' is not recognized as an internal or external command,
operable program or batch file.
'output' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .