Skip to content

File Transfer Program via Java Socket Programming to transfer files between machines.

License

Notifications You must be signed in to change notification settings

04xRaynal/File-Transfer_Java-Socket

Repository files navigation

File Transfer Program via Java Socket Programming


Server and Client class connect with each other using TCP [connection-oriented protocol] Socket (Socket and ServerSocket classes).


Server sends File Options to the Client and the Client responds to them.

Project Demo: File Transfer


The File options are:

  1. Download files from the Server Directory onto the Client Machine via FileName

Capture_FileTransfer_DownloadFile

  1. To List Files of the Server Directory

Capture_FileTransfer_ListFilesServer

  1. Filter Files using the Department ID

Capture_FileTransfer_ListFilesFilter

  1. Download Files via Serial Number

Capture_FileTransfer_DownloadFile_SerialNo

  1. Exit the Program via the Options given

Capture_FileTransfer_Exit


Here the File Naming Convention used is:

DepartmentID-AccountID eg: 1234-123456