User Tools

Site Tools


pub:transmitfileftp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pub:transmitfileftp [2018/05/24 23:06] (current)
Line 1: Line 1:
 +====== Transmit a Positive Pay File FTP ======
 +
 +In some cases, financial institutions prefer transmission of Positive Pay file using their other methods other than bi sync transmission. These methods first and foremost require that the positive pay file be downloaded from the System i to a local PC. Doing so, can be accomplished by manually downloading the file, or more effectively using an FTP script wrapped within a batch file.
 +
 +Below is an example of a batch file used simply to call FTP with an FTP script.
 +
 +<​html><​pre>​
 +ftp -s:​script.txt
 +exit
 +</​pre></​html>​
 +
 +The contents of the script file below would then be piped into the ftp session automatically executing the commands necessary to download the file.
 +
 +<​html><​pre>​
 +open [systeminame]
 +[username]
 +[password]
 +quote site namefmt 0
 +ascii
 +get fmg/file80 c:​\file80.txt
 +quit
 +</​pre></​html>​
 +
 +The resulting download file80.txt will contain the ASCII equivalent of the Positive Pay file on the local C: drive in the root directory.
 +
 +If you encounter troubles with this file starting at the namefmt 0 command check the FTP server attributes on your i5 server by prompting the  **CHGFTPA** command. ​ Check the **NAMEFMT** and **CURDIR** attributes. ​
  
pub/transmitfileftp.txt ยท Last modified: 2018/05/24 23:06 (external edit)