Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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
Hello everyone.
I still not transfert my files with their folders from production server to another server.
My job is :
Get
List
Put
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 ?
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
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.
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
yes
the first one is connected because i can retrieve the files to Talend server.
The second one is connected too.
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
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 ?
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