Operating System - OpenVMS
1753970 Members
7220 Online
108811 Solutions
New Discussion юеВ

sftp case sensitive issue

 
SAMI AHMAD
Regular Advisor

sftp case sensitive issue

hi I m using sftp and if i tranfer files with mget they are all being converted to lower case, even though the volume types are ODS-2
how can i transfer the files in upper case ?
5 REPLIES 5
John Gillings
Honored Contributor

Re: sftp case sensitive issue

Sami,

It's not clear which direction you're sending the files, or what TCPIP stack you're using, or what version of OpenVMS or architecture (though the mention of ODS-2 suggests this is an OpenVMS question).

Please post a transcript of your exact commands, along with any resulting messages. Show us what results are undesired, and explain how you would like them to be different.
A crucible of informative mistakes
SAMI AHMAD
Regular Advisor

Re: sftp case sensitive issue

TCPIP> show version

HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 7
on a AlphaServer GS160 6/1001 running OpenVMS V7.3-2

I am trying to pull files from another openvMS server of same type and the files there have names in capital letters but when i sftp the file to local server using mget the files are created in lower case.
with get the files are created in upper case.
John Gillings
Honored Contributor

Re: sftp case sensitive issue

Sami,

How can you be creating files with lower case names on an ODS-2 volume? Without a clear description of the issue, it's not possible to help you. As requested earlier:

>Please post a transcript of your exact
>commands, along with any resulting messages.
>Show us what results are undesired, and
>explain how you would like them to be
>different.
A crucible of informative mistakes
Steven Schweda
Honored Contributor

Re: sftp case sensitive issue

> >Please post a transcript of your exact
> >commands [...]

You're not from around here, are you.

> How can you be creating files with lower
> case names on an ODS-2 volume?

My guess, and it is only a guess, is that the
remote source file is on ODS2, and the local
destination is ODS5.

Around here, for example:

IT $ sftp system@alp-l

@ SYS$MANAGER:ANNOUNCE.TXT
[I _love_ this software.]
sftp> cd /ALP$DKB200/UTILITY/SOURCE/GNUPG
sftp> ls log*
LOGICALS.COM;5
LOGICALS.COM;4
sftp> mget log*
logicals.com | 121B | 0.1 kB/s | TOC: 00:00:01 | 100%
sftp>quit

IT $ dg logicals

Directory SYS$SYSROOT:[SYSMGR]

logicals.com;1 1 3-MAR-2010 17:43:56.04 (RWED,RWED,RE,)

Total of 1 file, 1 block.
IT $

Thus, an upper-case (ODS2) remote file name
becomes a lower-case (ODS5) local file name.

For the record:

IT $ tcpip show version

HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.6 - ECO 4
on an HP zx2000 (1.50GHz/6.0MB) running OpenVMS V8.3-1H1

IT $ sftp "-V" ! Yup. Love it.
it$dkc0:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS (
V5.5) 3.2.0 on HP zx2000 (1.50GHz/6.0MB) - VMS V8.3-1H1

ALP $ tcpip show version

HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 4
on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3

ALP $ anal /imag sys$system:TCPIP$SSH_SFTP-SERVER2.EXE
[...]
Image Identification Information

image name: "TCPIP$SSH_SFTP-SERVER2"
image file identification: "V5.6-ECO4"
image file build identification: ""
link date/time: 8-APR-2009 17:58:07.52
linker identification: "A13-02"
[...]


Am I the only one who's gotten very tired of
reading problem descriptions which contain
almost no useful information?



> how can i transfer the files in upper case ?

> with get the files are created in upper case.

Am I missing something, or did you just
answer your own question?
Zeni B. Schleter
Regular Advisor

Re: sftp case sensitive issue

With Multinet, there are logicals that suppress the attempt at maintaining lowercase syntax. On an ODS-2 volumes , characters are inbedded in the filename that makes it almost unreadable. I don't what method TCPIP would use to suppress this feature but there should be one.