Discuss this help topic in SecureBlackbox Forum
FTPS: Download file
The first variant is to use TElSimpleFTPSClient.DownloadFile() method to retrieve the data from a server and store it as a local file.
The other variant is to create a file stream, then download a stream.
Finally, you can use a low-level method to receive the data from the server with fine-grain control.
C#:
TElSimpleFTPSClient FTPSClient = new TElSimpleFTPSClient();
…
FTPSClient.UploadFile(@"C:\LocalFile.txt", @"/remote/folder/file.txt");
Delphi:
FTPSCient := TElSimpleFTPSClient.Create(nil);
...
FTPSClient.UploadFile('C:\LocalFile.txt', '/remote/folder/file.txt');