Differences
This shows you the differences between the selected revisions of the page.
| 2016-07-15 | 2016-07-15 | ||
| no summary (203.6.176.27) (hidden) | accesing enumeration values in VB is described in an article library_vb#enums (martin) (hidden) | ||
| Line 4: | Line 4: | ||
| ===== [[methods]] Methods of Invoking ===== | ===== [[methods]] Methods of Invoking ===== | ||
| Two separate methods were developed to invoke client security for use with %%FTP%% clients: //Explicit// or //Implicit//. The former method is a legacy compatible implementation where %%FTPS%% aware clients can invoke security with an FTPS aware server without breaking overall %%FTP%% functionality with non-%%FTPS%% aware clients. The later method is an incompatible method that requires clients to be %%FTPS%% aware. WinSCP supports both methods. | Two separate methods were developed to invoke client security for use with %%FTP%% clients: //Explicit// or //Implicit//. The former method is a legacy compatible implementation where %%FTPS%% aware clients can invoke security with an FTPS aware server without breaking overall %%FTP%% functionality with non-%%FTPS%% aware clients. The later method is an incompatible method that requires clients to be %%FTPS%% aware. WinSCP supports both methods. | ||
| - | |||
| - | In VB Scripting the options for invoking FtpSecure are somewhat obscure. The "FtpSecure" parameter is enumerated as follows | ||
| - | |||
| - | Set sessionOptions = Wscript.CreateObject("WinSCP.SessionOptions") | ||
| - | |||
| - | With sessionOptions | ||
| - | .Protocol = Protocol_Ftp | ||
| - | .FtpSecure = 2 ' 0 = None, 1=Implicit, 2=Explicit | ||
| - | .Hostname..... | ||
| - | .... | ||
| - | End With | ||
| - | |||
| ==== Explicit ==== | ==== Explicit ==== | ||