OnSTAFF 2000
Instructions to put the files from Unix/Aix onto a PC workstation using ftp (file transfer protocol)
You will need to have network connection between your main server and the workstation you wish to send the file to. If you use Tiny Term to connect to On-Staff from the workstation you are networked.
If you would like to see where the files reside on the Unix/Aix system you can do the following before putting the files on your PC:
At any menu press [Control][E], then select Unix Shell
At the $ prompt type: l (Unix) or ls (Aix) (this lists the files & tables with in the directory)
ls -lt out*¦more will list the files with their size, and will stop at the
bottom of a page. Press [Enter] to continue viewing the list, [Q] to stop.
Your cursor will be returned to the $ prompt. To get back into On-Staff press [Control][D]
NOTE: If you have created a file from OnSTAFF by replacing the printer destination by typing: DISK and then assigning a file name, those files should be in the /u/staff/run directory.
To put the files onto your PC:
You will need to know the Local Host IP address of the Unix/Aix server and the root password.
From your PC/workstation desktop select [Start], then select [Run]
In the Run window, make sure the following appears at [Open]: command
Click [OK]
A DOS window will now appear, your cursor will be at the following prompt: C:\>
Enter the directory you want to put the files into, ie: the ‘\tmp’ directory on your ‘C’ drive, type the following at C:\>: cd \tmp
Enter your Local Host IP address at the prompt, for example c:\tmp>: ftp 111.222.333.444
You should get the following message: Connected to 192.168.3.131
The second line will have server and date information
Type the following at the prompt User <111.222.333.444>: none: root
If a password is required please enter it at password: (scp)
If you do not see ‘User root logged in,’ you are not logged in & must retry. Type quit
then [Enter] & try again starting with command ftp 111.222.333.444.
Enter the Unix/Aix path where the files reside at the prompt,(ie ftp: cd /tmp) usually it is in the /u/staff/run directory.
Type the following at the prompt ftp: bin
The following will be displayed: Type set to I
Type the first file name at the prompt ftp: get yourfilename
The following will be displayed:
PORT command successful
Opening BINARY mode connection for Npt <### bytes>.
Transfer complete
If you have another file, continue by entering the same command and next file ftp: get Payor
The following will be displayed:
PORT command successful
Opening BINARY mode connection for Payor <### bytes>.
When you are finished copying the files to your PC:
GO to the ‘C’ drive on your PC C:\
Choose Documents and Settings:
Click on ‘Your’ name and look for your filename.
From the End Program window select [End Now], you may need to do this more than once
From your PC you are now able to E-Mail the files, put into an Excel file, etc.