Hello,
when I connected to a FTP-Server with sockets how can I send username and password?
thank you for your answers.
Hello,
when I connected to a FTP-Server with sockets how can I send username and password?
thank you for your answers.
FTP sends username and password in plain text, so you should be able to just invoke the commands and send them that way (at your own risk).
USER
- Authentication username.PASS
- Authentication password.Why not just use Jakarta Commons Net to handle this?
Thank you for your answers...but I want to do this only with sockets. When I connected to the ftp server whats are the next steps to send the username and password?A example would be helpful to understand.