I'm planning on created a kotlin script which will...
# kotlin-native
j
I'm planning on created a kotlin script which will be compiled to "Native", but I will need a FTP library. Does anyone know of any FTP library that will work for this?
v
I think libcurl supports FTP so if you are willing to go the
cinterop
route it might get the job done.
n
Jógvan Olsen - Are you after FTP or SFTP? If it is SFTP then libssh (works with K/N) is the library to use: https://api.libssh.org/stable/index.html
j
It's SFTP. So I'm gonna try out libssh with kotlin 🙂
v
Good luck, shouldn't be that hard if I look at this: https://gist.github.com/cy6erGn0m/134938242f28b27118039c038ea8c722
j
Thanks a bunch for this 🤩