Member since
07-30-2019
920
Posts
195
Kudos Received
91
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1026 | 10-05-2021 01:53 PM | |
14408 | 09-23-2019 06:03 AM | |
5587 | 05-04-2019 08:42 PM | |
1137 | 06-11-2018 12:45 PM | |
10390 | 06-04-2018 01:11 PM |
08-28-2024
01:31 PM
Does anyone from the community, have answer this question what about if java version greater than 8, how the toolkit will work with "JAXB-API has not been found"?
... View more
07-19-2024
01:33 PM
@Bern As this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks.
... View more
03-27-2023
02:09 AM
@TB_19 as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.
... View more
02-06-2023
05:53 AM
I am having a simple flow where I am fetching the creds for SFTP from DB and then uploading a file using the putSFTP but I am getting UnknownHostException error on PutSFTP processor. I see the creds are being fetched - I see them in logs and also tried connecting to the Server using FileZilla (creds are correct ..no space etc all good with that).. Also I tried hardcoding the creds in PutSFTP and still it did not work. can someone please guide me..
... View more
11-09-2022
05:05 AM
can someone explain me what is the meaning of dot-rename ? i'm using a putsftp processor for one of my flows and i'm getting an error about dot-rename
... View more
09-15-2022
05:17 AM
We can't use PutEmail processor direct for attachment. We can use FetchFile processor and direct to PutEmail processor to send attachment, but it fetchFile will send the attachment for the first trigger only. Alternatively for send attachment, you can use ExecuteScript Processor using python module and pass the argument parameter of mailto and fromto to script. import smtplib from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email import encoders fromaddr = 'SENDER@EMAIL.COM' #$arg1 Argument from NIFI Flow toaddr = 'RECIPIENT@EMAIL.COM' #$arg2 Argument from NIFI Flow msg = MIMEMultipart() msg['From'] = fromaddr msg['To'] = toaddr msg['Subject'] = 'Define the Subject' body = 'Define Body' msg.attach(MIMEText(body)) files = ['/user/path/filename1', '/user/path/filename2'] for filename in files: attachment = open(filename, 'rb') part = MIMEBase("application", "octet-stream") part.set_payload(attachment.read()) encoders.encode_base64(part) part.add_header("Content-Disposition", f"attachment; filename= {filename}") msg.attach(part) msg = msg.as_string() try: server = smtplib.SMTP('smtp.email.com:21') server.ehlo() server.starttls() server.login(fromaddr, 'user') server.sendmail(fromaddr, toaddr, msg) server.quit() @leandrolinof wrote: @Aaki_08 good morning. I have a situation where I need to email buyers of a certain ID with a certain PDF attachment. This attachment will be saved in a field in a table in oracle. Today I'm already using PutEmail to send the E-mail, but I don't know how to send the attachment. Could you help me, please? @leandrolinof wrote: @Aaki_08 good morning. I have a situation where I need to email buyers of a certain ID with a certain PDF attachment. This attachment will be saved in a field in a table in oracle. Today I'm already using PutEmail to send the E-mail, but I don't know how to send the attachment. Could you help me, please?
... View more
06-11-2022
01:40 AM
@MattWho Thanks Matt, I understand what you're saying. in my case it's the other way around, I have clients (MiNiFi) initiating the connections when they want to send or receive data. This helps me deal with remote firewalls not allowing incoming connections and sporadic availability as they're the ones starting the connection. At the moment, with S2S, The MiNiFi's connect periodically (every 10s) to see I there are any flowfiles waiting for them. I would need to figure out how to periodically generate that action to perform the same flow. Example scenarios: 1. Client (MiNiFi side) is running a tail on a file. A new line comes into the file and needs to be sent over to NiFi for processing. 2. NiFi wants to send a file to the remote MiNiFi running a putfile processor. I have both scenarios working right now with S2S with no issues to a bunch of MiNiFi's, it's just that this requires hacky workarounds (scripts to modify the MiNiFi yml) to make this work and I would love to figure out a cleaner solution.
... View more