Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use tFTPget :-(

Hi,
I'm newbiz with Talend, and i just begin to use it.
I wanted to it in order to test it for an application.
I would like to transfer a txt file by FTP and get in local directory and transform it in excel format=> this my first test.
(After that i would like to load data collected in a Mysql or SQL database => second test i would like to do)

Then i first try to make a job like that :
-tFTPget (onsubjobok link) --> linked to tFileList (iterate link) --> linked to a tFileinputDelimited (row1main)--> linked to tFileoutputexcel

I tried it but it is not working.
I tried to find information about it and i have finally tried to follow this : 2284
But it still not working
Thx a lot for your help
Merci beaucoup de votre aide
David
Labels (2)
18 Replies
Anonymous
Not applicable
Author

Hello,

you have several files to get because you use an itarate link with tFileList ?
Infact the tFTPget get a single files and use tftpget(oncomponentOK)--->tFileinputDelimited (main)-->tFileoutputexcel

else use the component from the ecosystem tFTPList (iterate)--->tftpget(oncomponentOK)--->tFileinputDelimited (main)-->tFileoutputexcel


Jeremie
Anonymous
Not applicable
Author

Thx Jeremy,
I'm goint to test it that way
Thanks
Anonymous
Not applicable
Author

Jeremie,
I try but it is not working
you will find my setting bellow :
Anonymous
Not applicable
Author

Hi Davis,
there seems no filemask defined in your tFtpGet. If this would not help. Can you please explain what the problem is? Is it just doing nothing, is there an exception?
Bye
Volker
Anonymous
Not applicable
Author

Hi,
when i run the job i have this kind of error :
Starting job test_job at 23:04 01/09/2008.
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method add(String) in the type List<String> is not applicable for the arguments ()
at test.test_job_0_1.test_job.tFTPGet_1Process(test_job.java:238)
at test.test_job_0_1.test_job.runJobInTOS(test_job.java:1158)
at test.test_job_0_1.test_job.main(test_job.java:1073)
Job test_job ended at 23:04 01/09/2008.

My goal is to define a scenario with theses steps :
- transfer a file from a FTP directory here : /www/test_import/
- and get this file in local
that's all for the moment but i have few problems tot do it 😞
Anonymous
Not applicable
Author

Did you try to define a fileMask? Can you give us the code around your messageß
To see the code: open the code view (a tab in the lower left corner of your job window)
Past a little bit around before and after line 238.
This problem indicates a misuse of a component, so it should be resolve easily.
Bye
Volker
Anonymous
Not applicable
Author

Hi Volker,

I try to define a filemask as : ".txt"
i try the job, but now the file (test.txt) i recieve in the folder : "C:/ETL/Test_Talend/"
is empty.

Thx for your're help
david
Anonymous
Not applicable
Author

I'm using this king of setting
details for :
ftpget
fileinputdelimited
fileoutputdelimited
and my test.txt file is almost 1.17mo
thx for your're help
david
Anonymous
Not applicable
Author

I think the empty file is created by the tFileOutputDelimited. What is the name of the received file on your server? Or can you do a test only with the tFtpGet component?