CuteFTP Professional User s Guide 
server, enabling you to transfer multiple files simultaneously. This, 
combined with the ability to transfer the file in multiple parts, greatly 
increases the overall transfer speed and execution of your task.  
Transferring from URLs asynchronously  
Description  
    
Use the TransferURLAsync method to start a download from a web address, and 
return control to the script immediately. This method does not wait for the transfer 
to end. You can use it to perform many simultaneous transfers.  
    
The difference between this method and DownloadAsync is simply the ability to 
specify all of the necessary parameters in one command, rather than having to set the 
user name, port, host, etc. and then transfer a file.  
    
Immediately after you call this method subsequent methods in your script will be 
called, so be careful when timing certain events. 
    
If TransferURLAsync encounters a problem when trying to complete its task, it 
will not throw a COM, ATL, or VB error. TransferURLAsync will also adhere to 
your max global and per site settings. You can t use wildcards in this method.  
Syntax  
Object.TransferURLAsync(BSTR bstrURL [, long 
nMultipartNumber])
Parameters  
A string value for the URL for the 
bstrURL  
file transfer 
(ftp://ftp.cuteftp.com/pub/cuteftp) 
An optional multipart parameter 
nMultipartNumber 
with default = 1 
   
Example  
Set MySite = CreateObject("CuteFTPPro.TEConnection") 
MySite.TransferURLAsync 
"ftp://ftp.cuteftp.com/pub/cuteftp/english" 
`this will transfer the entire English CuteFTP directory 
from the CuteFTP.com ftp site. 
Normal Formats Supported  
ftp://user:pass@ ftp.sitename.com:port  
ftp://user:pass@ ftp.sitename.com  
ftp://user@ ftp.sitename.com  
ftp:// ftp.sitename.com:port  
ftp:// ftp.sitename.com  
198 






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