You are not logged in.
I've been spent some hours looking for a similar problem to mine and i could not.
My process is based on:
*Getting address information, users and passwords (ftp, database files) and files with patterns (such as file_miami_beach_20120402.rar, file_new_york_20120403.rar);
*Download these files to internal server;
*Execute pre-load procedures (shell, Oracle procedure);
*Load these files with Oracle Loader;
*Execute pos-load procedures (shell, Oracle procedure);
*Copy table to customer database;
*Send e-amail notifying the process status.
So, how do i gather information from a catalog and use it to connect to customers servers (such as SCP, FTP or external table too) and use this information through the process?
Welcome to Talend Community!
For process 1 and 2, you might use the component tFTPGet to donwload the rar files from the FTP server.
For process 3, use tPrejob to execute pre-load proceduces which depends on your onw job logic.
For process 4, usually please use the component tSystem to execute rar unarchive commands to unarchive these rar files. Then load files into oracle.
For process 5, use tPostjob.
For process 6, create a subjob for your requirement.
For process 7, use the component tSendMail.
I think you'd better download the document [TalendOpenStudio_Components_RG_xxx_EN] to get the instructions of those components.
I've downloaded the document you said above.
So yes, my ftp is working now, thanks.
But when i list directories, i got a error and there is a "1 exec finished" message over the component.
Can i output this files/directories list for a log or console?
So, my informations about ftp, passwords, users, directories and files to be searched are saved into the database (Oracle). How do i gather this information for future use?
Sorry, but i i did not find this info in any tutorials.
I'm using tFTPFileList.
Well, it worked after hours reading some posts in the forum.
How can i use my data from Oracle and use it in my jobs?
1 - Connect to Oracle
2 - Get info abou the process
3 - Use this info to log in FTP, get files from FTP (this list is generated by one query)
And so on...
I know i need to use tOracleInput -> tLogRow -> [need help after this]
Sorry, i've tried to match this component with my problem, but i did not see how to connect a Oracle Query (returning rows) and using this data with tFTPGet component.
It's simply tOracleInput --row--> tFlowToIterate --iterate--> tFTPGet.
Use tFlowToIterate to populate globalMap variables with the values coming from Oracle and then use those variables in tFTPGet or you can use the row.column values directly.
It's not the best example but read the component help (see http://jira.talendforge.org/browse/DOCT-761 for corrections). There are also many posts on the forum on doing this sort of thing.
Last edited by alevy (2012-07-26 08:20:42)