are you to uploading the file into ftp if yes cross check the file once whether the file exist or not because system.io.filenotexist exception will come when there is no file.