Information providers can update their web pages and/or
related data to the staging server through FTP using
their personal central userids (CUID).
Here are the FTP host names for the staging servers:
- europa.staging.cc.cec.eu.int
- intracomm.staging.cc.cec.eu.int
about the FTP server set up
- the FTP servers use userids that are stored in the Central User Database (CUD). These userids are personal userids, which makes it easier to link uploaded data back to information providers.
- all accesses are logged.
- it is possible to grant write permissions on the same files to several users. It is up to these users to make sure they are not interfering with each other.
-
write permissions are passed on from directory to
sub-directories, unless when a sub-directory has a
separate access control list specified for it.
For example, a user that has write permission on the directory "/public/htdocs/comm" will not have access permission on the directory "/public/htdocs/comm/fairy_affairs" and everything underneath it when another user has been granted access permission on that sub-directory.
This behaviour can be reversed when explicitely requested. - within the restricted document tree all access permissions are assigned explicitely and exclusively. For example, one user has access permissions to "/restricted/htdocs/secret" and another user has access permissions to "/restricted/htdocs/secret/another_secret". The first user will have access to everything under "/restricted/htdocs/secret", but not to "/restricted/htdocs/secret/another_secret", while the second user will only have access to "/restricted/htdocs/secret/another_secret" and everything underneath it, but not to the parent directory.
- the FTP servers are configured to work only within the 'htdocs' directories. FTP access to the 'cgi-bin' and 'work' sub-directories will not be allowed.
Continuing with the example from the chapter on "Data Structure for Web Pages":
Mr Wilhelm Grimm who maintains the pages under
http://europa.eu.int/comm/fairy_affairs/ will after
connecting to the FTP server
europa.staging.cc.cec.eu.int with his userid "grimmwi"
need to change to the directory
"/public/htdocs/comm/fairy_affairs". At this location
he can upload his new and updated contents and the
eventual .request.update and .request.output
files.
He will have write permission on everything underneath
"/public/htdocs/comm/fairy_affairs", including
"/public/htdocs/comm/fairy_affairs/myths_legends"
because he explicitely requested to have access to
those data. His brother Jacob, with userid "grimmja",
has access permission only on
"/public/htdocs/comm/fairy_affairs/myths_legends" and
everything underneath it.
"grimmja" also has access permission to the restricted
data under
"/restricted/htdocs/comm/fairy_affairs/myths_legends/bloodandgore",
while "grimmwi" will not even be able to see this
directory structure.
Remark: there are two types of data to be
transferred: binary data and text data. HTML files and
"request files" are text data. Image files (e.g. *.gif)
are binary files.
The difference is that text files consist of a number
of lines ended by end of line characters ("line feed",
"new line", "carriage return"), while binary files
consist of a series of bits.
The line ending characters in text files differ
between operating systems. Therefore it is
necessary to transfer text files using the
"ASCII" data transfer mode. Binary files have to be
transferred in "Binary" or "Image" data transfer mode.
Another remark: the HTML standard specifies that URLs are case sensitive. Windows file names are (more or less) case insensitive. This can, and often does, create problems when uploading the HTML pages onto the staging server. Please pay special attention to this and make sure files are transferred correctly. As a convention, we recommend to stick to lower case for URLs and file names.