Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ftp

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>?

like image 702
Avinash Avatar asked Jul 16 '13 17:07

Avinash


Video Answer


1 Answers

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

like image 161
Love Bisaria Avatar answered Nov 15 '22 07:11

Love Bisaria



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!