login about faq

When I call get_NumFilesAndDirs() on an OpenVMS server it returns 0 (no files/subdirs found). Immediately after this call, I print the lastErrorText:

NumFilesAndDirs:
  DllDate: Dec 12 2012
  UnlockPrefix: WATCHDFTP
  Username: DELL7:Gert
  Architecture: Little Endian; 32-bit
  Language: Visual C++ 9.0
  VerboseLogging: 0
  FTP directory cache not fresh.  Fetching dir listing...
  checkDirCache_listPattern:
    supportsMLSD: 0
    ListDir:
      Passive transfer mode
      setupPassiveDataSocket1:
        hostAddr: 217.xx.yyy.83
        DataConnect:
          hostname: 217.xx.yyy.83
          port: 51630
          ConnectTimeoutMs_1: 20000
          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: 217.xx.yyy.83
          myIP_3: 192.xxx.y.102
          myPort_3: 55915
          connect successful (2)
          socketOptions:
            SO_SNDBUF: 8192
            SO_RCVBUF: 8192
            TCP_NODELAY: 8192
          --socketOptions
        --DataConnect
      --setupPassiveDataSocket1
      SendingFtpCommand:
        sendingCommand: LIST
      --SendingFtpCommand
      listDirStatusCode: 150
      listDirIntermediateReply: 150 Opening data connection for DISK$PROD:[PROD.MBX.GDPSW.EXPORT].; (94.xxx.yy.247,55915)
      ReadFtpDataChannel:
        numBytesRequested: 4096
        Connection closed by connected peer.
      --ReadFtpDataChannel
      readDataSockSuccess: 1
      dirListSize: 312
      Data connection closed by server
      Assuming an empty directory listing...
      Type 3 directory listing
      ListTimeMS: 94
    --ListDir
  --checkDirCache_listPattern
  N: 0
  Success.
--NumFilesAndDirs
ChilkatLog

I know there are 2 files in this directory (checked with filezilla), but CkFtp2 doesn't see them somehow. At the bottom you can see the session log (with the LIST result showing 2 files). Is there some special setting I need to use for OpenVMS? If needed I can send you the login-details for a test account.

220 ftp1.uuuuuuu.aa FTP Server (Version 5.4) Ready.
.
USER user
331 Username user requires a Password
.
PASS ****
230 User logged in.
.
TYPE I
200 TYPE set to IMAGE.
.
SYST
200 VMS OpenVMS V7.3 on node ftp1.uuuuuuu.aa.
.
FEAT
502 FEAT is unimplemented.
.
CWD /
250-CWD command successful.
250 New default directory is DISK$PROD:[PROD.MBX.GDPSW.EXPORT]
.
PASV
227 Entering Passive Mode (217,xx,yyy,83,201,174)
.
LIST
150 Opening data connection for DISK$PROD:[PROD.MBX.GDPSW.EXPORT]*.*; (94.xxx.yy.247,55915)

(DirListingCharset: ansi)
read listing success = 1, listing size = 312

Directory DISK$PROD:[PROD.MBX.GDPSW.EXPORT]

2_sort.txt;1             3/3          22-MAR-2013 11:55:19  [ABCDW]                (RWED,RWED,RWED,)
ST16_CL12034994_.STAT;1
                         4/6          15-MAR-2013 09:25:30  [ABCDW]                (RWED,RWED,RWED,RE)

Total of 2 files, 7/9 blocks
226 LIST Directory transfer complete.

asked Mar 22 '13 at 07:41

Gert's gravatar image

Gert ♦
629141824


Thanks Gert! I'm pretty sure this was fixed about a week ago. I'll send a new download link for the v9.4.1 pre-release, but at this moment the CkZip functionality within the v9.4.1 pre-release is still under "road construction".

link

answered Mar 22 '13 at 09:50

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Great, please send a 32 and 64 bit link for vc9. PS, I guess you mean CkFtp2.

(Mar 22 '13 at 09:54) Gert ♦

Gert, no, the CkFtp2 functionality is fine. The unrelated CkZip functionality is still under road construction, and I mention it just in case your application also uses CkZip.

(Mar 22 '13 at 10:06) 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:

×21
×1

Asked: Mar 22 '13 at 07:41

Seen: 1,249 times

Last updated: Mar 22 '13 at 10:06

powered by OSQA