Error when connecting to remote FTP site

Posted on 2007-12-04
Last Modified: 2013-12-16
When I try to connect to a remote FTP server, I get the following below:

[root@oratest1 ~]# ftp
ftp> open
Connected to IPADDRESS.
220 X2 WS_FTP Server 5.0.4 (2840694631)
504 unknown security mechanism
504 unknown security mechanism
KERBEROS_V4 rejected as an authentication type
Name (IPADDRESS:root): ftp_user
331 Password required
230 user logged in
Remote system type is UNIX.
ftp> ls

421 Service not available, remote server has closed connection
Passive mode refused.  Turning off passive mode.
No control connection for command: Transport endpoint is not connected

How can I avoid this?

Question by:pkowal74
LVL 13

Accepted Solution

WizRd-Linux earned 500 total points
ID: 20408120

By running typing passive first this will return, passive mode off and allow an active connection.

Expert Comment

by:Jeff Perry
ID: 20408124
FTP FTPIPADDRESS user user-name [password]

Open in new window


Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Samba 4, Users Permission, 5 68
When trying to install php-fpm on CentOS 7 - GPG error 2 101
NTPD Client Port Usage 12 65
CentOS Backup Options 3 18
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question