Four Stars

File Movement on FTP Server

Hi 

 

I want to move files from 1 folder to other on FTP Server. I am Trying to use tFTPRename component and it is giving me error: File Not Found.

 

Can you help me with , what s the best way to move files between folders on FTP Server.

 

Regards

 

 

  • Data Integration
5 REPLIES
Nine Stars

Re: File Movement on FTP Server

could You attache screenshots of Your Job?

it help identify - what wrong

-----------
Six Stars

Re: File Movement on FTP Server

Hi ,

 

you can create a flow like below. Kerep all your file names in a flat file. and parameter the few values as shown below

 

Contextualize the local directory,source dir(ftp),target dir(ftp).

 

let me know if you need more info.

 

6.JPG9.JPG7.JPG8.JPG

 

Thanks,
Sid
Please like the post if it is useful
Please put to resolved if it resolves your issue.

Thanks,
Sid
Mark as solution if this resolved your issue
Nine Stars

Re: File Movement on FTP Server

Generally - You do not need file with names list, tFTPFileList - do this Job in most cases

as described in original question, for folders on same server, better use - tSCPFileList -> tSCPRename (or tSSH ) it allow reduce traffic

 

-----------
Six Stars

Re: File Movement on FTP Server

Yes. vapukov. thank you.

instead of tfileinputdelemitted you can use tFTFileList which will list the files under the source directory.

Thanks,
Sid
Mark as solution if this resolved your issue
Ten Stars

Re: File Movement on FTP Server

tFTPRename will allow you to move files on the same server if you have SFTP Support checked.  Otherwise, I don't think basic FTP supports the operation.

 

If you can't use SFTP, SCP or SSH, you may have to fall back to tFTPGet, tFTPDelete and tFTPPut.