r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Schemes] Implementors guide

Andreas
11-Jan-2010
[1251x2]
someone had a link the other day which mentioned that the series 
protocol should be available completely
can't remember the link, though :)
Graham
11-Jan-2010
[1253x2]
makes sense
Do you actually use ftp much ?
Andreas
11-Jan-2010
[1255x2]
nope
never :)
Graham
11-Jan-2010
[1257]
me hardly much either!
Andreas
11-Jan-2010
[1258x4]
last time i used it was years ago
so why do we do ftp, then :) ?
should rather do something more useful, like ... dunno
dns, whois
Graham
11-Jan-2010
[1262x2]
why are we doing it ?  as an exercise I guess
dns is done
Andreas
11-Jan-2010
[1264x2]
pop3, imap4, smtp
dns is very rudimentary on linux
Graham
11-Jan-2010
[1266]
Imap4 ... Gabriele has something .. but I'm not sure if he can release 
it or not .
Andreas
11-Jan-2010
[1267x3]
for pop3/imap4 the scheme alone is not enough anyway
at least to be useful for something besides the most basic throwaway 
scripts
but well, maybe for something like gabriele's spam stuff
Graham
11-Jan-2010
[1270]
well, I still occasionally use ftp across my network ...
Andreas
11-Jan-2010
[1271x2]
(was it gabriele's?)
i'd rather need ssh
Graham
11-Jan-2010
[1273]
for scripting backups?
Andreas
11-Jan-2010
[1274x2]
between machines ssh (i.e. scp/sftp) and http are my main mechanisms 
of file transfer
so anything that once was ftp is now either http or ssh :)
Graham
11-Jan-2010
[1276]
Hylafax :)
Andreas
11-Jan-2010
[1277]
hehe
Graham
11-Jan-2010
[1278x4]
I should start work on a hylafax scheme
oops .. need to do a STOR
again, STOR should stream a file from local storage ... and write 
a binary type
file! => stream
binary! => just write
Andreas
11-Jan-2010
[1282]
mhm
Graham
11-Jan-2010
[1283]
oh yeah.. we need that  other scheme ... rpc://
Andreas
11-Jan-2010
[1284x2]
hehe
i could port some xmlrpc stuff over
Graham
11-Jan-2010
[1286]
I'm still using xmlrpc
Andreas
11-Jan-2010
[1287x4]
so do i, for some things :)
a minimal ftp login skeleton, no error handling: http://bolka.at/share/prot-ftpget.r
[temporary url]
written for readability
i think that'll be a rather typical skeleton for request/response 
protocols
Graham
11-Jan-2010
[1291x2]
Why not put false at the bottom ...
or is it the readability thing?
Andreas
11-Jan-2010
[1293x3]
undecided about that
yeah, that's it
if we can keep the awake handler at this size, i'm fine with false 
at the bottom
Graham
11-Jan-2010
[1296]
Mines a bit long ...
Andreas
11-Jan-2010
[1297]
well, see you around
Graham
11-Jan-2010
[1298]
Thanks muchly.
Graham
12-Jan-2010
[1299x2]
ftp STOR now supported ..
Just wondering .. if we want a graphic file transfer progress meter, 
we need a way to tap into the event handler to catch the number of 
bytes being written/read ...