A simple text-hosting server and client to easily dump random files/text and fetch from either a commandline client or web page.
The client can be configured to connect to an Azure AD instance for authentication. This is useful if you put the Dropoff Server behind the same Azure AD.
In the Dropoff
folder:
Add an fill the app.config
with the proper parameters:
"DropoffServer"
"ida:AADInstance"
"ida:Tenant"
"ida:ClientId"
"ida:ClientSecret"
In the Dropoff
folder:
dotnet run -r 00000000000000000000000000000000
Dropoff Client v0.1.0
-s, --server <server> Dropoff server to communicate with (if
different than one provided in app.config).
-r, --retrieve <id> Id of a file to retrieve from the Dropoff store.
-h, --help Display this help.
In the Dropoff
folder:
Add an fill the appsettings.json
with the proper parameters:
"DROPOFF_STORE"
: Folder where Dropoff Server stores the incoming files.
- Clone the repository
dotnet run --project Dropoff.Server\Dropoff.Server.csproj
Run tests with: dotnet test
MIT License Copyright (c) 2018 Devin Carr