Question:
When iterating files in a directory one file fails, then the rest fail using DownLoadFileByName. I can use another program, or rename the target file and it will download. Any file I name to that one file name and it will not download. I really am searching for reason, a RealDir with that filename returns null.
Are there any restricted character combinations?
You can see the file name in the error message, if I rename it to anything else it works. Also every other file fails after that file fails.
ChilkatLog: DownloadFileByName: DllDate: Oct 29 2015 ChilkatVersion: 9.5.0.54 UnlockPrefix: SABRETSSH Username: BRANDON-PC:bdevine Architecture: Little Endian; 32-bit Language: .NET 2.0 VerboseLogging: 0 SshVersion: SSH-2.0-OpenSSH_6.6p2-hpn14v4 SftpVersion: 3 downloadFileByName: PreserveDate: 0 fromFilePath: D003003.dw.20150912.ddw.zip toFilePath: C:\QS2HQHomeFolder\RawRegisterFiles\Merit\Inbox\D003003\20150912\D003003.dw.20150912.ddw.zip OpenRemoteFile: sftpOpenFile: remotePath: D003003.dw.20150912.ddw.zip access: readOnly createDisposition: openExisting v3Flags: 0x1 Sent FXP_OPEN sshReadMessage: mType: CHANNEL_EOF --sshReadMessage Received EOF Failed to read SFTP packet. Failed to receive response to FXP_OPEN --sftpOpenFile timeToOpenMs: Elapsed time: 16 millisec --OpenRemoteFile totalTimeMs: Elapsed time: 16 millisec --downloadFileByName Failed. --DownloadFileByName --ChilkatLog
I wish I had a good answer for this, but I have no idea. This is very strange.