crifurch / pure_ftp

MIT License
6 stars 3 forks source link

Flutter Web Support! #10

Open MalikSamiAwan opened 4 months ago

MalikSamiAwan commented 4 months ago

Does this package supports flutter web? i was not able to execute is sample example in flutter web. I have a use case where i want to download files from ftp in flutter web

crifurch commented 1 month ago

@MalikSamiAwan For now this package doesn't support features on web

lewinpauli commented 1 month ago

Web support would be great!! small hint: currently the package is marked as web compatible on pub.dev

BS-Wissem commented 1 month ago

Hello and thanks for this great package, Could you please tell us if there is an expected date to get the web support working, even as basic directory listing? Thanks

crifurch commented 1 month ago

Hello and thanks for this great package, Could you please tell us if there is an expected date to get the web support working, even as basic directory listing? Thanks

Hello. I will mind how implements web part soon

crifurch commented 1 month ago

Hello and thanks for this great package, Could you please tell us if there is an expected date to get the web support working, even as basic directory listing? Thanks

I don't found any really work solution to make it works on web

crifurch commented 1 month ago

one way use ws2s service, but will lock possibility to connect no public ftp, or use chrome api, but it will not work on another browsers

BS-Wissem commented 1 month ago

Javascript libraries could not help either?

BS-Wissem commented 1 month ago

What is strange is that according to the documentation, ftp operations are possible, but no else where is documented or mentioned.

HttpRequest can be used to obtain data from HTTP and FTP protocols

https://api.flutter.dev/flutter/dart-html/HttpRequest-class.html