> Brian Somers <br...@awfulhak.org> writes: > > What about a non-interactive command for pushing stuff via ftp/http ? > > This has always been lacking IMHO (``ftp -n <<EOF'' is full of > > gotchas). > > > > I haven't actually looked at libfetch, but I would think that the > > functionality should be there. > > Libfetch supports FTP uploads (no HTTP uploads yet, I'm afraid, but > it's on the todo-list). It should be trivial to write a small app > which uploads stdin to a specified URL. The following should work > (modulo error checking):
Thanks - that's *really* impressive ! (and just what I was after). > DES > -- > Dag-Erling Smorgrav - d...@flood.ping.uio.no -- Brian <br...@awfulhak.org> <br...@freebsd.org> <http://www.Awfulhak.org> <br...@openbsd.org> Don't _EVER_ lose your sense of humour ! <br...@uk.freebsd.org> To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message