[tahoe-dev] capability URIs for mutable file uploads ?

David-Sarah Hopwood david-sarah at jacaranda.org
Fri Feb 25 10:10:13 PST 2011


On 2011-02-25 13:11, sreenivasulu velpula wrote:
> On Thu, 24 Feb 2011 11:05:33 , Brian Warner wrote:
> 
>> On 2/24/11 2:22 AM, sreenivasulu velpula wrote:
>>>  -> I created one directory through my Tahoe client, under that
>>> directory, i uploaded the same mutable file  multiple times. But this
>>> time i am getting same URI for every upload of that file.
> 
>> What command or button were you using when you did that? If you used a
>> directory page's "Upload File" button, with the "mutable" checkbox
>> enabled, then you should have gotten a different URI each time.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>   Hi,
>          I have used the following command multiple times to upload the file
> "00000035" multiple times.
> 
>          "  tahoe put -m -d  ~/ClentToSysLab
> /home/vsreenu/Desktop/check/bigfileset/00000001/00000035
> testgrid10:00000035   "
> 
>        Even though i am uploading mutable file, every time i am getting the
> same URI,  following is the output on command line.

This happens because you're specifying the target file in the command
(as testgrid10:00000035). When the command is first run, this file will
be created because it doesn't exist. On subsequent runs, its contents
will be overwritten with the contents of the local 00000035 file, but it
is still the same file and so has the same URI.

I've opened a ticket to improve the 'tahoe put --help' output to explain
this case: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1372

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 292 bytes
Desc: OpenPGP digital signature
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110225/18f5817b/attachment.pgp>


More information about the tahoe-dev mailing list