Chapter 63: Working with FTP Application (WFTP)

Purpose: Use this menu option to create an FTP application, and to define the internet address and define or change the FTP commands associated with the application.

About FTP applications: FTP (File Transfer Protocol) provides a standard format for transferring to and from remote computer systems, including the type of error checking to be used, the data compression method, and how the sending and receiving devices will indicate that a message has been sent and received. Defining the commands of an FTP application is beyond the scope of this document, however, this chapter explains the screens you use to define an FTP application.

Important: FTP applications are not company specific; all FTP application codes must be identical in the corresponding system control values for all companies in a single environment. For example, the FTP ID - Cancellation Requests field must be populated with the same code, and the code must identify the same FTP script, for all companies in the environment.

In this chapter:

Work with FTP Application Screen

Create FTP Application Screen

Change FTP Application Screen

Display FTP Application Screen

Create FTP Commands

Edit FTP Commands Screen

FTP Command Exit Screen

Work with FTP Application Screen

How to display this screen: Enter WFTP in the Fast path field at the top of any menu or select Work with FTP Applications from a menu.

MSR0903 DISPLAY Work with FTP Application 1/31/02 16:20:10

App Description Internet Address

Type options, press Enter.

2=Change 4=Delete 5=Display 7=Display output log 8=W/W FTP commands

9=Process FTP commands

CS0 SEND PO COST CHANGES TO CDC 111.22.3.444

CS1 SEND VENDORS TO CDC 111.22.3.444

CS2 SEND PURCHASE ORDERS TO CDC 111.22.3.444

CS3 SEND CANCEL REQUESTS TO CDC 111.22.3.444

CS4 RECEIVE UPDATES FROM CDC 111.22.3.444

CS5 OUTBOUND PO CHANGES 111.22.3.444

CS6 SEND RETURN AUTHS TO CDC 111.22.3.444

CS7 SEND RA CANCELS TO CDC 111.22.3.444

CS8 RECEIVE RA UPDATES FROM CDC 111.22.3.444

CS9 RECEIVE AP UPDATES FROM CDC 111.22.3.444

DT DIRECT TECH INTERFACE 222.33.44.55 +

F3=Exit F6=Create F12=Cancel

Field

Description

Application

A code that identifies the FTP application.

Alphanumeric, 3 positions; display-only.

Internet address

The FTP Internet address, commonly known as an IP address.

Numeric, 17 positions; display-only.

.

Screen Option

Procedure

Create an FTP application

Press F6 to advance to the Create FTP Application Screen.

Change an FTP application.

Enter 2 next to an FTP application to advance to the Change FTP Application Screen.

Delete an FTP application.

Enter 4 next to an FTP application to delete it.

Display an FTP application.

Enter 5 next to an FTP application to advance to the Display FTP Application Screen.

Display the output log for an FTP application

Enter 7 next to an FTP application to display the output log.

Define the FTP commands for an FTP application

Enter 8 next to an FTP application to advance to the Edit FTP Commands Screen.

Process the FTP commands for an FTP application

Enter 9 next to an FTP application to advance to the Process FTP Commands screen, where you can process the FTP commands associated with the application in Batch or Interactive mode.

Create FTP Application Screen

Purpose: Use this screen to create an FTP application.

How to display this screen: Press F6 on the Work with FTP Application Screen.

MSR0904 ENTER Create FTP Application 8/08/00 14:07:42

FTP Application code . .

Description . . . . . . .

Internet address . . . .

F3=Exit F12=Cancel

Field

Description

FTP application code

A code that identifies the FTP application.

Alphanumeric, 3 positions.

Create screen: required.

Change screen: display-only.

Description

A description of the FTP application.

Alphanumeric, 30 positions; required.

Internet address

The IP address for the FTP application.

An IP address is an identifier for a computer or device on a TCP/IP network. Networks using the TCP/IP protocol route messages based on the IP address of the destination. The format of an IP address is written as four numbers separated by periods. Each number can be zero to 255. For example, 1.160.10.240 could be an IP address.

How to identify the IP address on a server: Enter IPCONFIG at a command line to display the server’s IP address.

How to identify the IP address on the iSeries:

• Enter PING AS400 at a command line, where AS400 is the name of your iSeries

• Position the cursor on the message at the bottom of the screen

• Press F1 to display the response. The IP address is the address displayed at the end of the response message, such as 1.23.45.6.

Numeric, 17 positions; required.

Change FTP Application Screen

To change: Enter 2 next to an FTP application at the Work with FTP Application Screen to advance to the Change FTP Application screen, where you can change the description and the IP address of the FTP application.

See Create FTP Application Screen for field descriptions.

Display FTP Application Screen

To display: Enter 5 next to an FTP application at the Work with FTP Application Screen to advance to the Display FTP Application screen. You cannot change any information on this screen.

See Create FTP Application Screen for field descriptions.

Create FTP Commands

Purpose: Use this option to define or edit FTP commands. When you select this option, you advance to a text editing screen where you can enter FTP commands.

Edit FTP Commands Screen

How to display this screen: Enter 8 next toan FTP application. A typical FTP script may be similar to the following:

Columns . . . : 1 121 Edit CWM42QDTA/QFTPSRC

SEU==> IMD

FMT ** .+. 1 .+..2 .+. 3 .+..4 .+..5 .+..6 ..+..7..+...8..+..9..+..0..+..1..+... 2

*************** Beginning of data ****************************************

0001.00 inst1 inst1

0002.00 append cwm50qdta/flcspo oms\rdc\inbox\newpo

0003.00 quit

****************** End of data *******************************************

F3=Exit F4=Prompt F5=Refresh F9=Retrieve F10=Cursor F11=Toggle

F16=Repeat find F17=Repeat change F24=More keys

(C) COPYRIGHT IBM CORP. 1981, 1999.

When you have finished entering or editing the commands and exit the screen, the system automatically displays the FTP Command Exit screen.

For sample FTP scripts for sending files to CWCollaborate, see Communication Protocol (H37) in the Installation manual.

For more information: Refer to your IBM TCP/IP Configuration Manual for more information on creating FTP scripts.

FTP Command Exit Screen

How to display this screen: Press F3 when you have finished editing FTP command text.

Exit

Type choices, press Enter.

Change/create member . . . . . . . N Y=Yes, N=No

Member . . . . . . . . . . . . . CS1 Name, F4 for list

File . . . . . . . . . . . . . . QFTPSRC Name, F4 for list

Library . . . . . . . . . . . . CWMPDTA Name

Text . . . . . . . . . . . . . . FTP Commands

Resequence member . . . . . . . . Y Y=Yes, N=No

Start . . . . . . . . . . . . . 0001.00 0000.01-9999.99

Increment . . . . . . . . . . . 01.00 00.01-99.99

Print member . . . . . . . . . . . N Y=Yes, N=No

Return to editing . . . . . . . . . N Y=Yes, N=No

Go to member list . . . . . . . . . N Y=Yes, N=No

F3=Exit F4=Prompt F5=Refresh F12=Cancel

You can change any information on this screen.

For more information: See your iSeries documentation.

FU07_06 CWDirect 18.0 August 2015 OTN