Re: [racket-users] net-lib/ftp enhancement

2020-11-17 Thread Sam Tobin-Hochstadt
If you found it useful, it's probably reasonable to add it to the
library for everyone.

Sam

On Tue, Nov 17, 2020 at 12:46 PM Dominik Pantůček
 wrote:
>
> 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
>
> --
> 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+unsubscr...@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.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAK%3DHD%2BaNC0Th0XdQrWgr41uwaXc7YPO%2BFKr4r-VvZxg7MvuZig%40mail.gmail.com.


[racket-users] net-lib/ftp enhancement

2020-11-17 Thread Dominik Pantůček
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

-- 
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+unsubscr...@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.