FTAM 1.0 NO IDEA Avatar
  1. OMG Issue

FTAM — Accessing Server-side File Systems:

  • Key: FTAM-32
  • Legacy Issue Number: 3821
  • Status: closed  
  • Source: Anonymous
  • Summary:

    There is no operation in the IDL to allow for directly accessing a file’s contents. However, this scenario has been considered. In order for a CORBA application to access the contents of the files on a server-side file system, it would be necessary for that application to provide an object implementing the FileTransferSession interface. Only the FileTransferSession::transfer (in File src, in File dest) operation and the FileTransferSession::protocols_supported attribute would have to be fully implemented. The procedure for transferring the contents of a file would be as follows;
    The reduced FileTransferSession would be instantiated.
    A File object would be created, setting the associated_session attribute to point to the reduced FileTransferSession object. The name, complete_file_name and parent attributes can be set to arbitrary values.
    The FileTransferSession::transfer() operation would be called on the remote FileTransferSession, passing in the remote File as the src parameter, and the locally created File as the dest parameter.
    The reduced FileTransferSession object would accept transport connections on the address’s specified by the FileTransferSession::protocols_supported attribute. When the connections have been set up, the remote FileTransferSession will call the transfer() operation on the reduced FileTransferSession, and transfer will commence.
    The reduced FileTransferSession object can then read the contents of the file from the transport connection.
    Data may be written to a remote file in a similar fashion, however the reduced FileTransferSession will have to be able to set up transport connections. The append() operation may also be implemented in the same way, if so desired.

  • Reported: FTAM 1.0b1 — Mon, 11 Sep 2000 04:00 GMT
  • Disposition: Resolved — FTAM 1.0
  • Disposition Summary:

    see above

  • Updated: Sat, 7 Mar 2015 04:28 GMT