aslze / asl

A compact C++ cross-platform library including JSON, XML, HTTP, Sockets, WebSockets, threads, processes, logs, file system, CSV, INI files, vectors and matrices, etc.
Other
69 stars 17 forks source link

Feature request: FTP & SMTP support (with SSL and without) #7

Open ghost opened 5 years ago

ghost commented 5 years ago

With disabled by default CMake options

aslze commented 1 year ago

I'm going to close this as too complicated for the amount of work I can put here, and not in my roadmap.

I did consider FTP and/or SMTP sometime in the past and learned about the protocols. With FTP there is this distinction between passive and active modes (the latter being strange in that the client has to act as a server too), the human-oriented directory listings, and the way it uses SSL. For SMTP I found a bit complicated the authentication part.

Might go back to this in the future.

aslze commented 4 months ago

FYI, I created this basic FTP client class in a separate repo:

https://github.com/aslze/asl-ftp

Only plain (no TLS) FTP at the moment. This will not go much further. Maybe implicit TLS mode and little more.

aslze commented 4 months ago

Now asl-ftp supports implicit TLS too. Requires ASL built with TLS support (ASL_TLS cmake option).