You've heard of chatGPT, well now you have chatFTP! Unfortunately, the only relevance is the funny name.
This is a simple chat client written in Rust that integrates with an FTP server to read and write chat messages to a text file.
- Connect to an FTP server to read and write chat messages to a text file
- Send and receive chat messages to/from other users connected to the same FTP server
- User-friendly command line interface
- Rust installed on your machine
- Access to an FTP server
- Username and password for the FTP server
- A text file on the FTP server to serve as the chat database
- Clone this repository to your machine.
- Navigate to the project directory in your terminal.
- Run the command
cargo build
to build the project. - If the build is successful, run the command
cargo run
to start the chat client.
- When the chat client starts, you will be prompted to enter the FTP server address, username, and password. Enter the required information to connect to the server.
- You will then be prompted to enter the name of the chat database file on the FTP server. Enter the name of the file you will use to store chat messages.
- Once you are connected, you can start sending and receiving chat messages. To send a message, simply type your message and press enter. Your message will be sent to all other users connected to the same FTP server.
- To exit the chat client, type the command
/exit
and press enter.
This project is licensed under the MIT License. See the LICENSE file for details.