Jump to content

[Solved] Ftp (Filezilla)


mazix

Recommended Posts

I created a secondary Ftp account - other than the default Ftp account that uses the Cpanel login parameters.

 

Clicking the Configure FTP Client link for that Ftp account in the Cpanel FTP Accounts page gives :

Manual Settings
FTP Username: user1@myaccount.heliohost.org
FTP Server: ftp.myaccount.heliohost.org
FTP Server Port: 21
SFTP Server Port: 1312

 

Therefore, I configure the Filezilla connection as :

Host: ftp.myaccount.heliohost.org
Port: 1312
Protocol: SFTP
User: user1@myaccount.heliohost.org
Password:_correct_password_for_user1_

 

Then, launching that Filezilla connection shows this in the transaction log :

Status:	Connecting to ftp.myaccount.heliohost.org:1312...
Response:	fzSftp started
Command:	open "user1@myaccount.heliohost.org@ftp.myaccount.heliohost.org" 1312
Command:	Pass: *******
Error:	Authentication failed.
Error:	Critical error
Error:	Could not connect to server

 

It appears that Filezilla appends the host field to the username field.

 

So, I tried a slight modification of the Filezilla connection config :

Host: ftp.myaccount.heliohost.org
Port: 1312
Protocol: SFTP
User: user1
Password:_correct_password_for_user1_

 

But that still results in :

Status:	Connecting to ftp.myaccount.heliohost.org:1312...
Response:	fzSftp started
Command:	open "user1@ftp.myaccount.heliohost.org" 1312
Command:	Pass: *******
Error:	Authentication failed.
Error:	Critical error
Error:	Could not connect to server

 

I've tried other variations of Filezilla connection configuration for host and user to no avail.

 

What's the trick / secret for using an alternate Ftp account with heliohost.org ?

 

BTW : Filezilla SFTP with the default account settings does work Ok using this connection configuration :

Host: myaccount.heliohost.org	(or ftp.myaccount.heliohost.org)
Port: 1312
Protocol: SFTP
User: myaccount
Password:_correct_password_for_myaccount_

Link to comment
Share on other sites

> Does it work okay using just plain ftp?

Only if Filezilla is specifically configured.

 

Filezilla configured as :

Host: ftp.myaccount.heliohost.org
Port: 
Protocol: FTP
User: user1
Password:_correct_password_for_user1_

Doesn't work.

 

Status:    Resolving address of myaccount.heliohost.org
Status:    Connecting to 216.218.192.170:21...
Status:    Connection established, waiting for welcome message...
Response:    220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:    220-You are user number 7 of 30 allowed.
Response:    220-Local time is now 13:06. Server port: 21.
Response:    220-This is a private system - No anonymous login
Response:    220-IPv6 connections are also welcome on this server.
Response:    220 You will be disconnected after 2 minutes of inactivity.
Command:    USER user1
Response:    331 User user1 OK. Password required
Command:    PASS *******
Response:    530 Login authentication failed
Error:    Critical error
Error:    Could not connect to server

 

 

Apparently, in Ftp mode Filezilla doesn't append the host field to the user field to obtain the final USER command.

 

If configured this way :

Host: ftp.myaccount.heliohost.org
Port: 
Protocol: FTP
User: user1@myaccount.heliohost.org
Password:_correct_password_for_user1_

 

does work :

Status:    Resolving address of myaccount.heliohost.org
Status:    Connecting to 216.218.192.170:21...
Status:    Connection established, waiting for welcome message...
Response:    220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:    220-You are user number 13 of 30 allowed.
Response:    220-Local time is now 13:22. Server port: 21.
Response:    220-This is a private system - No anonymous login
Response:    220-IPv6 connections are also welcome on this server.
Response:    220 You will be disconnected after 2 minutes of inactivity.
Command:    USER user1@myaccount.heliohost.org
Response:    331 User user1@myaccount.heliohost.org OK. Password required
Command:    PASS *******
Response:    230 OK. Current restricted directory is /
Command:    SYST
Response:    215 UNIX Type: L8
Command:    FEAT
Response:    211-Extensions supported:
Response:     EPRT
Response:     IDLE
Response:     MDTM
Response:     SIZE
Response:     REST STREAM
Response:     MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response:     MLSD
Response:     AUTH TLS
Response:     PBSZ
Response:     PROT
Response:     ESTA
Response:     PASV
Response:     EPSV
Response:     SPSV
Response:     ESTP
Response:    211 End.
Status:    Server does not support non-ASCII characters.
Status:    Connected
Status:    Retrieving directory listing...
Command:    PWD
Response:    257 "/" is your current location
Command:    TYPE I
Response:    200 TYPE is now 8-bit binary
Command:    PASV
Response:    227 Entering Passive Mode (216,218,192,170,116,232)
Command:    MLSD
Response:    150 Accepted data connection
Response:    226-Options: -a -l
Response:    226 12 matches total
Status:    Directory listing successful

Link to comment
Share on other sites

That second way is the correct way to configure Filezilla for plain FTP. As you discovered, the username must be user@myaccount.heliohost.org, not just user.

 

Also, many if not most clients don't append the host automatically, as many servers require that you leave the hostname out.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...