Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 767 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 767 Bytes

Example file-server interaction

Very simple console application that showcases how to interact with the OpenFTTH file-server.

The application showcases listing all files, download each file and deleting them on the file-server after they have been downloaded.

Configuration

The console application has been made very simple, so the credentials are configured in the application.

To configure it, go to the Program.cs file and configure the following lines. When that has been done, the application can be run.

var fileServerUsername = "";
var fileServerPassword = "";
var fileServerUri = "";

To change the output path instead of /tmp/ replace the following variable in the Program.cs file.

var downloadedFileOutputPath = "/tmp/";