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