Transfer Engine (SDK) 
    
Setting the Multi part download attribute can greatly increase the transfer speed for 
larger files under certain conditions. For example, the site must support multiple 
concurrent connections from the same user and you must have significant bandwidth. 
    
The Download method is a syncrhonous command, meaning it must finish executing 
before subsequent commands in your script can be called. Use the method 
DownloadAsync 
(which also supports Multi part transfers) to asyncrhonously 
download files, which allows you to execute the rest of the script while the download(s) 
take place. 
Uploading files 
Description 
Use the Upload method to transfer a file or folder from a local hard drive to a remote 
server.  
Syntax 
Object.Upload(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")  
`Specify user, pass, host, and connect as normal...  
MySite.Connect `Recommended: call connect first  
MySite.RemoteFolder = "Temp"  
MySite.LocalFolder = "C:\123"  
`using relative path, all files in folder 123 are 
uploaded to the folder Temp off the current folder on the 
server.  
MySite.Upload "*.*" 
179 






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