FWIW, I find hose and faucet useful.  I commonly use two scripts to
do simple file transfer.  'tar' is the "protocol".. ;)

wwserve.sh:
---
#!/bin/bash
if [ "$1" == "" ]; then
  echo "Usage: `basename $0` [tar options] <files>"
else
  echo -e "Starting faucet...\n"
  faucet 12345 --verbose --out --once tar -cvf- "$@"
fi
---

wwget.sh:
---
#!/bin/bash
if [ "$1" = "" ]; then
  echo "Usage: `basename $0` <remotehost> [tar options/files to get]"
else
  remotehost="${1}"; shift
  hose "${remotehost}" 12345 --in tar -xvf- "$@"
fi
---

Notes:
 . no security is provided with this
 . the serve script is set to --once, ie. services one request and
terminates
 . you'll want to change the port listed here, 12345 *grin*.. (no, I
don't actually use that).
 . hose and faucet are part of a package called (?)netpipes in
Slackware

This is uni-directional.  I don't know what your need is.  You could
put a evil twin on 12346 to receive files.
HTH
-Cedar


> From: "Tzahi Fadida" <[EMAIL PROTECTED]>
> 
> Where can i find a a very simple ftp program to run inside a shell account
> in user-mode. features seeked:
> different port then 23,21 whatever so it won't run into the existing ftp daemon.
> home directory as the restricted public dir.
> simple username/password.
> command line operating.


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to