CuteFTP Professional User s Guide 
`Initialize all necessary fields for MySite : host name, 
user, password, etc.  
If (not cbool(
MySite.RestSupport)
) Then  
MsgBox "This server doesn t support the REST command"  
End if
Retrieving a log as a string  
Description  
Use the Log property to return the entire log as a string which can be handled separately in 
your VB application or VB script.  
Syntax
String Object.Log (long taskIdx)
  
Parameters 
This is the task index in the array of tasks created by asynchronous 
methods [0.. AsyncTaskNumber minus one, or   1 (last asynchronous 
TaskIdx  task started)] 
It has a default value of  1 = current task.  
Example  
Set MySite = CreateObject("CuteFTPPro.TEConnection")  
MySite.Host = "ftp://ftp.cuteftp.com"  
MySite.Connect  
MsgBox MySite.Log
Checking transfer progress 
Description  
Use the TotalSize, TransferredSize, Speed, TimeLeft, and TimeElapsed properties to 
determine a transfer s progress and various other aspects of the transfer.  
Syntax
long Object.TotalSize (long taskIdx) = size in bytes  
long Object.TransferredSize (long taskIdx) = size in 
bytes  
long Object.Speed (long taskIdx) = bytes/second  
long Object.TimeLeft (long taskIdx) = seconds  
long Object.TimeElapsed (long taskIdx) =seconds
Parameters 
This is the task index in the array of tasks created by asynchronous 
methods [0.. AsyncTaskNumber minus one, or   1 (last asynchronous 
TaskIdx 
task started)] 
It has a default value of   1 = current task.  
224 






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