Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Sleep option does not work #14
It appears that CFtpFileFind.FindFile (https://msdn.microsoft.com/en-us/library/272ce2aa.aspx#cftpfilefind__findfile) in CFTPCom::FindFile does not return a 0 as expected when a file isn't found. I found one reference on the internet that indicates the return code is backwards from a Unix/Linux FTP server. For now I have reversed the return code.
Further testing is still needed to ensure the sleep command send to instrument does indeed send the instrument to sleep.