Please attach a full debug log file showing the problem (using the latest version of WinSCP).
To generate log file, set
Session.DebugLogPath. Submit the log with your post as an attachment. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Ok after enabling debuglogpath I no longer get the object reference error. The program seems to run fine without errors but I do not see where the ftp file is being downloaded.
So, basically, it thinks it has downloaded a file, but I'm not seeing it.
Log file attached.