I've got a vendor who has an ftps site that I need to upload files to. I found lftp which seems to be the ideal solution. I used it to browse an anonymous CentOS ftp server and experimented with a few commands to try and build up some proficiency. However in trying to connect or run commands on my vendor's ftp server, I'm lost.
For example, I seem to have no problem connecting:
Quote:
[root@localhost ~]# lftp username@serveripaddress -d
|
But if I try list the directory or run any other commands I get the following:
Quote:
lftp username@serveripaddress:~> ls
---- Connecting to serveripaddress (serveripaddress) port 21
<--- 220 Microsoft FTP Service
---> FEAT
<--- 211-Extended features supported:
<--- LANG EN*
<--- UTF8
<--- AUTH TLS;TLS-C;SSL;TLS-P;
<--- PBSZ
<--- PROT C;P;
<--- CCC
<--- HOST
<--- SIZE
<--- MDTM
<--- REST STREAM
<--- 211 END
---> AUTH TLS
<--- 234 AUTH command ok. Expecting TLS Negotiation.
---> LANG
Certificate depth:
**snipped out certificate info**
<--- 200 Language is now English, UTF-8 encoding.
---> OPTS UTF8 ON
<--- 200 OPTS UTF8 command successful - UTF8 encoding now ON.
---> HOST serveripaddress
<--- 504 Server cannot accept argument.
---> USER username
<--- 331 Password required for username.
---> PASS XXXX
<--- 530 User cannot log in, home directory inaccessible.
---- Closing control socket
ls: Login failed: 530 User cannot log in, home directory inaccessible.
|
The debug info seems pretty obvious but I don't know enough about lftp to figure out a solution. How is that I'm authenticating with the server but when running a command, still being prompted for authentication? I'm still working my way through lftp tutorials but am a little puzzled.