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.
Seven 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

 

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch