fileput
Purpose:
-
Put a file onto a remote server.
Enter:
-
fileput <host> <userid> <password> <remote_dir> <filename> [done_event]
Where:
-
host
Specify the hostname of the remote server.
userid
Specify the user account on the remote server.
password
Specify the user account password.
remote_dir
Specify the destination directory on the remote server to place the file.
filename
Specify the local filename to transfer.
done_event
Optional. Specify the name of event to set when the file transfer completes.
Example:
-
fileput ctcxsshsda1.ctg.cummins.com bo177 dt0727 /home04/cell421/data/cell421 010608AA.421 ftp_done
Notes:
-
1. You can only put one file at a time.
2. The command must be run in the directory where the file to be put is located. Change to that directory before running fileput.