Connects to an FTP server and logs in, returning a ready session.
Opens a plaintext control connection (tls: 'off'), reads the 220 greeting, runs
USER/PASS, and switches to binary mode with TYPE I. A rejected login (530/532)
surfaces as AuthError; any other command failure surfaces as ProtocolError.
Connects to an FTP server and logs in, returning a ready session.
Opens a plaintext control connection (
tls: 'off'), reads the220greeting, runsUSER/PASS, and switches to binary mode withTYPE I. A rejected login (530/532) surfaces as AuthError; any other command failure surfaces as ProtocolError.