/// <summary> /// Retrieve a file transfer object. /// </summary> /// <param name="project">The project to retrieve the file for.</param> /// <param name="fileName">The name of the file.</param> public virtual RemotingFileTransfer RetrieveFileTransfer(string project, string fileName) { var request = new FileTransferRequest(); request.ProjectName = project; request.FileName = fileName; var response = cruiseServer.RetrieveFileTransfer(request); ValidateResponse(response); return(response.FileTransfer as RemotingFileTransfer); }
/// <summary> /// Retrieve a file transfer object. /// </summary> public virtual FileTransferResponse RetrieveFileTransfer(FileTransferRequest request) { return(server.RetrieveFileTransfer(request)); }