Discuss this help topic in SecureBlackbox Forum

FTPS: Upload file

The first variant is to use TElSimpleFTPSClient.UploadFile() method to send a file to a server and store it as a remote file.

The other variant is to create a file stream, then upload a stream.

Finally, you can use a low-level method to send the data to 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');

How To articles about client-side FTPS questions

Discuss this help topic in SecureBlackbox Forum