Programming with FTP OLE Automation

image\rwnprg32.gif SaveSettings method

 

Syntax Object.SaveSettings Filename, [IfFileExists]

 

Description

Saves the current FTP settings to an FTP Settings file. The saved settings include both general FTP settings and site configuration.

Arguments

Filename Argument type: String
Required
Specifies the name (and optional path) of a Reflection FTP Client settings file.

IfFileExists Argument type: Enumeration
Optional
Specifies what to do if a file with the same name exists. The default is rcCancel. The possible values are rcCancel and rcOverwrite.

For example, the following command imports sites from the specified file, overwriting any existing file with the same name.

FTPObject.SaveSettings "C:\Mypath\Myfile.rfw", rcOverwrite