From: framstag@rus.uni-stuttgart.de (Ulli Horlacher)
Subject: sendfile - send files without ftp/mail
Date: 1996/03/12 [thread overview]
Message-ID: <cola-liw-826666819-15371-1@oravannahka.helsinki.fi> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Ever tried to send someone a *really* big file or a lot of files?
Are you an old Bitnet hacker and miss the sendfile service?
Do you want to send your friends one-line text messages directly onto
their terminals?
Then I have the solution for you: sendfile for the Internet.
Sendfile has been developped on Linux and is availlable for many other
Unix systems, too.
Begin3
Title: sendfile
Version: 1.4
Entered-date: 11-MAR-1996
Description: Sendfile is an implementation of the SAFT-protocol (RFC
pending) and allows one to send asynchronously files or
one-line messages from any user A to any user B on the
Internet without fighting with file size limitations or
MIME.
Keywords: sendfile, SAFT, Internet, Bitnet
Author: framstag@rus.uni-stuttgart.de (Ulli Horlacher)
Maintained-by: framstag@rus.uni-stuttgart.de (Ulli Horlacher)
Primary-site: ftp://ftp.uni-stuttgart.de/pub/unix/comm/misc/sendfile.tar.gz
150 KB sendfile-960306.tar.gz
Platform: Linux, other Unix
Copying-policy: GPL
End
Sendfile / SAFT
Sendfile is an asynchronous file transfer service for the Internet, like
the sendfile facility in Bitnet: Any user A can send files to another user B
without B being active in any way.
The existing standard file transfer (ftp) is a synchronous service: The
user must have access to an account on the sending and on the receiving
site, too.
A user based data exchange via anonymous ftp server is complicated and in
respect to security out of question. Sending of files with e-mail is an
asynchronous process but complicated too (binary data have to be
specially encoded before sending and decoded after receiving). You can not
transfer large files this way because many mail systems limit the maximum
size of mails. With both procedures you also loose nearly all file
attributes.
Sendfile for Unix which is an implementation of the SAFT protocol (Simple
Asynchronous File Transfer) now offers you a true asynchronous file
transfer service for the Internet. The SAFT protocol will be submitted as
an RFC in the near future.
Sendfile is a client/server application and contains:
- sendfiled : the server (daemon)
- sendfile : a client for sending files
- sendmsg : a client for sending one-line messages
- receive : a client for picking up already received files
- documentation: README-files for a quick overview, Unix man pages and
a 40 page description of the protocol and the programs.
The sendfile client is a user program which sends files to the sendfiled
server of the destination system. The sendfiled receives the files, saves
them in the local spool area and informs the recipient who is now able to
copy the files in his directory with the receive client. The original
files in the spool will be deleted then.
Examples for the sendfile client:
$ sendfile doc.ps zrxh0370
$ sendfile -a Sources *.f90 Makefile uranus@bigvax.inka.de
Sendfile automatically compresses the files before sending in order to
save net bandwith. It is also possible to send several files or whole
directories as one archive file (see second example above).
The sendmsg client is a user program which sends one-line text messages to
the sendfiled which itself directly writes them onto the recipient's
terminal.
Example for the sendmsg client:
$ sendmsg framstag@linux
message: Pizza is ready!
The addresses you specify with sendfile and sendmsg have to be real existing
Internet accounts and must not be generic mail addresses (so called mx
records).
To pick up files from the spool one uses the receive client. Example:
$ receive -l
From zrxh0370@baracke.rus.uni-stuttgart.de (Ulli Horlacher)
1) 1995-Aug-10 15:41:24 3 KB README
2) 1995-Aug-10 15:41:37 30 KB doc.txt
3) 1995-Aug-10 15:42:09 113 KB Sources (archive)
$ receive README
%receive-I, README received
So far, sendfile runs on AIX, BSDI, Convex-OS, Digital Unix, FreeBSD,
HP-UX, IRIX, Linux, NeXTstep/Mach, OSF/1, SunOS 4, SunOS 5 (Solaris) and
Ultrix. An implementation for VMS and OS/2 is in preparation.
Sendfile needs the gcc compiler at compile time and gzip at run time. GNU
recode is optional if once there will be a SAFT implementation on non-ISO
coding systems like MS-DOS.
The sendfiled server has to be installed by root because it is a
privileged Internet daemon. The clients may run as normal user programs.
The installation is either be done with an automatic script (no questions,
no answers) or manually with the help of a detailed description file.
Sendfile does not cause any security problems because the clients run in
user mode and the server is only called under control of the inetd. The
sendfiled only writes in the user spool directory and only under the
recipient's UID. The administrator may create a file containing the names
of those users who are not allowed to use the sendfile/sendmsg service and
he may limit the size of the spool (disk quota). The user himself may
create a file containing a list of addresses from which he does not want
any submissions.
SAFT uses the tcp port 487, which has been reserved by the IANA
(Internet Assigned Numbers Authority):
ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers
SAFT/sendfile has been written by Ulli Horlacher
(framstag@rus.uni-stuttgart.de).
URL: ftp://ftp.uni-stuttgart.de/pub/unix/comm/misc/sendfile.tar.gz
- --
\ Ulli 'Framstag' Horlacher \ Information Services at Computer Centre RUS \
\ Universitaet Stuttgart \ Allmandring 30 \ 70550 Stuttgart \ Germany \
\ framstag@rus.uni-stuttgart.de \ psi%0262450502601::main01::ccc_horl \
\ S=horlacher;OU=rus;P=uni-stuttgart;A=d400;C=de\ccc_horl@dulruu51.bitnet \
\ "Unix scripts are fun to write but unfortunately write only." M. Lemke \
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAwUBMUXsXIQRll5MupLRAQH0OQP/fS8Tirg3mGaGqz/VfXvPJi7Xi1zTzhdJ
zmJNOHrTPxbiMhe95ZH+JMdKHnO2dvlZuVYk56dtg/KKGAo8yx69BheCMkJ9DquI
YPvPGMT+J4w9OK8HZyw+cRjFAZLCHnfNBHoREKCAs7gVp3ixIeBlYfLXeRNfGb/b
QUm61Q17vkc=
=LXo6
-----END PGP SIGNATURE-----
--
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
reply other threads:[~1996-03-12 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox