|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure To_Mac, seg_04a644
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Directory_Tools;
with Ftp;
with Ftp_Profile;
with Text_Io;
procedure To_Mac (Name : String := "??'c(ada)") is
package Dtn renames Directory_Tools.Naming;
package Dto renames Directory_Tools.Object;
Iter : Dto.Iterator;
File_Num : Positive := 1;
begin
Iter := Dtn.Resolution (Name => Name,
Context => Dtn.Default_Context,
Objects_Only => True);
while not Dto.Done (Iter) loop
declare
Local_Name : constant String := Dtn.Simple_Name (Dto.Value (Iter));
Full_Name : constant String :=
Dtn.Unique_Full_Name (Dto.Value (Iter));
Remote_Name : constant String := "F" & Positive'Image (File_Num);
begin
Text_Io.Put_Line ("Put =>" & Local_Name);
Ftp.Put (From_Local_File => Full_Name,
To_Remote_File => Remote_Name,
Remote_Machine => "193.54.148.206");
end;
Dto.Next (Iter);
File_Num := File_Num + 1;
end loop;
end To_Mac;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=19 rec1=00 rec2=01 rec3=070
[0x01] rec0=08 rec1=00 rec2=02 rec3=001
tail 0x21547ab02867081ca80cf 0x42a00088462060003