Share photo and text between any device and the APP host.
- About security
- In sub-project "SharerBlazorServer", it uses SSL protocol, where the certificate is self-signed. Before sending files, please make sure the public key fields of certificates in both client and server are identical.
- In sub-project "Sharer", it does NOT provide any security. Under HTTP protocol, the message sent is not encrypted, which might be safely passed in a trusted LAN or through a private hot spot.
- About performance
- for project "SharerBlazorServer"
- The files are uploaded by chunks.
- for project "Sharer"
- The file transfer is only performed by form posting.
- for project "SharerBlazorServer"
The presumed pwd
is src/Sharer
or src/SharerBlazorServer
.
Sub-project src/Sharer
is no longer under development due to its traditional HTTP model. Please switch to src/SharerBlazorServer
.
For Windows users:
Don't relay on this method.
- run
Launch.bat
- make sure your device is in the same LAN as your computer
- let your device scan the QR code of the secure channel
- send photo or text
- check the photo in the popped-up file explorer or find the text in the console
For Linux + MacOS + Windows users:
- run
dotnet run
- the folder
upload.user
(Sharer) orResources
(SharerBlazorServer) in the root of the project is where the files locate.
This might cost a long time
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true
[ ] Password + ban IP after excessive tries- Add "Open download folder" on the QR page
- Huge file transfer
- on project "SharerBlazorServer"
- Transfer through RESTful API
- on project "SharerBlazorServer"