> I'm research to make a idea if possible.
> I want to write a transfer protocol to send the file via email instead of
> download..(i maybe ear previous but i can find if exist)
> The five step are:
> 1- The user select the file for download
> 2- Select this protocol from list
> 3- Prompt for email address
> 4- Generate and send mail with the attach file (or maybe a link to direct
> dowload)
> 5- Return with "file download ok"
> I test with a script in javascript and discover that i can use the raw
> socket to interact with this session.
> I get the client.socket and write to him socket.send("Give me your email,
> please"), this is ok.
> i now, i think that i must use socket.receiv() the get the user input
> Then, how to return to synch and advertise that the file "was download"
> successfully? because i get a "the file was not downloaded" error
> i need to know how to implement the step 3 and 5 basically
> any info or doc i'll be very grearful!
> thanks!
> Saludos!
Good. Reading the sexys source code i found that it using a file called
protocol.log i will investigate =)
Ragnarok
---
Dock sud BBS
http://bbs.docksud.com.ar
þ Synchronet þ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar -
telnet://bbs.docksud.com.ar
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|