Fw: [AG-DEV] Filenames, Manifests and the DataStorage
Thomas D. Uram
turam at mcs.anl.gov
Mon Aug 15 10:25:23 CDT 2005
Michael:
The manifest is created on the client side. The bulk of the client-side
code that you want to look at is in HTTPUploadEngine.UploadFiles; you
can see there the construction of the manifest, upload of the manifest,
and upload of the file(s). Any changes you want to make to manifest
creation would have to be made here, in constructManifest.
The server side is straightforward, but only if you understand the
structure of the Python HTTPServer. The details you need to be
concerned about are in HTTPTransferHandler.do_POST. Looking at this
method, you can see that the call to AddPendingUpload occurs on the
server side in ProcessManifest.
Tom
Michael Braitmaier wrote:
> Hello eyeryone!
>
> I sent this e-mail over one week ago and didn't get an reply.
> Maybe there is noone who can give me a push in the right direction?
> I don't hope so.
>
> I addition to the below question I would like to know if someone knows
> wether the manifest is created before the AddPendingUpload() function of
> the data store?
> I assume that it is this way, which would bring me into some troubles.
>
> Best regards
> Michael
>
> ----- Original Message ----- From: "Michael Braitmaier"
> <braitmaier at hlrs.de>
> To: <ag-dev at mcs.anl.gov>
> Sent: Friday, August 05, 2005 2:19 PM
> Subject: [AG-DEV] Filenames, Manifests and the DataStorage
>
>
>> Hello everyone!
>>
>> Since quite some time I am now working on the hierarchical data
>> tsructure for the sahred data space of AccessGrid.
>> I achieved some results so far, but now it comes to the point where I
>> want to integrate an algorithm allowing duplicate files in different
>> directories, as well as access to the files from SharedApplications
>> through denotation of the fully qualified path and filename.
>> The basic idea is to append the unique GUID of the AccessGrid
>> FileDescription to the filename when storing it on the server, thus
>> making it unique.
>> For this reason I need to determine the point where to append the
>> GUID. So far I figured out that the manifest creates a dictionary that
>> contains the filename desired for storing the file. I wanted to modify
>> the filename in that dictionary. Yet it is not quite clear to me when
>> the manifest is created and where? I assume it to be created on the
>> client side. Is there a way to influence manifest creation?
>>
>> Best Regards
>> Michael
>>
>> ------------------
>> Dipl.-Inf. Michael Braitmaier
>> HLRS - Visualization / Video Conferencing
>> University of Stuttgart
>> Germany
>> Website: http://www.hlrs.de/organization/vis/people/braitmaier/
>
>
>
More information about the ag-dev
mailing list