I am new to using Final Builder and am running into an issue with using SFTP Download File. What I'm seeing is that if when using this action if the file does not exist on the remote server FinalBuilder creates a 0 byte file with the name I'm trying to download. Since it's not downloading a file I would expect the step to fail and not have a file created.
The reason I can't have a file created is that I have another product that is watching the download directory to move the downloaded file multiple locations for database jobs to consume the file. If I write a 0 byte file that 0 byte file gets moved and the database job kicks off and errors due to no data in the file.
Is there a way to get the SFTP Download File step to not create the file if it does not download anything?
Thank you,
Dave
Another issue, or somethign I'm doing wrong, on SFTP. If I use "SFTP List Files" action and select a variable name from the "Log listing to variable" drop down, click OK then go back into the step there is no variable name listed. I thought maybe I could iterate through the file list and only download if the file was available but I can't get the file list into a variable to iterate through it.
Hi Dave,
Thanks for pointing these issues out, I’ve checked in a fix for both the Download Files action and the List Files action, a new build should be available soon (I’ll let you know when).
Regards,
Paul.
Hi Dave,
Here’s the new build of FinalBuilder which fixes the SFTP issues you reported:
URL https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1560.exe
Regards,
Paul.
What awesome turn around on a fix. I think it took me longer to test it than for you to fix it. These fixes work great.