sftp downloading file and getting corrupted file

Highlighted

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!

Accepted Solutions
Highlighted
Six 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.

View solution in original post


All Replies
Highlighted
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.
Highlighted

Re: sftp downloading file and getting corrupted file

That is indeed what I did. And it still ain't working.
Highlighted
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.
Highlighted
Six 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.

Highlighted
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.
Highlighted
Six 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.

View solution in original post

Highlighted
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.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog