[XDA App Bugs and Requests] staanferne:
Hi, thanks for this great app.

I am encoutering a pbm with a ftpes storage bookmark on this server (data obtained during a log with winscp):

Remote system = UNIX Type: L8

File transfer protocol = FTP

Cryptographic protocol = TLS/SSL Explicit encryption, TLSv1.2

Encryption algorithm = TLSv1/SSLv3: ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD

Compression = No

------------------------------------------------------------

Certificate fingerprint

d0:1b:fc:f3:22:aa:b1:34:84:1c:fc:66:3f:5e:c2:87:e2:1a:23:73

------------------------------------------------------------

Can change permissions = Yes

Can change owner/group = No

Can execute arbitrary command = Protocol commands only

Can create symbolic/hard link = No/No

Can lookup user groups = No

Can duplicate remote files = No

Can check available space = No

Can calculate file checksum = No

Native text (ASCII) mode transfers = No

------------------------------------------------------------

Additional information

The server supports these FTP additional features:

UTF8

EPRT

EPSV

REST STREAM

SIZE

CLNT

AUTH TLS

PBSZ

PROT

The log is strange, it seems to connect OK, but when it tries to access the list of files, it fails:

‌

38 D/HUB> ITEM >> ftpes://#####.freeboxos.fr

‌39 I/FTPExplorer> Answer: 220 Welcome to Freebox FTP Server.

‌40 I/FTPExplorer> Command: AUTH TLS

‌41 I/FTPExplorer> Answer: 234 Proceed with negotiation.

‌42 I/FTPExplorer> Command: USER <username>

‌43 I/FTPExplorer> Answer: 331 User name okay, need password.

‌44 I/FTPExplorer> Command: PASS ********

‌45 I/FTPExplorer> Answer: 230 User logged in, proceed.

‌46 I/FTPExplorer> Command: FEAT

‌47 I/FTPExplorer> Answer: 211-Extensions supported:

‌48 I/FTPExplorer> Answer: UTF8

‌49 I/FTPExplorer> Answer: EPRT

‌50 I/FTPExplorer> Answer: EPSV

‌51 I/FTPExplorer> Answer: REST STREAM

‌52 I/FTPExplorer> Answer: SIZE

‌53 I/FTPExplorer> Answer: CLNT

‌54 I/FTPExplorer> Answer: AUTH TLS

‌55 I/FTPExplorer> Answer: PBSZ

‌56 I/FTPExplorer> Answer: PROT

‌57 I/FTPExplorer> Answer: 211 End

‌58 I/FTPExplorer> Command: OPTS UTF8 ON

‌59 I/FTPExplorer> Answer: 200 Command Okay.

‌60 I/FTPExplorer> Command: PBSZ 0

‌61 I/FTPExplorer> Answer: 200 Command Okay.

‌62 I/FTPExplorer> Command: PROT P

‌63 I/FTPExplorer> Answer: 200 Command Okay.

‌64 I/FTPExplorer> Command: SYST

‌65 I/FTPExplorer> Answer: 215 UNIX Type: L8

‌66 I/FTPClient> System Type > Type: L8

‌67 I/FTPExplorer> Command: PWD

‌68 I/FTPExplorer> Answer: 257 "/"

‌69 D/FTPExplorer> Current path > /

‌70 I/FTPExplorer> Command: EPSV

‌71 I/FTPExplorer> Answer: 229 Entering extended passive mode (|||771|)

‌72 D/FTP_PARSER> SYST_L8

‌73 I/FTPExplorer> Command: LIST -al

‌74 E/FTPClient> java.lang.NullPointerException

‌75 I/FTPExplorer> Answer: 150 File Status OK.

‌76 I/FTPExplorer> Answer: 426 Data channel closed.

‌77 E/BROWSE_TASK> libs.dc1: Data channel closed.

‌78 I/MiX> PAUSED

The error obtained is 426, menaing no data connection.

The ftp server indicates that the data PASV port is 771. The control port I used in the port advanced parameter is 10921. It seems I need both of these ports to make it work. During the negociation on the control port 10921, the server tells MixPlorer that the data connection will be on the 771 port (this corresponds to the log line 71). How can I configure this second data PASV port? I have tried:

- putting 771 in passive parameter (not working, kind of stall)

- putting 10921 on the bookmark address and 771 in the port, cannot access the server (771 seems to override the :10921)

I have already browsed the FAQ channel and exchanged with @IronTechmonkey who suggested to report this problem here.

Thanks for your time and effort, once again this is a great app!