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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Clopes
Contributor III
Contributor III

FTP transfert

Hi,

TAC 6.2

 

I've got a question about ftp transfer.

I'm trying to get files with folders from a windows server to another windows server througth Talend Unix server.

The Get part works fine and all files with folders are in the Talend server.

My problem is in the put part.

When i put those files, i'm loosing the folders or i think it tries to copy the file with the tree Talend server.

First tree server is ./Folder1/file

Talend is ./home/user/Folder1/file

Second tree server is ./Folder1/file

 

My job:

 

tFtpConnection1 ==> tFTPGet

II

V

tFtpConnection2 ==> tFileList ==> tFTPPut

 

The tFileList get all files and folders.

In the tFTPPut, the files are ((String)globalMap.get("tFileList_1_CURRENT_FILE"))

It doesn't work.

Wher do i miss something ?

Do i have to zip all files/folders from 1st server and unzip it in the 2nd one ?

 

Thanks.

 

 

Labels (2)
32 Replies
Clopes
Contributor III
Contributor III
Author

Anonymous
Not applicable

Hello,


@Clopes wrote:

Is this topic always valid ?

https://www.talendforge.org/forum/viewtopic.php?id=12656

 


We are planning to close fluxbb (old community portal) in the future. Do you need to move this thread to the new Community? Feel free to let us know it.

Best regards

Sabrina

 

Clopes
Contributor III
Contributor III
Author

Hello everyone.

 

I still not transfert my files with their folders from production server to another server.

My job is :

 

0683p000009LsDy.jpg

0683p000009LsEs.jpgGet0683p000009LsNx.jpgList0683p000009LsO7.jpgPut

I can transfert from prod to Talend server with the files AND the folders.

But when i want to transfert them to the last server, i loose the folders tree and all files are copied into the root folder loosing every folder.

Where did i miss something ?

Anonymous
Not applicable

Hello,

From your screenshots, we see that you are using context value in fields. Does your job works perfectly with your FTP directory path directly?

Best regards

Sabrina

Clopes
Contributor III
Contributor III
Author

Hello,

 

From Prod to Talend => Yes

From Talend to the 2nd server directory => No

All the tree structure is lost and the files are copied below the root folder.

Anonymous
Not applicable

Hello,

You are using two tFTPConnection components in your work flow, tFTPConnection_1 and tFTPConnection_2.

Did you select tFTPConnection _1 from component list in tFTPPut component? Is it connecting to the server 1?

Best regards

Sabrina

 

Clopes
Contributor III
Contributor III
Author

yes

 

the first one is connected because i can retrieve the files to Talend server.

The second one is connected too.

Anonymous
Not applicable

Hello,

Do you want to transfer your files from one FTP to another FTP server? They are at the same place? tFTPPut is used to copy selected files from a defined local directory to a destination remote FTP directory. Where is your destination remote FTP directory connection?

Best regards

Sabrina

Clopes
Contributor III
Contributor III
Author

yes

 

i want to transfer my files from one FTP to another FTP server but they're not at the same place.

 

I thought i had to go through the Talend server.

Is there another way to transfert files from server 1 to server 2 without copying them in Talend server ?

Anonymous
Not applicable

Hello,

So far, talend don't support for transferring data by air.

It means you have to retrieve your selected files from one FTP server(by using tFTPGet component) into a local directory firstly and then put them on another FTP server(by using tFTPPut component).

Feel free to let us know if it is OK with you.

Best regards

Sabrina