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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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
Anonymous
Not applicable

Hello,

Please use  tFTPFileList instead of tfilelist component which is used to list files in local not FTP server.

Best regards

Sabrina

Clopes
Contributor III
Contributor III
Author

Hello Sabrina.

 

the ftpget copy from the server 1 to the Talend Server.

Then from local Talend Server  to server 2, so that's why i used the fFileList.

If i can copy the files directly from server1 to server2 using tftpget or tftpput, it will be nice but it seems i can't do it.

 

Clopes
Contributor III
Contributor III
Author

Here is my job


FtpTalend.tiff.pdf
Anonymous
Not applicable

Hi,

essaye plutôt avec ça ^^

((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))

 

Good luck,

SGV

Clopes
Contributor III
Contributor III
Author

Hi,

 

Si je prend la valeur ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")), j'aurai l'arborescence du serveur local Talend qui n'est pas la meme que celle du serveur 1 et 2. 😞

D'où mon problème.

-------------------------

If i use the ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) value, i will have the Talend tree which is not the server 1 and 2

That's my problem.

How can i do ?

Anonymous
Not applicable

Hi,

 

T'es sûr de tes variables de context ? T'as essayé avec des valeurs en dur et non avec des variables ?

--------

Are you sure about your context var ? Dit you try to put the value directly in the component instead of using variable ?

 

Good luck ,

SGV

Clopes
Contributor III
Contributor III
Author

Hi,

 

Oui, dans le tfilelist, je vois bien tous mes fichiers et l'arborescence à partir du repertoire temp Talend.

Sauf qu'il ne me recopie ni les répertoires, ni les fichiers qui sont à l'intérieur. Il n'y a que les fichiers du niveau du répertoire temp qui sont copiés.

J'ai pourtant un user avec tous les droits. Il y a quelque chose qui m'échappe.

Anonymous
Not applicable

Hello,

This is an international forum and English is the language we use. Posting in English will allow you to get more visibility and more help. Thanks for your understanding!

Best regards

Sabrina

Clopes
Contributor III
Contributor III
Author

Hi

 

In the tfilelist, i see all my files and folders from temp Talend folder.

But the tftpput don't transfer the folders and files that are in those folders. Only the files that are in the first folder are copied.

My user have all rights so there's something i'm missing but where ?