CuteFTP Professional User s Guide 
Set MySite = CreateObject("CuteFTPPro.TEConnection") 
MySite.LocalFolder = "c:\temp" 
MySite.TransferURLAsync 
"ftp://ftp.cuteftp.com/pub/cuteftp" 
MySite.Close "EXITNOPENDING" 
Uploading items asynchronously  
Description  
Use the UploadAsync method to upload a file or folder to a remote server asynchronously. 
 An asynchronous upload starts and then returns control to the script before the transfer 
finishes. This allows you to perform many simultaneous transfers because the method does 
not wait for the upload to end. 
Immediately after you call this method subsequent methods in your script will be called, so 
be careful when timing certain events.  
If UploadAsync encounters a problem when trying to complete its task, it will not throw a 
COM, ATL, or VB error. UploadAsync will also adhere to your max global and per site 
settings. 
Syntax  
Object.UploadAsync(BSTR strLocalName [,BSTR strRemoteName 
[, long nMultiPartNumber]])
Parameters 
This is optional, use it only if you want to change the 
destination name or path for the uploaded files or 
strRemoteName 
folders. You can use absolute or relative paths with or 
without wildcards.  
This is the path to the local item you are uploading. You 
strLocalName 
can use absolute or relative paths with or without 
wildcards. 
Use this to split the upload into multiple parts.  The 
nMultiPartNumber 
default value = 1.  The value specifies the number of 
parts used for the download. 
Example  
Set MySite = CreateObject("CuteFTPPro.TEConnection") 
`Initialize all necessary fields for MySite : host name, 
user, password, etc. 
MySite.Connect 
MySite.UploadAsync "c:\temp\*.vob", "/DVDFiles"
  uploads 
as many .vob files as concurrent connection settings 
allow 
196 






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