Operating System - OpenVMS
1821980 Members
3330 Online
109638 Solutions
New Discussion юеВ

FTP a specific file version

 
BP_5
New Member

FTP a specific file version

Hi All,
In Open VMS we have file versions. Is there a way to ftp a specific file version of a file.

eg: We have test.com;1 , test.com;2.
I want to ftp test.com;1.

If i give the ftp command 'get test.com;1' it takes the test.com;2.

Any help ??

Thanks in advance
6 REPLIES 6
Volker Halle
Honored Contributor

Re: FTP a specific file version

BP,

welcome to the OpenVMS ITRC forum.

Initial tests with TCPIP V5.5 seem to indicate, that specifying a file version number is honoured by FTP (VMS-VMS and Windows-VMS).

Which version is your FTP server, which version of a FTP client are your running ?

Volker.
Volker Halle
Honored Contributor

Re: FTP a specific file version

BP,

correction: it does NOT seem to work from a Windows FTP client !

Volker.

Volker Halle
Honored Contributor

Re: FTP a specific file version

BP,

but you could use

FTP> get test.com.1

which will end up as a test.com.1 file on Windows, but it will be TEST.COM;1

Volker.
BP_5
New Member

Re: FTP a specific file version

Thanks .. IT works :)
Steven Schweda
Honored Contributor

Re: FTP a specific file version

To reduce the pointless guesswork, it would
really help to know:

1) VMS version,
2) TCP/IP product and version,
3) FTP server type and version, if not the
one from "2)",
4) FTP client and its version,
5) FTP client's host type and OS (and version).

Lots of things work, many of which would
probably be useless to you. For example, on
a VMS system:

wget ftp://sms:@alp/test/A.A.2 -O A.A;2
Jan van den Ende
Honored Contributor

Re: FTP a specific file version

BP,

to generalise the answer given by Volker:

VMS acceps the "." (full stop) instead of ";" (semicolon) as file version separator: any second full stop will function as a semicolon, provided there are no more than two together.
Any remote OS that supports multiple periods will handle VMS file versions, in GET and in PUT operations, initiated eigther on VMS or on the other OS.

Disclaimer: I have not yet worked out the full extends and limitations of ODS5!

hth

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.