Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFTPRename showing error: RNFR command failed

Hi
I want to rename some files on a ftp server. I am using tFTPRename to do it.. In the Filemask I give "Balance_*.csv" and the new name I give as "processedBalance.csv".
But it gives an error :
Exception in component tFTPRename_1
com.enterprisedt.net.ftp.FTPException: RNFR command failed.
at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:999)
at com.enterprisedt.net.ftp.FTPClient.rename(FTPClient.java:3239)
at ......

How to sort it out?
Thanks!
Labels (3)
3 Replies
Anonymous
Not applicable
Author

Hello
Which version of TOS do you use? I can't reproduce this error, is there one 'Balance_*.csv' file at least on ftp server?
Best regards

shong
Anonymous
Not applicable
Author

Hi!
I am using TIS Suite. Yes there are files such as Balance_1.csv, Balance_2.csv etc on the ftp server. But this tFTPRename is not reading characters for '*' in the file name. If I give the full file name in the tFTP Rename then it works but if i want to rename multiple files like Balance_1.csv, Balance_2.csv by giving the file mask as "Balance_*.csv" it gives this error.
Anonymous
Not applicable
Author

Hello
tFTPRename recognise character *,but if there are more than one files, it will throws exception,eg:
Exception in component tFTPRename_1
4: /u01/oracle/test/t_*.csv is not unique:
So, we should set the full name.
Best regards
shong