Opened 5 years ago

Closed 5 years ago

#12095 closed Bug report (wontfix)

VMS directories sometimes shown as files

Reported by: Willem Grooters Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Windows
Operating system version: 10 Pro

Description

Server is OpenVMS 8.4.

On access, directories are correctly shown as folders. In some occasions however, directories are shown as files, but with correct extension (.DIR) and version number (;1). Security, ownership etc are the same for all directories.
Debug log does not show this; Image 1 shows the correct type of information, inmage 2 shows files that are actually directories but are shown as files.

Attachments (3)

filezilla.log (3.0 KB ) - added by Willem Grooters 5 years ago.
Logfile, debug level 3
Dirs.png (7.9 KB ) - added by Willem Grooters 5 years ago.
Correctly shown directories
dirAsFile.png (26.1 KB ) - added by Willem Grooters 5 years ago.
Incorrectly shown directories (as files)

Download all attachments as: .zip

Change History (6)

by Willem Grooters, 5 years ago

Attachment: filezilla.log added

Logfile, debug level 3

by Willem Grooters, 5 years ago

Attachment: Dirs.png added

Correctly shown directories

by Willem Grooters, 5 years ago

Attachment: dirAsFile.png added

Incorrectly shown directories (as files)

comment:1 by Willem Grooters, 5 years ago

Summary: SMS directories shown as filesVMS directories sometimes shown as files

comment:2 by Willem Grooters, 5 years ago

Guess what....

Each of the directories that are shown as file, has an extention ".dir". those that are shown as folders, have an extention of ".DIR". In both cases, the version number is ";1" - which is correct.
So if I rename the files to match this, they are shown as folders, not as files.

But you should take into account that OpenVMS is CASE_INSENSITIVE by nature, so ".dir" is equal to ".DIR".
So a suggestion: If you must rely on the extension to render a file as a directory, use ".dir;1" - regardless case. Files that adhere to this scheme will normally be folders....It would preferable to check the "IsDirectory" file attribute - if possible.

comment:3 by Tim Kosse, 5 years ago

Resolution: wontfix
Status: newclosed

This won't be fixed. Supporting these legacy systems is not worth the effort. There are many different flavors and variants of these systems, making changes for one will break support for another.

Please update to a more modern FTP server software that implements TVFS and the MLSD command as specified in https://tools.ietf.org/html/rfc3659.

TVFS defines a simple, well-formed path and filename syntax for interoperability. Clients and servers can easily map this to their internal representation if it is different.

MLSD defines an unambiguous, platform-independent and machine-parsable listing format. Compare it to the LIST command, which does not even have a specified output format, which is the reason why you are having this problem.

RFC 3659 came out almost 13 years ago. Plenty of time for your FTP server software vendor to have implemented support for it.

Note: See TracTickets for help on using tickets.