Project

General

Profile

Actions

Task #1513

closed

ndnputfile: insert tool

Added by Junxiao Shi almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
Due date:
04/30/2014
% Done:

100%

Estimated time:

Description

ndnputfile [-v] [-u] [-s] [-D] [-i identity] [-I identity] [-F] [-x freshness] [-l lifetime] [-W timeout] repo-prefix ndn-name filename
Write a file into a repo.

-v: be verbose
-u: unversioned: do not add a version component
-s: single: do not add version or segment component, implies -u
-D: use DigestSha256 signing method instead of SignatureSha256WithRsa
-i: specify identity used for signing Data
-I: specify identity used for signing commands
-x: FreshnessPeriod in milliseconds
-l: InterestLifetime in milliseconds for each command
-w: timeout in milliseconds for whole process (default unlimited)
repo-prefix: repo command prefix
ndn-name: NDN Name prefix for written Data
filename: local file name; "-" reads from stdin

Examples:

  • ndnputfile ndn:/example/repo ndn:/example/files/hello.txt ./hello.txt
    Put the file ./hello.txt as ndn:/example/files/hello.txt/<version>/<segment>, using ndn:/example/repo as repo command prefix.
  • echo WORLD | ndnputfile -u ndn:/example/repo ndn:/example/files/world.txt -
    Put "WORLD" as ndn:/example/files/world.txt/<segment>, using ndn:/example/repo as repo command prefix.
  • echo ONE | ndnputfile -s ndn:/example/repo ndn:/example/files/one.txt -
    Put "ONE" as ndn:/example/files/one.txt, using ndn:/example/repo as repo command prefix.

This tool SHOULD send "insert check" commands to keep the insertion process alive.

Actions #1

Updated by Alex Afanasyev almost 11 years ago

  • Assignee set to Wentao Shang
Actions #2

Updated by Alex Afanasyev almost 11 years ago

  • Due date set to 04/30/2014
  • Assignee changed from Wentao Shang to Shuo Chen
  • Priority changed from Normal to High
Actions #3

Updated by Shuo Chen almost 11 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
Actions #4

Updated by Shuo Chen almost 11 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100
Actions #5

Updated by Junxiao Shi almost 11 years ago

If the Task is complete and nothing is left, its Status shall be Closed.

Actions #6

Updated by Alex Afanasyev over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF