Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SFTP question

5 views
Skip to first unread message

Neil Rieck

unread,
Feb 17, 2011, 7:16:25 AM2/17/11
to
TCPWARE-FTP supports various logical names which can me employed to
make connecting FTP sessions appear to be connected to a UNIX system
rather than a VMS box.

TCPWARE_FTP_UNIX_STYLE_BY_DEFAULT
TCPWARE_FTP_DISALLOW_UNIX_STYLE
TCPWARE_FTP_UNIX_STYLE_CASE_INSENSITIVE
TCPWARE_FTP_UNIX_YEAR_OLD_FILES
TCPWARE_FTP_STRIP_VERSION

Are there any plans to add similar functionality to SFTP ?

Neil Rieck
Kitchener / Waterloo / Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/

Richard Whalen

unread,
Feb 18, 2011, 8:47:33 AM2/18/11
to
When SFTP was being designed there was an attempt to avoid the large number
of logical names that FTP has that often lead to support problems. But, over
time many logicals have been added.

Since the SFTP protocol specifies Unix style file specifications, Unix style
is the default. VMS style is only used when both sides have the
functionality.

Defining TCPWARE_SFTP_CASE_INSENSITIVE to T/Y/1 will make file names case
insensitive.

A search of the source found the following logical names. This may not be a
complete list.

TCPWARE_SFTP_USE_SRI_ENCODING_ON_ODS5
TCPWARE_SFTP_IDLE_TIMEOUT
TCPWARE_SFTP_SEND_VENDOR_ID
TCPWARE_SFTP_VMS_ALL_VERSIONS
TCPWARE_SFTP_DIRECTORY_WITH_CREATION_DATE
TCPWARE_SFTP_STAT_DESTINATION_DIRECTORY
TCPWARE_SFTP_STAT_DESTINATION_FILE
TCPWARE_SFTP_ALWAYS_SEND_VMS_INFORMATION
TCPWARE_SFTP_NEWLINE_STYLE
TCPWARE_SFTP_TRANSLATE_VMS_FILE_TYPES
TCPWARE_SFTP_MAX_PRE_ALLOCATION
TCPWARE_SFTP_DEFAULT_FILE_TYPE_REGULAR
TCPWARE_SFTP_DONT_TRUNCATE
TCPWARE_SFTP_CASE_INSENSITIVE
TCPWARE_SFTP_ADD_ODS5_CARETS
TCPWARE_SFTP_ODS2_SRI_ENCODING
TCPWARE_SFTP_FILE_ESTIMATE_THRESHOLD
TCPWARE_SFTP_VMS_MODE_BY_DEFAULT
TCPWARE_SFTP_FALLBACK_TO_CBT
TCPWARE_SFTP_RETURN_ALQ
TCPWARE_SFTP_<username>_CONTROL
TCPWARE_SFTP_<username>_ROOT

Most of these look at the translation for a Yes/No value.
IDLE_TIMEOUT looks for a time value.
FILE_ESTIMATE_THRESHOLD takes a number of blocks.
NEWLINE_STYLE is VMS UNIX MAC; VMS and UNIX result in newline, MAC in
carriage return and anything else in carriage return linefeed combination.
TCPWARE_SFTP_<username>_CONTROL takes a combination of NOLIST, NOREAD,
NOWRITE, NORENAME, NODELETE, NOMKDIR, NORMDIR to control the operations that
a user can perform.
TCPWARE_SFTP_<username>_ROOT takes a top level directory specification that
the user can not leave. (They can go to sub directories.)
These last two are expected to be in the system logical name table in order
to make them secure.

So, in the end most of the functionality in FTP that is controlled by
logicals made it into SFTP. Some of the logical names are different though.


"Neil Rieck" <n.r...@sympatico.ca> wrote in message
news:51687ea4-9a87-405a...@p16g2000vbo.googlegroups.com...

Neil Rieck

unread,
Feb 19, 2011, 7:13:57 AM2/19/11
to
> "Neil Rieck" <n.ri...@sympatico.ca> wrote in message

>
> news:51687ea4-9a87-405a...@p16g2000vbo.googlegroups.com...
>
> > TCPWARE-FTP supports various logical names which can me employed to
> > make connecting FTP sessions appear to be connected to a UNIX system
> > rather than a VMS box.
>
> > TCPWARE_FTP_UNIX_STYLE_BY_DEFAULT
> > TCPWARE_FTP_DISALLOW_UNIX_STYLE
> > TCPWARE_FTP_UNIX_STYLE_CASE_INSENSITIVE
> > TCPWARE_FTP_UNIX_YEAR_OLD_FILES
> > TCPWARE_FTP_STRIP_VERSION
>
> > Are there any plans to add similar functionality to SFTP ?
>
> > Neil Rieck
> > Kitchener / Waterloo / Cambridge,
> > Ontario, Canada.
> >http://www3.sympatico.ca/n.rieck/

Thanks for this. I was testing OpenVMS to OpenVMS which explains what
I was seeing. I'll try again with Solaris to OpenVMS.

NSR

0 new messages