[ 
https://issues.apache.org/jira/browse/NIFI-7553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17139419#comment-17139419
 ] 

Douglas Korinke commented on NIFI-7553:
---------------------------------------

Here was my original SO question with more details. Happy to bring them over 
here if helpful:

[https://stackoverflow.com/questions/62315916/apache-nifi-put-file-on-iseries-ftp]

> PutFTP enhancement for iSeries FTP
> ----------------------------------
>
>                 Key: NIFI-7553
>                 URL: https://issues.apache.org/jira/browse/NIFI-7553
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 1.11.4
>         Environment: RHEL 7
>            Reporter: Douglas Korinke
>            Priority: Major
>              Labels: PutFtp, newbie
>         Attachments: image-2020-06-17-19-26-51-942.png, 
> image-2020-06-17-19-26-55-110.png
>
>
> I am attempting to perform a simple proof of concept, to get a CSV from an 
> SFTP and put it on an iSeries (AS400) integrated file system (FTP).
> The iSeries has two flavors of file structure, namefmt 0 for the legacy 
> library/physical file nomenclature, and namefmt 1 which allows the user to 
> interact with a typical directory/file structure.
> The improvement I'm having is that in order for me to change directory to an 
> IFS directory, I first have to issue the command QUOTE SITE NAMEFMT 1. I 
> tried using pre.cmd._____ but realized that is before the PUT and not before 
> the CD.
> A second way I attempted to tackle this was to use //home/dkorinke which 
> usually tells the iSeries you want an IFS directory:
> !image-2020-06-17-19-26-55-110.png!
> When I used this in the PutFTP processer, I get the following:
> !image-2020-06-17-19-26-51-942.png!
> Is there anyway to execute the SITE NAMEFMT 1 command before the CD in a 
> PutFTP process?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to