FTP communications V6R1 / V7R1 Receive Only script not bringing data into inbound queue

Technote (FAQ)


Question

FTP communications V6R1 / V7R1 Receive Only script not bringing data into inbound queue

Cause

script changes and commands need added for V6R1/V7R1
See knowledge base article (NOTE: Separate Send/Receive script in Gentran Server for iSeries if the OS change command defaults are used from this article).: http://www-01.ibm.com/support/docview.wss?uid=nas1dace92df240295dc8625742500565275

Answer

Make sure that BINARY is upper case, and that the following Commands come after BINARY in the script: SENDEPSV, SENDPASV 1, and SENDEPRT. You might not need them all but this is the place to start.
Sample script for Receive Only:

10 C Send logon/password to Centre
mailboxid password
020 C Set binary file transfer
BINARY
030 C Turn passive mode off
SENDPASV 1
035 C Turn epassive mode off
SENDEPSV
037 C Turn ereport mode off
SENDEPRT
040 C Change CURLIB for receive
! CHGCURLIB CURLIB(QGPL)
050 C CD to receive dir
cd receive
060 R IM Receive all files to inbqueue
*

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Sterling Gentran:Server for iSeries
Extensions

Software version:

3.6

Operating system(s):

IBM i, OS/400, i5/OS

Reference #:

1628339

Modified date:

2013-03-13

Translate my page

Machine Translation

Content navigation