"Not connected" message when any command is entered after FTP login

ftp

Solution

In the /etc/vsftpd.conf file uncomment the following:

- local_enable=YES

- write_enable=YES

- anon_upload_enable=YES

Restart the FTP Service using the command: - sudo /etc/init.d/vsftpd restart

Problem

I am trying to use FTP from command prompt.So when I enter ``` c:\> ftp www.test.com ``` it waits for a while and changes to `ftp>`. So I thought that the connection was successful even though it did not ask me for a username and password. Now when I enter any command in this like `ls` or `dir` it gives a message saying "Not Connected". I am not sure why it is saying that, is it that even if the connection fails the command prompt changes to `ftp>`?

Original source