A question about CFtpConnection
-
Does SetCurrentDirectory() in CFtpConnection throw any exceptions?:confused: Law is meaningless without chaos. Chaos without Law is equal to destruction. Chaos and Law create our rich and colorful world.
-
Does SetCurrentDirectory() in CFtpConnection throw any exceptions?:confused: Law is meaningless without chaos. Chaos without Law is equal to destruction. Chaos and Law create our rich and colorful world.
The docs say Returns Nonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error. Looking through the FTP code, there doesn't seem to be any code to throw an exception. Michael :-)
-
The docs say Returns Nonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error. Looking through the FTP code, there doesn't seem to be any code to throw an exception. Michael :-)
But when I use SetCurrentDirectory in CFtpConnection calss, I sometimes got a error message from WININET.DLL and KERNEL32.DLL. I don't know why. Could you explain it?:confused: Law is meaningless without chaos. Chaos without Law is equal to destruction. Chaos and Law create our rich and colorful world.