HP-UX TN3270 Users Guide, March 1998

Table Of Contents
Chapter 5 155
Transferring Files
Transferring Files from the HP-UX Command Prompt
Transferring Files from the HP-UX
Command Prompt
You can use the following methods to transfer files between your HP-UX
computer and the host by issuing commands from the HP-UX command
prompt while a 3270 display session is running:
Use the TEMPEXIT keystroke from the character-based TN3270
emulation program to run another shell on the same terminal.
Move to another terminal window on the Motif display.
Log on at another terminal on the same HP-UX computer on which
you started the TN3270 emulation program, using the same user ID.
The display session used by the file transfer must have a session ID
assigned to it, because the TN3270 emulation program uses the session
ID to associate the file transfer with a particular display session. See
“Customizing Display Sessions” for information about session IDs, or
“Starting the TN3270 Emulation Program” for information about
specifying session IDs on the command line when starting the program.
You can also issue file transfer commands with the TN3270 emulation
program running in the background (for more information, see “Running
3270 Emulation in the Background”). However, you cannot perform the
logon sequence to the host (since you cannot access the 3270 display
directly when the TN3270 emulation program is running in the
background). Therefore, you need a HLLAPI application that logs on to
the host and then disconnects to leave the session available for other
applications; you have to run this application after starting the TN3270
emulation program and before issuing the file transfer command. Refer
to the sample program in the HP-UX SNAplus2 3270 & TN3270 HLLAPI
Programmers Guide for an example of this type of application. The
sample program will probably require modification to suit your
particular host's logon sequence.
Sample file transfer commands for each host type are shown in “Sample
File Transfer Commands”.