(self)
Handles the 'file' command.

            Sets return_view, which will cause read_file_view to be rendered
            as the response. A custom read_file_view can be given when
            initialising the connector.
Handles the 'file' command.
Handles the file command .
def __file(self):
        """ Handles the 'file' command.

            Sets return_view, which will cause read_file_view to be rendered
            as the response. A custom read_file_view can be given when
            initialising the connector.
        """
        target = self.data['target']
        download = self.data.get("download", False)
        volume = self.get_volume(target)

        # A file was requested, so set return_view to the read_file view.
        #self.return_view = self.read_file_view(self.request, volume, target)
        self.return_view = volume.read_file_view(self.request, target, download=download)
def __file ( self ) : target = self . data [ 'target' ] download = self . data . get ( "download" , False ) volume = self . get_volume ( target ) # A file was requested, so set return_view to the read_file view. #self.return_view = self.read_file_view(self.request, volume, target) self . return_view = volume . read_file_view ( self . request , target , download = download )