Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in connection with FTPS help me #29

Open
nicolarigoni opened this issue Dec 6, 2023 · 1 comment
Open

Error in connection with FTPS help me #29

nicolarigoni opened this issue Dec 6, 2023 · 1 comment
Labels
question Further information is requested

Comments

@nicolarigoni
Copy link

I'm trying to make a FTPS connection but it did't work
my code:

FTPConnect ftpConnect = FTPConnect('devftp.made.net', user: AccountManager.instance.agente!.companyConfiguration!.usernameFTP, pass: AccountManager.instance.agente!.companyConfiguration!.passwordFTP, showLog: kDebugMode, port: 21, securityType: SecurityType.FTPS); await ftpConnect.connect();

here is the log:

flutter: [2023-12-06 15:19:25.576751] Connecting... flutter: [2023-12-06 15:19:25.613803] Connection established, waiting for welcome message... flutter: [2023-12-06 15:19:25.918900] < FTPReply = [code= 220, message= 220 Welcome on Made in App FTP server. Shaken, not stirred.] [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: HandshakeException: Handshake error in client (OS Error: WRONG_VERSION_NUMBER(tls_record.cc:231)) #0 _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:99:46) #1 _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:143:25) #2 _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:920:54) #3 _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1049:19) <asynchronous suspension>

@salim-lachdhaf
Copy link
Owner

did you tried with FTPES ?

@salim-lachdhaf salim-lachdhaf added the question Further information is requested label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants