1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Who to connect in filezilla with provided ftp credentials ?

Discussion in 'Site & Server Administration' started by mstdmstd, Aug 15, 2020.

  1. #1
    Hello,
    From my client I received ftp account and sample listing, that credentials are valid:
    ubuntu@ip-CLIENT_IP:~$ ftp CLIENT.REMOTE.SERVER
    Connected to CLIENT.REMOTE.SERVER.
    220 ProFTPD Server (ProFTPD) [CLIENT.SERVER.IP]
    Name (CLIENT.REMOTE.SERVER:ubuntu): SERVERUSER
    331 Password required for SERVERUSER
    Password:
    230 User SERVERUSER logged in
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> ls
    200 PORT command successful
    150 Opening BINARY mode data connection for file list
    -rwxrwxrwx 1 SERVERUSER psacln 692 Mar 9 21:29 Dockerfile-composer
    -rwxrwxrwx 1 SERVERUSER psacln 508 Mar 9 21:29 Dockerfile-nginx
    Code (markup):



    I have not worked with ftp last several years and maybe I forgot something, but I opened filezilla and tried to connect
    with provided credentials and got error :

    I got error :
    Status: Connecting to CLIENT.SERVER.IP:22...
    Status: Connection established, waiting for welcome message...
    Response: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
    Error: Cannot establish FTP connection to an SFTP server. Please select proper protocol.
    Error: Critical error: Could not connect to server
    
    Code (markup):
    I entered parameters :
    https://prnt.sc/u005uz

    Are some of them wrong ? Which valid?

    Thanks!
     
    mstdmstd, Aug 15, 2020 IP
  2. Efetobor Agbontaen

    Efetobor Agbontaen Active Member

    Messages:
    136
    Likes Received:
    41
    Best Answers:
    5
    Trophy Points:
    85
    #2
    The reason is because the server runs on Secure FTP (SFTP) instead of FTP. Normally, ftp runs on port 21 and SFTP runs on port 22. In your screenshort, you are using port 22 but connecting with FTP.

    To fix it, select SFTP in the protocol dropdown. That should work.
     
    Efetobor Agbontaen, Aug 24, 2020 IP