DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦4e5dc2a1f⟧ TextFile

    Length: 2709 (0xa95)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

separate (Ncmvc_Server)
procedure Make_Controlled (Stream : Transport_Stream.Stream_Id;
                           Id     : Rpc.Transaction_Id) is
    Client_Object_Name : constant String := Ti.Get_String (Stream);
    Client_Context     : constant String := Ti.Get_String (Stream);
    Server_Context     : constant String := Ti.Get_String (Stream);
    Client_Name        : constant String := Ti.Get_String (Stream);
    Server_Object_Name : constant String :=
       Ftp_Name_Map.Remote_To_Local (File_Name   => Client_Object_Name,
                                     Local_Roof  => Server_Context,
                                     Remote_Roof => "",
                                     Remote_Type => "unix");
    Output             : Io.File_Type;  
begin
    -- Io.Create (File => Output, Mode => Io.Out_File, Name => "zzz", Form => "");
    -- Io.Set_Output (File => Output);
    --
    Rpc_Server.Begin_Response (Stream, Id);  
    Ftp.Get (From_Remote_File   => Client_Object_Name,
             To_Local_File      => Server_Object_Name,
             Remote_Machine     => Client_Name,
             Username           => Username,
             Password           => Password,
             Account            => Ftp_Profile.Account,
             Remote_Directory   => Client_Context,
             Remote_Type        => Ftp_Profile.Remote_Type,
             Append_To_File     => False,
             Transfer_Type      => Ftp_Profile.Transfer_Type,
             Transfer_Mode      => Ftp_Profile.Transfer_Mode,
             Transfer_Structure => Ftp_Profile.Transfer_Structure,
             Send_Port          => Ftp_Profile.Send_Port_Enabled,
             Response           => Ftp.Profile_Get);

    Cmvc.Make_Controlled (What_Object            => Server_Object_Name,
                          Reservation_Token_Name => "<AUTO_GENERATE>",
                          Join_With_View         => "<NONE>",
                          Save_Source            => True,
                          Comments               => "",
                          Work_Order             => "<DEFAULT>",
                          Response               => "<PROFILE>");

    Ti.Put_String (Into => Stream, Data => "make controlled done");

    -- Io.Save (Output);
    -- Io.Reset (Output);
    -- Io.Reset_Output;

    -- declare
    --     Data : String (1 .. 10000);
    --     I    : Integer := 1;
    -- begin
    --     while not Io.End_Of_File (Output) loop
    --         Io.Get (File => Output, Item => Data (I));
    --         I := I + 1;
    --     end loop;
    --     Ti.Put_String (Into => Stream, Data => Data (1 .. I));
    --
    -- end;

    -- Io.Delete (File => Output);
    --
end Make_Controlled;