Skip to content

Tool for transferring files over a network using a P2P protocol

Notifications You must be signed in to change notification settings

Paul92/FileTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileTransfer

This is a client-server application for transferring files between 2 computers using sockets. It can be used to copy files on the same computer by specifying the host "localhost". It can be used only on linux platforms.

In order to transfer a file, you need to compile both the server and the client, using serverCompile and clientCompile scripts. They will generate 2 binary files: server and client. Run the server specifying a port and a filename. For example: ./server 9000 file.txt opens the port 9000 and will create a file called file.txt. The client needs to know the server's ip. For example: ./client 192.168.1.2 9000 /home/user/f.txt transfers the file f.txt to the server opened at 192.168.1.2, using port 9000. Notice that you can send a file and save it with another name.

About

Tool for transferring files over a network using a P2P protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages