9 Replies Latest reply: Feb 4, 2013 4:06 AM by Bhabani Ranjan RSS

    File renaming in Jython

    958933
      Hi all,
      I have to do validation for a filename in jython .The code picks up a single file from a shared loacation and then i have to check it name against a database column value which i have stored in Odi variable.Can anyone please guide me as to how should i go about it.The dbase colum value is just a substring part of the filename value.How should i extract the filename and do comparision also i have to rename it if it doent match adding _err to it and move it to another directory.