Next: The GETCOMM/-GETCOMM Command
Up: Control Commands
Previous: The GET and TGET
PUT <remote_relative_path/remote_filename> <local_path/local_filename>
Allows a client to upload a file through Anetd. The maximum file size
is 63K bytes. The content in the file (local_filename) will be put in
the file (remote_filename) in the client's code installation directory
at the server side.
- remote_relative_path/remote_filename specifies the
name of file to be created. It will be written under the code
installation directory at the host side. For security reasons,
it cannot be written under any parent directory of the
installation directory, but can be written under any child
directory specified by user as remote_relative_path.
- local_path/local_filename specifies the
path of file and the name of the local file to be uploaded
This command uploads the file /homes/user1/config at the client side (apple) to
/homes/user/anetd/var/88aa22bb/newdir/testfile on host side (berry).
(machine berry has ip address in hex as 88aa22bb)
[apple]% sc.solaris host PUT newdir/testfile /homes/user1/config