Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a simple job to get XML files from a sFTP server to a local directory. My job is working perfectly but sometimes im getting empty files and i cant figure out whats the problem. The job is something like tFTPConnection -onComponentOK-> tFTPFileList -iterate-> tFTPGet. I close the connection with an onSubjobOk from the tFTPFileList. In my Connection i have to use the SFTP Support.
Did somebody have the same problem or know how this is happening?
Can you explain a little bit more the first solution? I dont really know if this will help me but just in case.
The 2nd one is not possible for me because when the i download the file it gets deleted from the SFTP server so cant download it again. The thing is that the file in the server has size (5KB) but when i get it to my local directory, the file is empty (0KB).
Thanks so much for your reply.
I just need to fill each file one time. So if i add a wait when im doing the tFTPGet will give the server time to fill the file completly?