login about faq

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

asked Feb 05 at 17:01

clydensai's gravatar image

clydensai
1


I wish I had a good answer for this, but I have no idea. This is very strange.

link

answered Feb 10 at 07:24

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×200
×2

Asked: Feb 05 at 17:01

Seen: 519 times

Last updated: Feb 10 at 07:24

powered by OSQA