add cl-ftp

fixes https://github.com/ciel-lang/CIEL/issues/55
This commit is contained in:
vindarel 2024-08-30 11:07:21 +02:00
parent 35f16fe344
commit b947ffcf3f
3 changed files with 23 additions and 0 deletions

View file

@ -59,6 +59,9 @@
:lquery
:spinneret ;; lispy templates. Used in simpleHTTPserver.lisp
;; other networking:
:cl-ftp ;; depends on only: split-sequence and usocket.
;; GUI
:nodgui ;; ltk fork with built-in themes and more widgets.

View file

@ -7,6 +7,7 @@
- cl-ansi-text: ANSI control string characters, focused on color
- cl-cron: A simple tool that provides cron like facilities directly inside of common lisp. For this to work properly note that your lisp implementation should have support for threads
- cl-csv: Facilities for reading and writing CSV format files
- cl-ftp: send or receive files from FTP.
- cl-ppcre: Perl-compatible regular expression library
- cl-reexport: Reexport external symbols in other packages.
- clesh: Clesh is a very short program that provides

View file

@ -842,6 +842,25 @@ We ship:
<https://lispcookbook.github.io/cl-cookbook/web.html>
## Networking
We ship:
- [cl-ftp](https://github.com/pinterface/cl-ftp). This is a typical Lisp library that looks abandoned, but just works©.
It is available under the `ftp` package name. Here's a quick snippet:
```lisp
(ftp:with-ftp-connection (conn :hostname (get-hostname)
:username (get-ftp-username)
:password (get-password)
:passive-ftp-p t)
(ftp:store-file conn in-filename out-filanem))
```
and that's it!
## Development
### Defining packages