I am trying to parse remote xml file. when i check the path of the file using outDocFile.getCanonicalFile() , it is pointing to local("C:/ct-data/ald/erd/relDeletes) but the variable(outputLocation) is pointing to "/ct-data/ald/erd/relDeletes". because of this i'm getting outDocFile.exists() =null please let me know, if i am missing anything. here is the code: String outputLocation= "/ct-data/ald/erd/relDeletes"; String oct= "entity-N_CCH-61874.xml"; try { FTPClient ftp ...