Actions
Task #1514
closedndngetfile: retrieve tool
Start date:
Due date:
04/30/2014
% Done:
100%
Estimated time:
Description
ndngetfile [-v] [-u] [-l lifetime] [-w timeout] [-o filename] ndn-name
Read a file from repo.
-v: be verbose
-u: unversioned: do not try to find latest version; ndn-name contains version component
ndn-name: NDN Name prefix for Data to be read
-l: InterestLifetime in milliseconds
-w: timeout in milliseconds for whole process (default unlimited)
-o: write to local file name instead of stdout
Example:
ndngetfile ndn:/example/files/hello.txt -o./hello.txt
Read ndn:/example/files/hello.txt//, and output to ./hello.txt.ndngetfile -u ndn:/example/files/world.txt
Read ndn:/example/files/world.txt/, and output to stdout.
Without -u, first Interest should have MustBeFresh=yes ChildSelector=rightmost in order to find latest version; there's no need to use Exclude to find the "absolute" latest version.
All other Interests do not need selectors.
This tool MAY pipeline the requests.
This tool need not support retrieving unversioned and unsegmented Data from repo, because ndn-tlv-peek can do this job.
Updated by Alex Afanasyev over 11 years ago
- Due date set to 04/30/2014
- Assignee changed from Wentao Shang to Shuo Chen
- Priority changed from Normal to High
Updated by Wentao Shang over 11 years ago
- Assignee changed from Shuo Chen to Wentao Shang
Updated by Wentao Shang over 11 years ago
- Status changed from New to Code review
- % Done changed from 0 to 10
Updated by Wentao Shang over 11 years ago
- Status changed from Code review to Closed
- % Done changed from 10 to 100
Actions