FTP connection problem with custom port

89 views
Skip to first unread message

rmas...@gmail.com

unread,
Nov 14, 2018, 5:45:04 PM11/14/18
to Cyberduck
Hello!
since yesterday I am looking at the problem that I can not connect to my newly created ftp server, it must be in the back, more hidden that's why I changed the port in pure-ftpd to quite high, however, I could not connect to the server with the help of cyberduck. I was looking for a problem on the server side (passive ports, firewalls), I tried to connect through consola and lftp with successful:
ftp -u homepage,********** -p 11122 *******.******.pl
lftp homepage@*******.******.pl:~> ls
drwxr-xr-x    2 homepage   homepage         4096 Nov 13 23:24 .
drwxr-xr-x    2 homepage   homepage         4096 Nov 13 23:24 ..
-rw-r--r--    1 homepage   homepage           18 Apr 11  2018 .bash_logout
-rw-r--r--    1 homepage   homepage          193 Apr 11  2018 .bash_profile
-rw-r--r--    1 homepage   homepage          231 Apr 11  2018 .bashrc
lftp homepage@*******.******.pl:/> put ~/test.php
lftp homepage@*******.******.pl:/> ls
drwxr-xr-x    2 homepage   homepage         4096 Nov 14 23:13 .
drwxr-xr-x    2 homepage   homepage         4096 Nov 14 23:13 ..
-rw-r--r--    1 homepage   homepage           18 Apr 11  2018 .bash_logout
-rw-r--r--    1 homepage   homepage          193 Apr 11  2018 .bash_profile
-rw-r--r--    1 homepage   homepage          231 Apr 11  2018 .bashrc
-rw-r--r--    1 homepage   homepage            0 Nov 14 23:13 test.php
which made me think , is it not a problem with cyberduck , I changed the pure-ftp configurations again:
Bind ***.**.**.**,21

where connection is successful without any additional changes:
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 23:34. Server port: 21.
220 You will be disconnected after 15 minutes of inactivity.
USER homepage
331 User homepage OK. Password required
PASS ***********
230 OK. Current restricted directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 MFMT
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 AUTH TLS
 PBSZ
 PROT
 UTF8
 ESTA
 PASV
 EPSV
 SPSV
 ESTP
211 End.
OPTS UTF8 ON
200 OK, UTF-8 enabled
SYST
215 UNIX Type: L8
PWD
257 "/" is your current location
CWD /
250 OK. Current directory is /
TYPE A
200 TYPE is now ASCII
PASV
227 Entering Passive Mode (***,**,***,**,***,***)
MLSD
150 Accepted data connection
type=cdir;sizd=4096;modify=20181114221358;UNIX.mode=0755;UNIX.uid=1001;UNIX.gid=1002;unique=805g2ac0002; .
type=pdir;sizd=4096;modify=20181114221358;UNIX.mode=0755;UNIX.uid=1001;UNIX.gid=1002;unique=805g2ac0002; ..
type=file;size=18;modify=20180411005301;UNIX.mode=0644;UNIX.uid=1001;UNIX.gid=1002;unique=805g2ac0004; .bash_logout
type=file;size=193;modify=20180411005301;UNIX.mode=0644;UNIX.uid=1001;UNIX.gid=1002;unique=805g2ac0003; .bash_profile
type=file;size=231;modify=20180411005301;UNIX.mode=0644;UNIX.uid=1001;UNIX.gid=1002;unique=805g2ac0005; .bashrc
type=file;size=0;modify=20181114221353;UNIX.mode=0644;UNIX.uid=1001;UNIX.gid=1002;unique=805g2ac0006; test.php
226-Options: -a -l 
226 6 matches total
the same story is when it changes pure-ftpd's port to others, for example 121 and 1121 (lftp works fine but cyberduck not...)

can anyone help?

Reply all
Reply to author
Forward
0 new messages