Move file from one folder to another in FTP server

Six Stars

Move file from one folder to another in FTP server

Hello,

I am trying to move a file from one folder to another in ftp server and I tried using ftpconnection-->ftplist-->ftprename. A new excel file will be placed everyday and I need to copy it into a different folder in the same FTP server. But the problem is I do not know the file name. I just know the extension as ".xlsx" file.

 

I have also tried ftpconnection-->ftplist-->ftpcopy but doesn't work as it is trying to copy file into my local machine instead of remote.

 

I am trying to copy files from :

 

home/talend/out/ERP/ 

to

/home/talend/out/ERP/siffile/talend_input/business_input_file/

ftpjob.JPGftplist.JPGftprename.JPG

Please provide a suitable solution.

 

Thanks

SK

Nine Stars

Re: Move file from one folder to another in FTP server

Hi

 

Are you setting the new name with the file name at the end? Can't really see in the screenshot you've given

Regards David
Dont forget to give Kudos when an answer is helpful or mark the answer as the solution.
Eight Stars

Re: Move file from one folder to another in FTP server

HI @skrc0213,

 

As far as I know it is not possible to move to a different directory without traferring the file to your local dir and then doing an FTPput into the dir you want to copy it to

Six Stars

Re: Move file from one folder to another in FTP server

Hi David,

 

Yes I am setting new name with file name at the end.

 

Thanks

SK

Six Stars

Re: Move file from one folder to another in FTP server

 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog