B4J Question FTP server with SSL

JackKirk

Well-Known Member
Licensed User
Longtime User
Some time ago I implemented an FTP server in an AWS Windows EC2 instance using:

https://www.b4x.com/android/forum/t...d-with-socket-and-asyncstreams.74320/#content

as a template which I see sits on the jNetwork library.

On the client side (B4A) I used the Net library (jNet in B4J?).

Everything works fine just using plain FTP.

I am now going thru my project bulletproofing everything.

One of the things I would like to do is use SSL.

The client side has appropriate properties (.UseSSL etc) but I can't for the life of me work out how to do it on the server side.

Does the template I used for my FTP server have the ability to handle SSL?

If so how?

Thanks in advance for any help...
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
There is currently no SSL ServerSocket so it is not possible. If you are just using FTP to upload or download files then it shouldn't be difficult to switch to jServer and OkHttpUtils2 on the client. jServer is much more powerful and it does support SSL.

Another option is to install an external FTP server on your server.
 
Upvote 0
Top