Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: put multiple files to diff fp server at once
Spelly

From: GL, Singapore
Posts: 3
Member Since: 05/22/05
posted June 23, 2005 1:35 AM

is it possible to put 1 file to multiple ftpserver simulataneously?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 23, 2005 7:16 AM

No. It is not possible to do that. You would have to open a separate FTP connection to each server.
Spelly

From: GL, Singapore
Posts: 3
Member Since: 05/22/05
posted June 23, 2005 8:50 AM

that means i have to declare ftpx for each ftpserver

Dim ftp1,ftp2,ftp3 As New Ftp
then use
ftpx.Put(FileToPut, Trim(txtRemoteFilePath.Text))

will that do the trick?

coz i want to transfer a file to multiple ftpserver with just one execution of this ftpclient app.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 23, 2005 8:56 AM

Sure, that would work sequentially. If you wanted to do it simulataneously you would use the BeginPut method. Please see the Online help for a detailed description of the methods.
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX