Discuss this help topic in SecureBlackbox Forum

FTPS: Initialize the server before use

In all editions you can create the instance of TElSimpleFTPSServer class in code. This includes referencing the needed library and header files and creating an instance of the class.

In .NET and VCL editions you can place the TElSimpleFTPSServer component to the form in visual form designer. This will add the necessary references and code declarations to the code.

The server initializes all properties to the values needed for operation, so you don't need to change anything, unless you have special requirements. It makes sense to add user information for authentication. Also you might want to specify the directory, which will become a virtual root by default using RootDirectory property. You can set the virtual root for each user separately.

Once the server object is configured, just set its Active property to true.

C#:


TElSimpleFTPSServer Server = new TElSimpleFTPSServer(null);
// Then you need to add users
Server.Users.AddFTPSUser("UserName", "Password");
// and start the server
Server.Active = true;
Delphi:

Server = TElSimpleFTPSServer.Create(nil);
// Then you need to add users
Server.Users.AddFTPSUser('UserName', 'Password');
// and start the server
Server.Active := true;

How To articles about server-side FTPS questions

Discuss this help topic in SecureBlackbox Forum