[Home]FileWorkspaceAccess

WikiHomePage | RecentChanges | Preferences

File Workspace Access    (15R)

The Shared-File Workspace (or Community File Repository) allows members of the community to share their work easily.    (3U)

   (44)

Special Security Measures    (57)

Download (Browser) -vs- Upload (WebDAV) URL Mapping    (5A)

              Browse To                                 Upload To                             Typical Use
       ------------------------------------  -------------------------------------  --------------------------------------------------------------
 Portal:  
        http://COP.cim3.net                   http://COP.cim3.net/portal             Community Portal; Public Facing website space; 
                                                                                     Publishing of the Community's work;
                                                                                     maintained by the COP-editor    (5C)
 File Workspace:    (5D)
        http://COP.cim3.net/file/pub          http://COP.cim3.net/file/pub           File-sharing wokspace with people outside the community 
                                                                                     akin to 'anonymous ftp' workspace    (5E)
        http://COP.cim3.net/file/resource     http://COP.cim3.net/resource           Library; sharing of external content collected; repository of other resources
                                                                                     ** for reference & resources that a community does not have IPR but may re-publish    (5F)
        http://COP.cim3.net/file/work         http://COP.cim3.net/work               Workspace; project work; meeting records; repository of the community's work documents
                                                                                     ** for work by the community, for which they have IPR (Intellectual Property Rights) on    (5G)
        http://COP.cim3.net/file/community    http://COP.cim3.net/file/community     Community related information; non-work related things (organizing a party, picnic, ...?)
                                                                                     ** for work that the community doesn't want to openly share, or show up on search engines    (5H)
        http://COP.cim3.net/file/admin        http://COP.cim3.net/file/admin         Community & CWE admistration stuff; contact lists ... etc.; administrator access only
                                                                                     ** for community information that requires somewhat restricted access (say, by the leadership or administrators only)    (5I)
              Browse To                                 Upload To                             Typical Use
       ------------------------------------  -------------------------------------  -------------------------------------------------------------
 Portal:  
        http://COP.cim3.net                   http://COP.cim3.net/portal             Community Portal; Public Facing website space; 
                                                                                     Publishing of the Community's work;
                                                                                     maintained by the COP-editor    (5K)
 File Workspace:    (5L)
        http://COP.cim3.net/file/pub          http://COP.cim3.net/pub                File-sharing wokspace with people outside the community                             
                                                                                     akin to 'ftp' workspace for guests    (5M)
        http://COP.cim3.net/file/resource     http://COP.cim3.net/file/resource      Library; sharing of external content collected; repository of other resources
                                                                                     ** for reference & resources that a community does not have IPR but may re-publish    (5N)
        http://COP.cim3.net/file/work         http://COP.cim3.net/file/work          Workspace; project work; meeting records; repository of the community's work documents
                                                                                     ** for work by the community, for which they have IPR (Intellectual Property Rights) on    (5O)
        http://COP.cim3.net/file/community    http://COP.cim3.net/file/community     Community related information; non-work related things (organizing a party, picnic, ...?)    (5P)
        http://COP.cim3.net/file/admin        http://COP.cim3.net/file/admin         Community & CWE admistration stuff; contact lists ... etc.; administrator access only
                                                                                     ** for community information that requires somewhat restricted access (say, by the leadership or administrators only)    (5Q)

Shared File Access (Upload & Download)    (325)

                   (drop down menu) Places | Document
                     (and, from the file-manager) File | Connect to Server ...
                       from the Connect to Server dialog box:    (ASH)
                            Service type = WebDAV (HTTP)
                                  Server = ontolog.cim3.net
                                    Port = 80  (one can also leave this blank, as 80 is default)
                                  Folder = /work
                               User Name = ontolog-member
                                        [x] Add bookmark  (check this box)
                           Bookmark name = ontolog.cim3.net_work  (this is just a label, you can choose something else)    (ASI)
                    .... then hit the [Connect] button    (ASJ)
                            Password = o-password  (this is a faked password, just shown here as an example; get yours from your CWE-Admin)
                                              [x] Remember forever   (select this radio button; again this is an example. Choose whatever is appropriate in your case.)    (ASK)
                    .... then hit the [Connect] button    (ASL)
              You should now be connected to the webdav server at http://ontolog.cim3.net:80/work, 
               and be able to drag-and-drop files from your local machine to the Ontolog member workspace. 
               Anything you put there can be browsable, and downloadable via your web browser, if you point 
               your web browser to http://ontolog.cim3.net/file/work (and navigate from there.)    (ASM)
                   Usage: cadaver [OPTIONS] http://hostname[:port]/path
                          Port defaults to 80, path defaults to '/'
                   Options:
                      -e, --expect100  Enable sending of `Expect: 100-continue' header.
                          *** Warning: For Apache servers, use only with version 1.3.9 and later.
                      -t, --tolerant   Allow cd/open into non-WebDAV enabled collection.
                      -V, --version    Display version information.
                      -h, --help       Display this help message.    (5S)
                   Command Reference:
                      ls [path]
                              List contents of current [or other] collection
                      cd path
                             Change to specified collection
                      pwd    Display name of current collection
                      put local [remote]
                             Upload local file
                      get remote [local]
                             Download remote resource    (ANX)
                   $ cadaver http://ontolog.cim3.net/work    (5T)
                   after logging in: try ...    (AQU)
                   dav:/work/> ls   <--[ list remote webdav server directory content ]
                   dav:/work/> lls  <--[ list local directory content ]
                   dav:/work/> ?    <--[ list available webdav commands ]
                   dav:/work/> cd tmp    <--[ change directory to ../work/tmp/ ]
                   dav:/work/tmp/> get {filename}   <--[ download a file ]
                   dav:/work/tmp/> put {filename}   <--[ upload a file ]
                   dav:/work/tmp/> move {filename-1} {filename-1a}  <--[ change filename ]
                   dav:/work/> cd ..    <--[ change directory - up one level ]
                   dav:/work/> quit    <--[ logout ]    (AQV)
                   $ curl -T FILENAME -u USERNAME:PASSWORD http://interop.cim3.net/file/work/{directory}/    (ATA)
                   The trailing slash is mandatory.  See the curl manpage for details.    (ATB)

To allow drag-and-drop access to the file workspace from Windows 2000 environment, do the following:    (48)

1. work from your file explorer    (77)

2. select Tools | Map Network Drive ...    (78)

3. click on the Create shortcut to a Web Folder or FTP site link, and then go through the ensuing wizard    (79)

4. Enter location as: "http://COP.cim3.net:80/work/" or "http://COP.cim3.net:80/file/work/" (respectively, depending on whether you are in an "open", or "community only" CWE)    (7A)

4a. the additon of the ":80" to the network address helps resolve a possible windows bug. (ref: below)    (ANJ)

5. Enter: UserName=" *** "; "Password=" *** " (without the " ") (contact your CWE Administrator to obtain the password)    (7B)

6. Check off "Save this Password on your password list"    (7C)

7. I'd name this location as "COP.cim3.net_work" (you can call it whatever you like, as long it will be obvious to you in future use)    (49)

8. Note that this exercise uses the "community" workspace as an example (it's simpler because it is symmetric -- in the sense that it requires a password for both download and upload). For open cwe's, some workspaces are not symmetric in its authentication requirements. Therefore, please make sure you refer to the URL Mapping table above before entering your webdav server location.    (15Z)

This will establish WebDAV access to the file sharing workspace. You may now drag-and-drop files from your explorer to the WebDAV server (and vice versa).    (4A)

Once on the server, files will be accessible through any web browser. Point your browser to http://COP.cim3.net/file/work/ and take a look.    (4E)

           Example: setting up WebDAV connectivity to the COLAB /file/work workspace (noting that COLAB is an 'open' cwe)    (AIC)

Right click on "Start" | select "Explore" | Tools | Map Network Drive ... | Sign up for online storage or connect to a network server | next | Choose another network location | next | enter:"http://colab.cim3.net:80/work/" | next | enter username:"colab-member" and password:"*****" (optionally) check the "save password" box | name the location:"colab.cim3.net_work" | next | finish | you may be prompted to enter the username and password again (same as above) and the option to save the password    (AI9)

4a. the additon of the ":80" to the network address helps resolve a possible windows bug. (ref: below)    (ANK)

[OBSOLETE, hopefully, now that we have a workaround] ... alternatively (this is where windows run into a bug), it may force a default username, if you see that do a: | cancel | from network location window, click next again | reenter username/password | it may say error, but ignore | repeat the same cancel/reenter/ignore cycle a few times | finish (either you got in ... or give up and use something other than a Windows solution.    (AIB)

              Do the following: (excerpt from the MS article cited above, resolution item#6)    (AO8)
              On Windows 2000 and Windows XP, use the Web Folders Repair utility (webfldrs.msi):
              1. Start Windows Explorer.
              2. On the main drive, navigate to WINNT\System32.
              3. On the Tools menu, click Folder Options.
              4. In the Folders Options dialog box, click the View tab.
              5. Click to select the Show Hidden Files check box, and then click OK.
              6. Locate the webfldrs.msi file, and then double-click it.
              7. Click Reinstall.
              8. Restart the computer after installation has completed    (AO9)
                     For the "network address" use:  http://<COP>.cim3.net:80/<filepath>/    (ANG)
                     where: <COP> = your CWE sitename;
                            <filepath> = WebDAV folder you need to connect to,
                                         e.g. work, resource, community, admin,
                                              file/work, file/resource, etc.    (ANH)
                     e.g. use something like:   http://colab.cim3.net:80/work/
                                (instead of :   http://colab.cim3.net/work/)
                                ( adding the "colon 80", ...  to force windows to
                                       go use the segment of code that does work!)    (ANI)
	[ChristophLange / 2012.10.17]: ... those who contribute to the a webdav shared-workspace and 
	would like to have a  full local copy of it, which is always in sync with the 
	central one, please try http://www.re.be/webdav_sync/ as follows:    (C41)
        Example showing how to sync up the webdav directory at http://interop.cim3.net/file/work/OntoIOp/ with a local directory ...    (C42)
	java -jar path/to/webdav_sync1_1.jar -bi -u http://{username}:{password}@interop.cim3.net/file/work/OntoIOp/ -d {path/to/your/local/copy}    (C43)
	where: -bi means bidirectional syncing.  Alternatively there is -down and -up    (C44)

WikiHomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited December 3, 2014 9:06 am (diff)
Search: