Is it possible to send a text string to a user in a bash script which is getting called as a transfer protocol?
I'm working on a script to send files via an
http:// link, and I have all of it
working but telling the user where to download it.
I'm very new to UNIX/socket programming, would this involve the %i and %h (ip address and socket descriptor) parameters?
I tried something like: echo -e "Test\n" | netcat $1 $2
where $1 = %i and $2 = %h and saw nothing. I've tried it with both socket io enabled and disabled for the protocol from scfg.
---
■ Synchronet ■ c.o.r.t.e.x 2.0.2.0 |
telnet://deepthaw.net
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)