Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
850 views
in .NET FTP by (220 points)
recategorized by
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.
by (162k points)
Please open a support ticket and zip up the full log file and send to us (see http://enterprisedt.com/support/index.php).

1 Answer

0 votes
by (2.7k points)

FTPSyncException has a member called Results (type=FTPSyncResults) from which you can get details of each transfer, including each exception thrown.

by (220 points)
Thank you, it is working perfectly now, it has to be something in our servers. At least I know how I can debug if it happens again.
by (220 points)
Hi there,
I am having the same issue and I have been able to see the exceptions that are occurring. At some point, the exception "Input string was not in a correct format" is thrown for a single file and from there on ALL the following transfers are cancelled. I have 2 questions:
1. Is this likely an issue in the FTP server?
2. Is there a way to make ExFTPConnection to retry instead of failing and cancelling all the subsequent transfers? I am already setting AutoRequeue = true and retryCount    = 3

I am using UploadMultiple, and the first file that fails with the 'FormatException' is not always the same, it is always different.
by (51.6k points)
I'm sorry, but can you please create a new question for this issue?  That way I will be able to post an answer, which makes it much easier for people reading this Q&A board.  Thank you!
by (220 points)
Thanks, I will

Categories

...