On 8 Jan 2015, at 05:37, Sampsa Laine <sampsa at mac.com> wrote:
On 8 Jan 2015, at 05:29, Johnny Billquist <bqt at softjar.se> wrote:
On 2015-01-08 03:23, Paul_Koning at
Dell.com wrote:
...
The MultiNet FTP Server moves files between similarly capable FTP Clients and keeps the
File Attributes consistent while copying data (i.e. You can simply ftp RMS Indexed files
between VMS systems and the results will be immediately usable).
I know I read some manual about the DEC TCPIP package ftp server and client also managing
this. It would, in fact, be nice to be compatible with that. However, atleast when storing
or retreiving files from Unix systems, what DEC did is that they actually transfer two
files. One with the data, and a separate one with the file metadata. Ugly, I think, and I
would like to try and avoid that.
But that is a client only thing, as far as I can see. Anyone know how VMS does it if
talking to another VMS system?
I suspect I might have a hard time if they do it by detecting that the remote server is a
VMS system, since I will not lie about that. :-)
Ideally there would be an RFC describing this. Is there? Or another spec that spells
out the protocol encoding for this magic?
I haven't found any. :-(
On the other hand, I could have missed something.
The "old" way of possibly dealing with this would be to use the page structure
mode in ftp, but that would appear to be seriously discouraged. And besides, it is still
kindof a difficult fit here.
RFC 959 talks about a file structure command:
FILE STRUCTURE (STRU)
The argument is a single Telnet character code specifying
file structure described in the Section on Data
Representation and Storage.
The following codes are assigned for structure:
F - File (no record structure)
R - Record structure
P - Page structure
The default structure is File.
https://www.ietf.org/rfc/rfc959.txt
Not sure if this is of any help or works with any modern clients..
It's not even implemented in the VMS FTP server, where I could see the record
structured files being quite useful..:
230 User logged in.
Remote system type is VMS.
ftp> stru
We only support file structure, sorry.