FTP任务:无法使用"FTP连接管理器"发送文件;在Visual Studio 2012中 [英] FTP Task: Unable to send files using "FTP Connection Manager" in Visual Studio 2012

查看:185
本文介绍了FTP任务:无法使用"FTP连接管理器"发送文件;在Visual Studio 2012中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将文件上传到ftp服务器时出现不一致的错误消息:

I inconsistently get the following error when uploading files to a ftp server:

FTP任务:无法使用"FTP连接管理器"发送文件

FTP Task: Unable to send files using "FTP Connection Manager"

端口为21,并且已设置为被动模式.任务成功执行80%的时间;偶然的故障是随机的,我正在寻找解决问题的最佳方法.

The port is 21 and it is set to passive mode. The task succeeds 80% of the time it is executed; the occasional failures are random and I'm looking for the best way to troubleshoot the problem.

是否可以通过Visual Studio获取更多描述性错误信息?

Is there any way to get more descriptive error information via visual studio?

推荐答案

我确定您现在已经解决了该问题.但是为了将来参考,我还是会回答. 此处是重复的解决方案(但我要注意不要设置UsePassiveMode = False.将其设置为true).

I'm sure you have resolved it by now. But for the future reference, I'll answer it anyway. Here is the duplicate solution (but I would be careful not to set UsePassiveMode = False. Set this to true).

我通常会犯的另一个错误是,我忘记选择如果目标中已经存在,则覆盖文件",但是当然这也取决于要求.

Another mistake I usually make is I forget to choose "override the file if it already exists in the destination", but of course that depends on the requirement as well.

这篇关于FTP任务:无法使用"FTP连接管理器"发送文件;在Visual Studio 2012中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆