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

sreenivasulu velpula v.sreenu at gmail.com
Fri Feb 25 05:11:28 PST 2011


On Thu, 24 Feb 2011 11:05:33 , Brian Warner wrote:

>On 2/24/11 2:22 AM, sreenivasulu velpula wrote:
> >Hi,
>>   When a  same mutable file is uploaded multiple times, file will be
> >uploaded to servers as many times as it requested to upload through
> >clients..
>>
>  > The following are the my observations on URI s for mutable files i got.
>>
> >  -> With out creating any directory i uploaded the same  mutable file
> >multiple times. I got the different URIs for each upload.

>Yes, each time you create a mutable file (regardless of what its
>contents are), you get a new URI. If you think about it, it has to be
>this way: you might modify one copy, and leave the others alone, and you
>want them to have separate URIs so you don't see all of them change
instead of just the one.

>>  -> 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.


vsreenu at vsreenu-laptop:~$ tahoe put -m -d  ~/ClentToSysLab
/home/vsreenu/Desktop/check/bigfileset/00000001/00000035
testgrid10:00000035
200 OK
URI:SSK:ka3ojlz6r5su7le3l2bmic2s2m:kyzw4iwigjcx54rjtq3mqk5j4fmrc3o2dtmtbautytyovxbjvlfq

vsreenu at vsreenu-laptop:~$ tahoe put -m -d  ~/ClentToSysLab
/home/vsreenu/Desktop/check/bigfileset/00000001/00000035 testgrid10:00000035
200 OK
URI:SSK:ka3ojlz6r5su7le3l2bmic2s2m:kyzw4iwigjcx54rjtq3mqk5j4fmrc3o2dtmtbautytyovxbjvlfq

vsreenu at vsreenu-laptop:~$ tahoe put -m -d  ~/ClentToSysLab
/home/vsreenu/Desktop/check/bigfileset/00000001/00000035 testgrid10:00000035
200 OK
URI:SSK:ka3ojlz6r5su7le3l2bmic2s2m:kyzw4iwigjcx54rjtq3mqk5j4fmrc3o2dtmtbautytyovxbjvlfq

vsreenu at vsreenu-laptop:~$ tahoe put -m -d  ~/ClentToSysLab
/home/vsreenu/Desktop/check/bigfileset/00000001/00000035 testgrid10:00000035
200 OK
URI:SSK:ka3ojlz6r5su7le3l2bmic2s2m:kyzw4iwigjcx54rjtq3mqk5j4fmrc3o2dtmtbautytyovxbjvlfq

vsreenu at vsreenu-laptop:~$ tahoe put -m -d  ~/ClentToSysLab
/home/vsreenu/Desktop/check/bigfileset/00000001/00000035 testgrid10:00000035
200 OK
URI:SSK:ka3ojlz6r5su7le3l2bmic2s2m:kyzw4iwigjcx54rjtq3mqk5j4fmrc3o2dtmtbautytyovxbjvlfq

vsreenu at vsreenu-laptop:~$ tahoe put -m -d  ~/ClentToSysLab
/home/vsreenu/Desktop/check/bigfileset/00000001/00000035 testgrid10:00000035
200 OK
URI:SSK:ka3ojlz6r5su7le3l2bmic2s2m:kyzw4iwigjcx54rjtq3mqk5j4fmrc3o2dtmtbautytyovxbjvlfq

vsreenu at vsreenu-laptop:~$



-- 
*Regards*
Sreenivasulu.V
MTech(CS) 2nd Year
IIT Madras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110225/edfcf58d/attachment.html>


More information about the tahoe-dev mailing list