Unable to download (32.5GB) 5257 files

0
We have been using ComponentPro for about a decade now, and things have been working extremely well, but recently we started seeing our application hang. I was able to simulate a large download with 5257 files, about 32.5GB. A simplified snippet follows: IRemoteFileSystem client; client = new Sftp(); client.Connect(server, port); client.Authenticate(userName, password); TransferOptions transferOptions = new TransferOptions(true, false, ComponentPro.OptionValue.Auto, null, FileOverwriteMode.Overwrite, SymlinksResolveAction.Skip); transferOptions.RetainFileList = true; FileSystemTransferStatistics ts = client.Download(remoteDirectory fileMask, localDirectory, transferOptions, threadCount, true); When this last statement is executed, all files are downloaded but it never completes the next statement which evaluates the ts.FileList collection. We are using Version 6.8.40.4155, but I have also tried the latest version (as a trial) and the behavior is the same. Is this a defect? Is there any guidance you can offer? Thank you.
 
asked 6/6/2020 12:58:57 PM
add a comment

2 Answers

0
Hi, I actually found the culprit, and it is the threads member. When I try to download all these files using 8 threads, the Download method never completes, but when I use 1 thread it does complete. Is this a known issue?
 
answered 7/7/2020 12:07:29 AM
add a comment
0
Hello, Have you tried download those files individually?
 
answered 7/2/2020 1:06:36 PM
  Hi, I actually found the culprit, and it is the threads member. When I try to download all these files using 8 threads, the Download method never completes, but when I use 1 thread it does complete. Is this a known issue? Sam Tai 7/7/2020 12:07:58 AM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged sftp or ask your own question.