CuteFTP Professional User s Guide 
Description  
Use the IsConnected property to indicate whether or not you are presently connected to 
the remote site.  
Syntax
Boolean Object.IsConnected
Parameters 
The Transfer Engine is currently connected to 
"True"  the server. 
The Transfer Engine is not currently 
"False"  connected to the server. 
Example
Set MySite = CreateObject("CuteFTPPro.TEConnection")  
If Cbool(
MySite.IsConnected
) Then  
MsgBox "Connected to server:" + MySite.Host  
End if
   
Note: 
You can set how long the Transfer Engine will leave the data connection 
open after a completed transfer. In the CuteFTP GUI, go to Tools > 
Global Options > Transfer Settings and set the time in Close the file 
transfer 
n
 seconds after the transfer is completed.  
Retrieving the number of Asynchronous tasks
  
Description  
Use the AsyncTaskNumber property to return the number of tasks created by the 
UploadAsync, DownloadAsync and TransferURLAsync methods.  
Syntax  
Long Object.AsyncTaskNumber
Example
Set MySite = CreateObject("CuteFTPPro.TEConnection") 
`Initialize all necessary fields for MySite : host name, 
user, password, 
etc. 
MySite.Option("CleanupAsync") = False 
MySite.DownloadAsync "/path/*.*" 
MsgBox "task number created" & 
MySite.AsyncTaskNumber
218 






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

ftp web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved