Hello,

i have checked time on both servers, it's synced through NTP

[image: image.png]

Also i could able to see timestamps on remote server from sftp prompt
(Below are the files i was trying to get for testing)
[image: image.png]


On Mon, Jun 20, 2022 at 8:21 PM Mark Payne <[email protected]> wrote:

> Ben,
>
> If you run sftp from the commandline what do you see for the timestamps on
> those files?
>
> I am wondering if either there’s a big discrepancy between the time on the
> SFTP server and the time on the server where NiFi is running; or if the
> SFTP server is setup in such a way that it does not update the Last
> Modified Time for files.
>
> Thanks
> -Mark
>
>
> On Jun 20, 2022, at 12:54 PM, Ben .T.George <[email protected]> wrote:
>
> HI,
>
> I have not set any values to Min/Max age and size properties as I was not
> aware of it.
>
> <image.png>
>
> What should I set for this?
>
>
> On Mon, Jun 20, 2022 at 7:42 PM Mark Payne <[email protected]> wrote:
>
>> Ben,
>>
>> So in the message there, you can see that it found 11 files in the /tmp
>> directory, but none of those files matched the filter. So you’ll get no
>> output.
>> What do you have set for the Minimum/Maximum File Age and for the
>> Minimum/Maximum File Size properties? Those are used to filter the results.
>>
>> Thanks
>> -Mark
>>
>> On Jun 20, 2022, at 12:35 PM, Ben .T.George <[email protected]>
>> wrote:
>>
>> HI
>>
>> Thanks for response,
>>
>> i Still i am very new to it and not sure how to explain , i can attach
>> some screenshots
>>
>>
>>  this connector is showing zero files
>>
>> <image.png>
>>
>> but when i test that process, file found
>>
>> <image.png>
>>
>> ListSFTP process
>>
>> <image.png>
>>
>>
>> On Mon, Jun 20, 2022 at 7:21 PM Mark Payne <[email protected]> wrote:
>>
>>> Ben,
>>>
>>> ListSFTP -> FetchSFTP is how you’d want to get started. You’d then want
>>> to connect that to a PutSFTP to send to Server B and another PutSFTP to
>>> send to Server C.
>>>
>>> You said that it is not working as expected. What does that mean? Are
>>> you seeing errors? Not seeing the data show up?
>>>
>>> Thanks
>>> -Mark
>>>
>>>
>>> On Jun 20, 2022, at 10:20 AM, Ben .T.George <[email protected]>
>>> wrote:
>>>
>>>
>>> Hello,
>>>
>>> i am very new to NiFI and trying to get more details about NiFi,
>>>
>>> My end goal is to achieve some kind of SFTP solution , were i need to
>>> transfer file from server A to Server B, Then Server C, which is public,
>>>
>>> Can you please help me to achieve this, or explain the basics of it.
>>>
>>> I was trying to use ListSFTP and FetchSFTP, which does not work as
>>> expected.
>>>
>>> Your help will be highly appreciated.
>>>
>>> Thanks & Regards,
>>> Ben
>>>
>>>
>>>
>>
>> --
>> Yours Sincerely
>> Ben.T.George
>> Phone : +965 - 50629829 / 94100799
>>
>> *" Live like you will die tomorrow, learn like you will live forever "*
>>
>>
>>
>
> --
> Yours Sincerely
> Ben.T.George
> Phone : +965 - 50629829 / 94100799
>
> *" Live like you will die tomorrow, learn like you will live forever "*
>
>
>

-- 
Yours Sincerely
Ben.T.George
Phone : +965 - 50629829 / 94100799

*" Live like you will die tomorrow, learn like you will live forever "*

Reply via email to