This is resolved. The problem was in the parsing of the directory that I need to collect a file to be downloaded. Initially, we decided to split the FTP directory listing by using the double space as a delimiter. But, this conflicts if I have a file name with double spaces. So, I had to adjust that to be a little bit longer but safer.