[Deploying Sakai] Copying files to Sakai and keeping modified date

Matthew Jones jonespm at umich.edu
Thu Mar 31 14:08:14 PDT 2011


Well, mentioning Webdav certainly does change things. Looking for the
created time on a file in a dav client (cyberduck) comes as unknown but with
the expected modification time. If  you look at this same file in
the Resources UI the Created time is correct. It might just be webdav
reporting the wrong information?

It also doesn't display the creation time in the default OSX client
either. I wonder why this information isn't appearing in webdav. Limitation
of the protocol? Problem with the servlet? I have no other dav to test on to
see if that comes up with a created time or not.

[image: Picture 48.png]
On Tue, Mar 29, 2011 at 9:20 PM, Leon Kolchinsky <lkolchin at gmail.com> wrote:

> Hi,
>
> Basically "Created" and "Modified" time is almost the same in his case.
> The user is looking on those files via Explorer (Looking at this WebDAV
> share in "My Network Connections") and checking "Modified" column.
>
> I'm not familiar with any utility (To offer to this user, like xcopy for
> local disks) which can copy files via WebDAV and preserve the "Created" and
> "Modified" date/time.
>
> I'm getting what you're saying and changing this data in the DB is not an
> option.
>
> Thanks,
> Leon
>
>
> On Wed, Mar 30, 2011 at 12:06, Matthew Jones <jonespm at umich.edu> wrote:
>
>> What I think you're looking for is the created time. This is a value that
>> is stored in the xml blob for the content_resource, but just isn't something
>> that is displayed in the compressed content UI. It looks like the functions
>> like getCreatedTime are there, so you should be able to modify the content
>> table to display it if it was a local requirement.
>>
>> It's doesn't seem like a good idea to freeze or and it's not currently
>> possibly to manually the modified time, and it really wouldn't make sense.
>> The created time is the time that represents this value. This value is
>> visible on the "File Details" page.
>>
>> [image: file details.png]
>>
>> -Matthew
>>
>> On Tue, Mar 29, 2011 at 8:23 PM, Leon Kolchinsky <lkolchin at gmail.com>wrote:
>>
>>> Hello,
>>>
>>> One of our users asked if it's possible to copy files to Sakai and keep
>>> original Modified date.
>>> Is it possible?
>>>
>>> Cheers,
>>> Leon
>>>
>>> _______________________________________________
>>> production mailing list
>>> production at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/production
>>>
>>> TO UNSUBSCRIBE: send email to
>>> production-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20110331/5f9f654e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 27562 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20110331/5f9f654e/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 27562 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20110331/5f9f654e/attachment-0003.png 


More information about the production mailing list