Opened 7 months ago

Closed 7 months ago

#1578 closed enhancement (fixed)

Implement a method for getting file metadata without opening a stream

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: Job scheduler extension v1.14
Component: net.sf.basedb.opengrid Keywords:
Cc:

Description

The RemoteSession class have several methods for downloading a file, and some of them will return metadata such as size and modification date in a separate object (FileMetaData). There are cases when we only want to get the metadata without starting a download and there is really no need to open a stream. It would be nice to have separate method for this.

Change History (1)

comment:1 by Nicklas Nordborg, 7 months ago

Owner: set to Nicklas Nordborg
Resolution: fixed
Status: newclosed

In 7636:

Fixes #1578: Implement a method for getting file metadata without opening a stream

Also found two places that set last accessed/modified time incorrectly.

Note: See TracTickets for help on using tickets.