net-lib/ftp enhancement

22 views
Skip to first unread message

Dominik Pantůček

unread,
Nov 17, 2020, 12:46:49 PM11/17/20
to Racket Users
Hello Racketeers,

we were working on a module today that uses the net/ftp module for batch
communication with some remote systems and realized we REALLY could use
variants of ftp-download-file and ftp-upload-file that would accept
ports instead of just folders/paths.

So I looked at the source and found out the code is really easy to
extend this way and added these variants.

You can see the patch in [1].

Do you think that more people would benefit from this? If no, we'll just
use a patched version of net/ftp in our project. If yes, I will update
the scribblings as well before submitting a PR.

Any thoughts?


Cheers,
Dominik


[1]
https://github.com/dzoep/racket/commit/277f857566b48037ed57b329443b591024acf43b

Sam Tobin-Hochstadt

unread,
Nov 17, 2020, 1:23:20 PM11/17/20
to Dominik Pantůček, Racket Users
If you found it useful, it's probably reasonable to add it to the
library for everyone.

Sam
> --
> You received this message because you are subscribed to the Google Groups "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/a358e1ee-f78f-0148-99ac-4364f7dc6e42%40trustica.cz.
Reply all
Reply to author
Forward
0 new messages