$ tcpip show version
DIGITAL TCP/IP Services for OpenVMS Alpha Version V5.0
on a Digital Personal WorkStation running OpenVMS V7.2
FTPを使ってファイルを転送する場合OSがOpenVMSであることをあまり意識しません。
$ ftp 192.168.1.221FTPで受け取ったファイルはOpenVMSのFTPクライアントがディスク上にファイルとして書き込むので、OpenVMS上のエディタでファイルを作成したものと同じファイル属性を持つことになります。
220 192.168.1.221 FTP server (Version 6.00LS) ready.
Connected to 192.168.1.221.
Name (192.168.1.221:furusawa):
331 Password required for furusawa.
Password:
230 User furusawa logged in.
FTP> cd tmp
250 CWD command successful.
FTP> asc
200 Type set to A.
FTP> get a.c
200 PORT command successful.
150 Opening ASCII mode data connection for 'a.c' (84 bytes).
226 Transfer complete.
local: DISK$USER:[FURUSAWA]A.C;2 remote: a.c
84 bytes received in 00:00:00.01 seconds (5.46 Kbytes/s)
FTP> bye
221 Goodbye.
$ dir/ful a.c;*
Directory DISK$USER:[FURUSAWA]
A.C;2 File ID: (3627,6,0)
Size: 1/4 Owner: [FURUSAWA]
Created: 8-MAR-2016 09:49:27.24
Revised: 8-MAR-2016 09:49:27.30 (1)
Expires: <None specified>
Backup: <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 4, Extend: 0, Global buffer count: 0
No version limit
Record format: Variable length, maximum 0 bytes, longest 31 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None
A.C;1 File ID: (3050,6,0)
Size: 1/4 Owner: [FURUSAWA]
Created: 15-OCT-2015 10:02:50.88
Revised: 15-OCT-2015 10:02:50.95 (1)
Expires: <None specified>
Backup: <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 4, Extend: 0, Global buffer count: 0
No version limit
Record format: Variable length, maximum 0 bytes, longest 31 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None
Total of 2 files, 2/8 blocks.
0 件のコメント:
コメントを投稿