1753276 Members
4845 Online
108792 Solutions
New Discussion юеВ

ftp errors

 
SOLVED
Go to solution
Lakshmikanth Baddam
Frequent Advisor

ftp errors

i am unable to use any commands in ftp
please find the below error
it gives me some
"530 Please login with USER and PASS"

ftp> pwd
530 Please login with USER and PASS.
ftp> pwd
530 Please login with USER and PASS.
ftp> ls
530 Please login with USER and PASS.
530 Please login with USER and PASS.
ftp> lcd
Local directory now /
ftp> cd /tmp/hppatch
530 Please login with USER and PASS.
ftp> lcd
Local directory now /
ftp> lcd /home/lkanth
Local directory now /home/lkanth
ftp> pwd
530 Please login with USER and PASS.
ftp> cd /psoft/fin
530 Please login with USER and PASS.
ftp> ls -l
530 Please login with USER and PASS.
ftp> get PHSS_33350
530 Please login with USER and PASS.
ftp> cd /
530 Please login with USER and PASS.
13 REPLIES 13
A. Clay Stephenson
Acclaimed Contributor

Re: ftp errors

It means that you need to login with a username and password.

the specific FTP command is "user" which will prompt you for the user name and then prompt you for the password. After those are sucessfully answered then you can proceed with your commands like cd, get, put, ... .
If it ain't broke, I can fix that.
Kofi ARTHIABAH
Honored Contributor
Solution

Re: ftp errors

Hello Lakshmikanth

After you start the ftp client, you have to logon to a server. to do that you can use the open

ftp> open

you will be prompted for a username and a password.

you could also just type in USER at the ftp prompt

ftp> user
(username)
Password required for

at this point, you are authenticated and you can get put and all the fun stuff.

Enjoy.

Kofi
nothing wrong with me that a few lines of code cannot fix!
Lakshmikanth Baddam
Frequent Advisor

Re: ftp errors

Kofi,

your trick worked thnx a lot.
Lakshmikanth Baddam
Frequent Advisor

Re: ftp errors

Hi Kofi,

again am getting this error i have ried the steps you gave me..now it is not working

#ftp 3.174.241.24
Connected to 3.174.241.24.
220 stm3ps FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_32286
17:37:21 GMT 2005) ready.
Name (3.174.241.24:root): lkanth
331 Password required for lkanth.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
530 Please login with USER and PASS.
ftp> open stm3ps
Already connected to 3.174.241.24, use close first.
ftp> pwd
530 Please login with USER and PASS.
ftp> user
(username) lkanth
331 Password required for lkanth.
Password:
530 Login incorrect.
Login failed.
ftp> pwd
530 Please login with USER and PASS.
ftp>
IT_2007
Honored Contributor

Re: ftp errors

since you don't have login on the remote server. use following info to login

username: anonymous
password: your e-mail here like lkanth@gmail.com

Dave Hutton
Honored Contributor

Re: ftp errors

I'm guessing your password has been locked out due to too many incorrect login attempts?

I would check that account and make sure its not locked.
Lakshmikanth Baddam
Frequent Advisor

Re: ftp errors

I have tried with anonymous user still it gives same error
530 User anonymous unknown.

My id is not locked as i have logged in again using my id on both the servers once again to confirm it...


Dave Hutton
Honored Contributor

Re: ftp errors

Anything show up in your syslog.log on the server your trying to go to?
IT_2007
Honored Contributor

Re: ftp errors

check if your id exist in ftpusers.deny file. If so, then remove it.