Answer the question
In order to leave comments, you need to log in
How to make the simplest Client-server in java to transfer a file via ftp?
It is necessary to write the simplest client and server. The bottom line is that the client sends a file, and the server receives it and saves it. It's all organized through the ftp protocol. How can I do that? With difficulty, I made a transfer by bytes (I read the file into an array of bytes and transfer it to the server), but this is not quite right. I just started learning a programming language, if it's not difficult, please explain in detail.
Thank you.
Answer the question
In order to leave comments, you need to log in
Use this
to transfer files
If you're writing both client and server parts from scratch, might REST be better ?
Github
By FTP
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question