I want to copy one file from windows to Pi board via ssh.
I am building a GUI using windows form.
Coming to GUI part I found ssh.net library, I will be using this later. But before that, I want to understand how it works and what SCP command to be used, As a first step, I want to see how exactly the SCP command works. For this, I want to copy a file from windows using the windows command line to the Pi board via ssh. Now how can I achieve this? what is the procedure? I searched the internet but I failed to get proper information.
Note: I know I can achieve this using Filezilla client or putty, but my motto is to build my own GUI.
My GUI requirement: Firstly, I want to establish connection with Pi board and secondly, I want my GUI to browse the file which needs to be copied to Pi board and thirdly, I want to fix the Pi destination folder in the GUI itself(no access to user, backend I fix the destination folder as its unchangeable) and fourthly, when user clicks download button file should get downloaded to the fixed destination folder in the Pi board with progress bar indicator for the completion of file transfer - Need suggestions for achieving this? basically, I want the user to select a particular file from the windows using my GUI and on button click file should get downloaded to the Pi board.