I am trying to use the concurrent transfer features but I am having issues when I set MaxConnections to any number greater than 1 ([EDIT] the errors also occur when MaxConnections = 1). I get en error like this: "XXX out of YYY transfers failed" (usually a high number like 387 out of 460). I am even using AutoRequeue
I am setting the log level to All and I see no details. Can you explain what are the possible causes of this? I already checked from FileZilla and I can set simultaneous transfers to 10 and I have no issues. I also tested opening two instances of FileZilla and connecting to the same server at the same time, so it seems the server does accept multiple connections/transfers.
LOG:
...
INFO [FTPSynchronizer] 16 Oct 2015 14:09:28.300 : Synchronize C:\Users\mcarranza\Desktop\rAGService\tmp\rtg with /ftpPerformanceTest/UL2
DEBUG [FTPSynchronizer] 16 Oct 2015 14:09:28.300 : Local directory: C:\Users\mcarranza\Desktop\rAGService\tmp\rtg, Server directory: /ftpPerformanceTest/UL2/
ALL [FTPTask] 16 Oct 2015 14:09:28.300 : Awaiting task completion signal: [ID=10002] mh4A82SrGBl(FTPSyncRules="EnterpriseDT.Net.Ftp.FTPSyncRules", String="C:\Users\mcarranza\Desktop\rAGService\tmp\rtg", String="/ftpPerforman
ceTest/UL2")
ALL [FTPTask] 16 Oct 2015 14:11:15.337 : Received task completion signal: [ID=10002] mh4A82SrGBl(FTPSyncRules="EnterpriseDT.Net.Ftp.FTPSyncRules", String="C:\Users\mcarranza\Desktop\rAGService\tmp\rtg", String="/ftpPerforman
ceTest/UL2")
INFO [FTPTask] 16 Oct 2015 14:11:15.338 : Throwing stored exception: 387 out of 460 transfers failed
Exception calling "UploadMultiple" with "4" argument(s): "387 out of 460 transfers failed"
At C:\Users\mcarranza\Desktop\rAGService\FTPTestPS.ps1:39 char:19
+ Measure-Command { $ftpConnection.UploadMultiple('C:\Users\mcarranza\Desktop\rAGS ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FTPSyncException
00:01:47.0436496
ALL [FTPConnectionPool] 16 Oct 2015 14:11:15.345 : Closing all slave connections
DEBUG [FTPConnection] 16 Oct 2015 14:11:15.345 : Closing connection [instance=36,abrupt=False]
DEBUG [FTPFileFactory] 16 Oct 2015 14:11:15.345 : Defaulting to Unix parsing
DEBUG [FTPControlSocket] 16 Oct 2015 14:11:15.345 : ---> QUIT
DEBUG [FTPControlSocket] 16 Oct 2015 14:11:15.448 : 221 Goodbye.