ExternalFile - Edit: Edit contents.
Description
This view allows you to edit the contents of a file referred to by
an ExternalFile object.
Information
-
ID
- The Zope ID of the ExternalFile object.
-
Pathname
- The full pathname of the file in the filesystem
pointed to by this ExternalFile object.
-
Title
- The optional title of the ExternalFile object.
-
Description
- The optional description of the ExternalFile object.
Controls
-
[Text area]
- The contents of the ExternalFile, assuming the
mimetype property indicates an ASCII file type. If mimetype
indicates an image type, the image will be displayed in an HTML
<img> tag. If the mimetype indicates a non-image binary
type, the contents cannot be viewed.
-
Save Changes
- Saves changes made in the text area out to disk
at the pathname provided. The new contents overwrite any
previous content of the file. The Zope server will indicate
an error if it does not have permission to perform this
action. This button is not shown for non-ASCII files.
-
Cancel Changes
- Cancels changes made in the text area,
reverting to the previously saved contents. This is done by
re-copying the contents of the file into the text area.
This button is not shown for non-ASCII files.
-
Upload File
- Use this to replace the contents of the
ExternalFile with the contents of an uploaded file. The
uploaded file cannot be empty. The upload does not in any
way affect the mimetype of the file. If you mean for the
mimetype to change as well, you must do this via the
"Properties" tab.