ServerObjects Logo


AspFTP 1.x

About AspFTP

Blah... Features include:

  1. xyz

AspFTP Installation

To use this ASP component move the DLL into a subdirectory (like \winnt\system32 for NT or \windows\system for Win95). Please use the version of regsvr32 that is included with this component or the version that comes with Microsoft ASP (they are the same version).

To register the component on the system change to the directory where you installed the DLL and type:

regsvr32 aspftp.dll

Simple FTP Example

Using the component is as simple as

  1. Creating the object
  2. Setting a few properties
  3.  

The following code demonstrates how to


Set 

Questions about AspFTP

See http://www.serverobjects.com/TechComm.htm for general ASP support errors and issues.

Download our troubleshooting utility for help with configuration problems.

   

Technical Support

If you require technical support please see our tech support page at http://www.serverobjects.com/support.htm

AspMail Properties

Property Description
DirList This property returns a list of files after the Dir method has been called. See the example code for usage.
Error Returns any errors that occur during operations such as Open as ChDirRemote.
Mask The file mask to use for directory listings. By default Mask is "*.*".

Example:
FTP.Mask = "*.log"

OverwriteFile  

Example:
FTP.OverwriteFile = true

PassiveMode  

Example:
FTP.PassiveMode = true

Password  

Example:
FTP.Password = "account_password"

Proxy  
RemoteHost  

Example:
FTP.RemoteHost = "127.0.0.1"

TransferMode  

FTP_TRANSFER_TYPE_UNKNOWN = 00000000;
FTP_TRANSFER_TYPE_ASCII = 00000001;
FTP_TRANSFER_TYPE_BINARY = 00000002;

Example:
FTP.TransferMode = 2

UserName  

Example:
FTP.UserName = "account_name"

AspFTP Component Methods

Method Parameters Return Value Description
ChDirLocal strLocalPath Boolean  
ChDirRemote strRemotePath Boolean  
Close N/A N/A  
Open N/A Boolean  
GetFile strRemoteFile,
strLocalFile
Boolean  
PutFile strLocalFile,
strRemoteFile
Boolean  
Dir N/A Boolean  

 

Copyright © 1999 by ServerObjects Inc. All Rights Reserved.