You'll see I'm having problems accessing my ftp directory via command line.
ftp> open ejemplo.com 46256
Conectado a ejemplo.com
220 Microsoft FTP Service
200 OPTS UTF8 command successful - UTF8 encoding now ON.
Usuario (ejemplo.com:(none)): iniciosesion
331 Password required
Contraseña:
230 User logged in.
ftp>put mifichero.txt
501 Server cannot accept argument.
150 Opening ASCII mode data connection.
Specifically in the example that I put what I try is to enter a file that is on my local machine to the server but the error 501 appears with all the commands I try, be it dir, ls, get ... He also stays eternally in the last line and obviously does not do anything. I do not know if the problem will be in the port where the FTP server is configured but I can not leave it in the default port.