On Tue, Aug 02, 2005 at 09:40:33AM +0200, EVAE wrote:
> Thanks for your answers...
> I'm going to rewrite my question.
> I have a CPS site. My aim is, in a first step, to share files among
> teachers (zip files, doc files, pdf files...). I have a lot of them
> prepared on my hard disk.
> As I know, I have to create (and upload) them one by one on my CPS site.
> My question is: Is there a tool, a protocol... to mirror all my directories 
> and files from my hard disk to the CPS Site in one step or in a easier way?
> 
> Thanks again
> 
> Dave: What is a CPSDirectoryMirror object?

It is an imaginary product.  I'm suggesting that it could be
designed to fit the needs you are describing.  Here is an attempt
at that needs description. -- If it were implemented:

- It would be a container or folderish object.

- When you create an instance of this object, you associate it
  with (link it to) a directory on your file system.  There would
  be a Browse button in the edit view.

- It is capable of creating sub-objects (objects nested inside
  itself) for each file in the file system directory.  For
  example:

  + For each file in that directory with extension .txt, it might
    create a Document object with format Structured Text.

    From a another message in this thread by Rakotomandimby:

        "They shouldnt be simple text files then. because they may
        may different types on the CPS site... (News Item,
        Document, Press Release,...)"

    Good point.  Maybe CPSDirectoryMirror object could
    list the files in the directory along with
    radiobuttons next to each one that would allow you to
    select a CPS document type.  And, Document might be
    the default type.

  + For each file in that directory with extension .jpg, it
    might create a Image object.

  + For each file in that directory with extension .zip (or .tgz or
    .tar.gz, ...) it might create a File object.

  + Etc.

- The CPSDirectoryMirror object might also have a Refresh
  operation.  When executed, it would refresh (upload) out of date
  objects from the content of files system directory.

- Perhaps it could also have an Update operation.  When executed, 
  it would add new objects/files from the files system and it
  would refresh (upload) exiting out of date objects from the file
  system directory.

- Perhaps the Edit view of the CPSDirectoryMirror object could
  show side by side (1) a list of the objects it contains and (2)
  a list of the files in the directory on the file system.  There
  would be check boxes next to each item, and there would be
  "Unload" and "Upload" buttons.  Also might have
  radiobuttons next to each file allowing the user to
  select the document type to be created.

The CPSDirectoryMirror product does not exist.  But, perhaps if we
describe it, we would be able to decide whether it could fill your
needs, whether would be useful to others, whether it is
implementable, etc.

Dave

-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to