One Star

File transfer using tSCPPut

hi,
I want to transfer a set of files from a directory to another directory present in another server. in my local system the files are present in separate folders. but after transferring them to the server, all the files are copied to a single folder. the folder structure is not maintained. so can anyone please help how to copy the files and directories to the server using the tSCPPut step without losing the file and directory structure.
below is the folder structure.
D:\Games\zylom\images_all\folder_1\1.gif
D:\Games\zylom\images_all\folder_1\2.gif
D:\Games\zylom\images_all\folder_2\3.gif
D:\Games\zylom\images_all\folder_2\4.gif
D:\Games\zylom\images_all\folder_3\5.gif
D:\Games\zylom\images_all\folder_3\6.gif
D:\Games\zylom\images_all\folder_4\7.gif
D:\Games\zylom\images_all\folder_4\8.gif
below the details of the tFileList step

and below are the details of the tSCPPut step

please help..
thanks
jayanth
1 REPLY
Community Manager

Re: File transfer using tSCPPut

Hello
so can anyone please help how to copy the files and directories to the server using the tSCPPut step without losing the file and directory structure

Currently, you can't do that, as the compoent will't create the folder dynamically if the folder does not exist, like
games_images/folder1
games_images/folder2
Can you report a feature: create the directory if it doesn't exist on our tracker?
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business