Programming with FTP OLE Automation

image\rwnprg32.gif SaveSettings method


Syntax Object.SaveSettings Filename, [IfFileExists]



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


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

IfFileExists Argument type: Enumeration
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