User Tools

Site Tools


pub:transmitfileftp
no way to compare when less than two revisions

Differences

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


pub:transmitfileftp [2022/06/25 17:02] (current) – created - external edit 127.0.0.1
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: 2022/06/25 17:02 by 127.0.0.1