Replies: 3 comments
-
I always use FTPS (explicit) connection without problem in my code since years. |
Beta Was this translation helpful? Give feedback.
-
For example
|
Beta Was this translation helpful? Give feedback.
-
Sorry for the late reply. Meanwhile I managed to upgrade to POCO version 1.13.2, because I thought with solved issue #4103 my problem would also be solved. But, alas, it isn't. Trying to connect explicitly to FTP server as you stated it still gives me error In both cases the ftp client session object tells on Did you check what Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
I've tried to establish a FTP connection (implicit and explicit, with valid and invalid certificate) to a vsftpd server within a docker container (based on this container: https://hub.docker.com/r/loicmathieu/vsftpd) with POCO
FTP(S)ClientSession
.See my code example for an implicit FTP connection expecting a self signed certificate below:
I always receive an error as soon as a data channel is about to becreated:
NLST command failed: 522 Data connections must be encrypted.
In the example the line whereFTPCLientSession::beginList()
is called.I'm using:
Thanks for your support.
Beta Was this translation helpful? Give feedback.
All reactions