login about faq

As suggested I tried: $ftp.GetFile("FUND.ZIP;1", "c:1FUND.1.ZIP") But I got the following log. Can I download a file Version when in CCC? ChilkatLog: GetFile: DllDate: Jun 23 2009 UnlockPrefix: ISISFSFTP Username: PeterH Component: .NET 2.0 localFilename: c:1FUND.1.ZIP ModeZ: 0 BinaryMode: 1 Warning: PBSZ error response PbszResponse: 536 Command invalid in CCC mode. Passive transfer mode PassiveHostAddress: 170.61.20.131 hostAddr: 170.61.20.131 DataConnect: hostname: 170.61.20.131 port: 49164 FilenameQP: FUND.ZIP;1 RETR failed Filename: FUND.ZIP;1 FtpResponse21: 550 ERROR NO BATCHES FOR TRANSMISSION Failed

asked Jan 30 '13 at 19:43

PeterH's gravatar image

PeterH
1111

Of course... When I use the latest version: DllDate: Dec 18 2012 It get too big of a log to paste here but the notable errors are: Warning: PBSZ error response PbszResponse: 536 Command invalid in CCC mode. --ConvertToTls_5 Failed to convert receiving data socket to TLS MDTM is not supported by this FTP server. Cannot maintain the last-modified date/time automatically. TotalTimeMs: Elapsed time: 60060 millisec Failed.

(Jan 30 '13 at 20:07) PeterH

Please post the full LastErrorText enclosed in preformatted tags. It's OK that it's large. The context can be just as important as the messages itself.

(Jan 30 '13 at 20:09) chilkat ♦♦

I have posted the LastErrorText as an answer (because the comment section won't accept much text).

(Jan 31 '13 at 06:01) PeterH

The DLL Date (Jun 23, 2009) is quite old. Can you try with the latest version (9.4.0, DLL Date in Dec. 2012 I believe).

link

answered Jan 30 '13 at 19:52

jpbro's gravatar image

jpbro ♦
1.1k2618

Thanks jpbro! Also, make sure to post LastErrorText information in <pre> ... </pre> tags for readability.

link

answered Jan 30 '13 at 20:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Yes, I believe that is the case. Sorry for the slow response (your response got spammed out).

(Feb 08 '13 at 08:31) PeterH

Is there a way to get all the file versions with a different local name for each version?

(Feb 08 '13 at 08:32) PeterH

I can't post as a comment, so I post here:

  GetFile:
    DllDate: Dec 18 2012
    UnlockPrefix: ISISFSFTP
    Username: SALES2-PC:PeterH
    Architecture: Little Endian; 32-bit
    Language: .NET 4.5
    VerboseLogging: 0
    ProgressMonitoring:
      enabled: no
      heartbeatMs: 0
      sendBufferSize: 65536
    --ProgressMonitoring
    AutoGetSizeForProgress: 0
    localFilename: c:1FUND.1.ZIP
    GetFileToOutput_1:
      getFileToOutput2_1:
        ModeZ: 0
        BinaryMode: 1
        Warning: PBSZ error response
        PbszResponse: 536 Command invalid in CCC mode.
        Passive transfer mode
        setupPassiveDataSocket2:
          PassiveHostAddress: 170.61.20.131
          hostAddr: 170.61.20.131
          DataConnect:
            hostname: 170.61.20.131
            port: 58503
            ConnectTimeoutMs_1: 60000
            calling ConnectSocket2
            IPV6 enabled connect with NO heartbeat.
            This is an IPV4 numeric address...
            AddrInfoList:
              AddrInfo:
                ai_flags: 4
                ai_family: 2
                ai_socktype: 1
                ai_protocol: 0
                ai_addrlen: 16
                ai_canonname: (NULL)
              --AddrInfo
            --AddrInfoList
            Connect using IPV4.
            ipAddress1: 170.61.20.131
            myIP_3: 192.168.1.166
            myPort_3: 49754
            connect successful (2)
            socketOptions:
              SO_SNDBUF: 261360
              SO_RCVBUF: 8192
              TCP_NODELAY: 8192
            --socketOptions
          --DataConnect
        --setupPassiveDataSocket2
        PassiveDataConnectionSetupTimeMs: Elapsed time: 31 millisec
        RetrFilename: [FUND.ZIP;1]
        Establishing secure data connection
        ssl_protocol_4: default
        ConvertToTls_5:
          establishChannel2_1:
            clientHandshake:
              clientHelloMajorMinorVersion: 3.1
              buildClientHello:
                majorVersion: 3
                minorVersion: 1
                numRandomBytes: 32
                sessionIdSize: 0
                numCipherSuites: 10
                numCompressionMethods: 1
              --buildClientHello
              readIncomingTls_serverHello:
                Timeout waiting to read socket or accept connection
                timeoutMs: 60000
                Timed out waiting for incoming SSL/TLS messages.
                timeoutMs: 60000
              --readIncomingTls_serverHello
              Expected ServerHello but did not receive it.
            --clientHandshake
            Client handshake failed. (1)
            connectionClosed: 0
          --establishChannel2_1
        --ConvertToTls_5
        Failed to convert receiving data socket to TLS
      --getFileToOutput2_1
    --GetFileToOutput_1
    MDTM is not supported by this FTP server.
    Cannot maintain the last-modified date/time automatically.
    TotalTimeMs: Elapsed time: 60060 millisec
    Failed.
  --GetFile
--ChilkatLog

link

answered Jan 30 '13 at 20:18

PeterH's gravatar image

PeterH
1111

The "536 Command invalid in CCC mode." isn't the cause of the problem. I suspect this is a case where you want the control channel to be initially SSL/TLS for authentication (i.e. login/password) and then you want to have the data connection non-SSL. Unfortunately, that's not possible in the current version, although it's a feature planned for the future. Is this the case?

(Jan 31 '13 at 21:33) chilkat ♦♦
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:

×18
×13
×1
×1

Asked: Jan 30 '13 at 19:43

Seen: 1,496 times

Last updated: Feb 08 '13 at 08:32

powered by OSQA