sftp downloading file and getting corrupted file

Hello,
When I'm downloading a file with the GetFTP with sFTP I'm downloading a .gz file.
When I unarchive that file I get a corrupted file.
When I manually download the file and put it in place and use unarchive it just works.

GetFTP seems to be causing problems..
I already saw here to change the transfer mode but that ain't an option with the sFTP option selected.
I opened the .gz with notepad ++ and checked the encoding and I selected Custom and set "ANSI" to the encoding (as said by Notepad++ but it still ain't working.
The file on it's own is too big (800mb) to open in Notepad++

Am I missing something?

Thanks!
1 ACCEPTED SOLUTION

Accepted Solutions
Five Stars

Re: sftp downloading file and getting corrupted file

This problem ended up being on the vendors side of the problem. It just took a lot of coordination to prove it to them.

 

They had a trigger on their ftp server that was touching files and causing them problems.

7 REPLIES
Moderator

Re: sftp downloading file and getting corrupted file

Hi,
Is it working when you set proper "encoding" in tFTPGet component?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: sftp downloading file and getting corrupted file

That is indeed what I did. And it still ain't working.
Moderator

Re: sftp downloading file and getting corrupted file

Hi,
Could you please indicate the build version you're using?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: sftp downloading file and getting corrupted file

Was this problem ever resolved? I am experiencing this currently and cannot find a way to fix it.

Moderator

Re: sftp downloading file and getting corrupted file

Hello,

Are you able to download the file manually and put it in place and use unarchiver to see if it works?

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: sftp downloading file and getting corrupted file

This problem ended up being on the vendors side of the problem. It just took a lot of coordination to prove it to them.

 

They had a trigger on their ftp server that was touching files and causing them problems.

Moderator

Re: sftp downloading file and getting corrupted file

Hello,

Thanks for your feedback. Don't hesitate to post your issue on talend forum.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.