Subject: Transfer a directory from one ftp server to another
Date: 2014-06-05 19:00:27
From: Peter Kandra
Source: transfer-directory-one-ftp-server-another

I'm trying to transfer a directory with a large number of files to another ftp server with TransferFiles so it can be done multi-threaded, but it doesn't seem to be working.  The 1st line below works, but not multi-threaded, but the commented out line says overload resolution failed because no accessible 'TransferFiles' is most specific for these arguments:

[code lang='vb']Dim optSync As New TransferOptions()

                optSync.CreateEmptyDirectories = False
                optSync.SearchCondition = New NameSearchCondition("*.*")
                FileSystem.TransferFiles(oFTP, sSourcePath, Nothing, oFTPCorp, sCorpPath, optSync)
                'FileSystem.TransferFiles(oFTP, sSourcePath, Nothing, oFTPCorp, sCorpPath, optSync, 6, True)
edited 11/16/2017 12:41:37 AM
asked 6/5/2014 7:00:27 PM
add a comment
---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index