FTP server in rebol?

Started by Danie on 18-Feb-2016/5:38:21-8:00
Any way to implement FTP functionality as a server in pure rebol code?
Do you mean replacing the ftp "demon" that runs on the server, with a REBOL program that does the same stuff? AIX5:prod:/u01=>ps -ef | grep ftp prod 29094 34020 1 08:33:02 pts/10 0:00 grep ftp prod 34816 9546 0 Jan 09 - 0:00 ftpd prod 39800 9546 0 08:23:50 - 0:00 ftpd AIX5:prod:/u01=>
Steve, I want a tool like the Fileserver script, to allow someone to use a cheap hosting account for FTP purposes. Sort of what to build a messaging app and see how far I can push it. Seeing that red is soon going to have io capabilities. Is it in any way possible?
you can call a command line FTP app and script it from REBOL, using 'call
Depending on your needs, the better solution is most likely to not to use FTP at all. If you're building a messaging app, FTP probably shouldn't be needed. Building an application on a server which you have control of, you can connect to Rebol directly over TCP, and directly send messages, files, etc., and create a file server for browsers, etc. Most of those things just require a few lines of code.

Reply