Skip to content

Conversation

@feed3r
Copy link
Collaborator

@feed3r feed3r commented Feb 15, 2025

With this version of the program, it's possible to send and receive files.

in particular, starting with "receive" argument, the program listens on a specific port (actually hardcoded) to receive files from other clients. Starting instead with a "send" argument the target host and port must be specified together with a file path to be sent.
This file is then sent and the receiver will store it in the "received" sub directory.

@feed3r feed3r changed the title Create a simple file share [Feature] Create a simple file share Feb 15, 2025
@feed3r feed3r force-pushed the simple_file_share branch 3 times, most recently from ba03bc4 to 34f1300 Compare February 15, 2025 22:09
Signed-off-by: Alessio Pascucci <feeder81@gmail.com>
Write a simple sender and receiver feature. When the program is launched without arguments, it waits for a connection to receive file. Providing the "send" argument instead, and specifying a destination and the path for a file to send, the file is sent to another instance of the same program.

Signed-off-by: Alessio Pascucci <feeder81@gmail.com>
Signed-off-by: Alessio Pascucci <feeder81@gmail.com>
Signed-off-by: Alessio Pascucci <feeder81@gmail.com>
Signed-off-by: Alessio Pascucci <feeder81@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant