FTP Task: Unable to send files using “FTP Connecti

2019-08-23 03:23发布

问题:

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

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

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.

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

回答1:

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.