[resolved] SEND FOLDER TO FTP SERVER

Five Stars

[resolved] SEND FOLDER TO FTP SERVER

Morning all,
I am trying to send an entire folder to a FTP Server by using tFTPPut but impossible.
I know it is not possible with this component and i also check on Talend exchange but nothing.
May somebody recommand me a solution please?

Thanks,

Moderator

Re: [resolved] SEND FOLDER TO FTP SERVER

Hi,
Have you tried to use tfilelist to fetch your files in a folder and then put them into FTP server by using tFtpPut 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.
Five Stars

Re: [resolved] SEND FOLDER TO FTP SERVER

Hello xdshi,

I did yor suggestion, and it upload just one file but i have 2 iteration.
You can see it on the screenshot



Tx
Moderator

Re: [resolved] SEND FOLDER TO FTP SERVER

Hi,
Would you mind posting your tftpput component setting screenshot into 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.
One Star

Re: [resolved] SEND FOLDER TO FTP SERVER

I have a job that selects all files in a directory and sub directorys 
Moderator

Re: [resolved] SEND FOLDER TO FTP SERVER

Hi,
Is there any update for your issue? Feel free to post your issue here.
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: [resolved] SEND FOLDER TO FTP SERVER

Dear xdshi,
Like i said in my post #3 your suggestion should be the best way to solve this issue.
But i mean, i need to give many details to let you and other persons give me good idea.
So in local on my computer, i have for exemple this structure of folder
Main_Folder
      Sub_Directory1   == > which contains file1.csv
      Sub_Directory2   == > which contains file2.csv

And i have the same structure on my FTP Server, like bellow
  /
  Sub_Directory1
  Sub_Directory2

So what i am trying to do is to put in my FTP Server and respectively in each Directory the correct file.

And like request, see bellow the config of components tFileList tFTPPut



components  tFTPPut

For information, with these configurations, i upload only file2.csv


Thanks for help,

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog