sftp downloading file and getting corrupted file

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


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

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

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 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch