shaqian / flutter_ssh

SSH and SFTP client for Flutter
https://pub.dartlang.org/packages/ssh
MIT License
117 stars 83 forks source link

Unable to connect to ftp server #16

Closed sudamchole closed 5 years ago

sudamchole commented 5 years ago

I am getting this error- E/SshPlugin( 7624): Connection failed: connection is closed by foreign host I/flutter ( 7624): Error: connection_failure

I have tried from file zila it is connecting but from android device it gives me this error. using port 21

shaqian commented 5 years ago

Hi sudamchole,

This plugin wraps JSch on Android. According to the discussion below, JSch doesn't support FTP. https://stackoverflow.com/questions/7393545/how-can-i-access-an-ftp-server-with-jsch

Thanks, Qian