Support Questions

Find answers, ask questions, and share your expertise

Upload file to FTP server

avatar
Explorer

Hello,

I have the following simple topology

cadrian90_0-1730723944409.png

cadrian90_1-1730724012372.png

i simply create two files in a folder that GetFile processor is configured to `look` , and expected to upload to the FTP server

The configuration for the PutFTP is the following:

cadrian90_2-1730724079938.png

cadrian90_3-1730724103805.png

 

If i am trying to FTP from the VM to the FTP server, it works like a charm:

cadrian90_4-1730724166743.png

 

Any help, please?

1 ACCEPTED SOLUTION

avatar
Explorer

Hi,

I managed to fix this:

cadrian90_0-1730789360921.png

 

In the PutFTP processor i change Dot Rename, from true to false and the Remote Path to ./path:

cadrian90_1-1730789416923.png

 

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@cadrian90 

Check the nifi-app.log for the exception to see if there is a stack trace with it that provides more details around the ERROR.

Also try the following:
1. Conflict Resolution = RENAME
2. Remote Path = Try leaving this blank or setting to just "testbucket" since your connection to your ftp server drops you into /home/adrian/minio as base directory.

Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,
Matt

avatar
Explorer

Hi,

It still doesn't work if i change the Conflict Resolution.

However, if i put in PutFTP connector, Remote Path using ./testbucket, i receive another error:

cadrian90_0-1730787267828.png

 

 

PutFTP configuration:

cadrian90_1-1730787324894.png

 

avatar
Explorer

Hi,

I managed to fix this:

cadrian90_0-1730789360921.png

 

In the PutFTP processor i change Dot Rename, from true to false and the Remote Path to ./path:

cadrian90_1-1730789416923.png