Download files on FTP

Hi
I want to download files on FTP every hour with specific file names. Not sure why my flowchart has no files downloaded there. Please help.
Thanks



image

@koolrc812

Can you name what activties you are trying to use…as I dont see any connection for ftp or a ftp scope

Are you not using these?

Cheers

Yes its in the 2nd picture, with FTP session

@koolrc812

Please use log messages and check if the values in the variables ht you are using are as expected…

And in the remote path check if extension is also given and the local path shpuld be a directory idelaly

Cheers

I restructured it and it works. Thanks how do I put the if conditions only download the latest files? the previous hours files the robot wouldnt download again to my local drive?

@koolrc812

Either check if the file already exists and do not download or keep a confition by checking the lastmodfieddate

Now.addhours(-1) will give date time for previous hour

Cheers