发布FTp上传 - 由于错误:错误:进行数据连接时超时 [英] Release FTp Upload - due to error: Error: Timed out while making data connection
本文介绍了发布FTp上传 - 由于错误:错误:进行数据连接时超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无法通过FTP发送发布文件,发布代理能够创建目录,但不能在其中发送.dll或zip。
Can't send release files over FTP, the release agent is capable of create the directories but not send the .dll's or zip inside of them.
" ; ...
"...
由于错误:错误:在建立数据连接时超时......
due to error: Error: Timed out while making data connection...
谢谢!
"
2016-11-03T17:05:45.4850831Z ##[section]Starting: FTP Upload: $(Build.ArtifactStagingDirectory)
2016-11-03T17:05:45.4890840Z ==============================================================================
2016-11-03T17:05:45.4890840Z Task : FTP Upload
2016-11-03T17:05:45.4890840Z Description : FTP Upload
2016-11-03T17:05:45.4890840Z Version : 1.0.4
2016-11-03T17:05:45.4890840Z Author : Microsoft Corporation
2016-11-03T17:05:45.4890840Z Help : Upload files to a remote machine using the File Transfer Protocol (FTP), or securely with FTPS. [More Information](http://go.microsoft.com/fwlink/?LinkId=809084).
2016-11-03T17:05:45.4890840Z ==============================================================================
2016-11-03T17:05:45.8470825Z 6fe094bb-a4e2-4d5f-8b3a-e1d1f81aa97e exists true
2016-11-03T17:05:45.8620848Z connecting to: mwe86releases.ml.pt:21
2016-11-03T17:05:46.2691046Z connected: Microsoft FTP Service
2016-11-03T17:05:46.8450217Z uploading files to remote directory: /mwe85builds/22/
2016-11-03T17:05:47.5710296Z files uploaded: 0, files skipped: 0, directories processed: 1, total: 1, remaining: 2, remote directory successfully created/verified: /mwe85builds/22/
2016-11-03T17:05:48.2848192Z files uploaded: 0, files skipped: 0, directories processed: 2, total: 2, remaining: 1, remote directory successfully created/verified: /mwe85builds/22/
2016-11-03T17:06:08.5752205Z FTP upload failed: upload failed: /mwe85builds/22/22.zip due to error: Error: Timed out while making data connection
2016-11-03T17:06:08.5752205Z host: mwe86releases.ml.pt
2016-11-03T17:06:08.5752205Z path: /mwe85builds/22/
2016-11-03T17:06:08.5752205Z files uploaded: 0
2016-11-03T17:06:08.5752205Z files skipped: 0
2016-11-03T17:06:08.5752205Z directories processed: 2
2016-11-03T17:06:08.5752205Z unprocessed files & directories: 1
2016-11-03T17:06:08.5802265Z ##[error]upload failed: /mwe85builds/22/22.zip due to error: Error: Timed out while making data connection
2016-11-03T17:06:08.5802265Z disconnecting from: mwe86releases.ml.pt
2016-11-03T17:06:08.7200524Z disconnected
2016-11-03T17:06:08.7260490Z ##[section]Finishing: FTP Upload: $(Build.ArtifactStagingDirectory)
推荐答案
嗨保罗,
感谢您在此发帖。
上传文件
FTP命令:
ftp>把c:filesfile1.txt
当你使用命令上传文件时,windows会要求你决定是否允许访问该操作,然后尝试在你允许的
之后再次运行该版本。你也可以尝试检查是否:
1.您的计算机上的FTP端口被阻止。(默认为21)
2.您的FTP客户端未设置为在被动模式下工作 - 请参阅您的FTP客户端文档,了解您可以在不同FTP模式之间切换的准确程度;
3.您的域名已过期或解析错误。您可以消除此问题通过其IP地址直接访问您的帐户;
有关详细信息,请参阅以下链接:
https://www.siteground.com/kb/ftp_timeout/
最好的问候
Limitxiao Gao
这篇关于发布FTp上传 - 由于错误:错误:进行数据连接时超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文