79
79
# FIXME: there are inconsistencies in the way temporary errors are
80
80
# handled. Sometimes we reconnect, sometimes we raise an exception. Care should
81
81
# be taken to analyze the implications for write operations (read operations
83
84
class FtpTransport(ConnectedTransport):
84
85
"""This is the transport agent for ftp:// access."""
87
88
"""Set the base path where files will be stored."""
88
89
assert base.startswith('ftp://') or base.startswith('aftp://')
90
92
self._unqualified_scheme = 'ftp'
91
93
if self._scheme == 'aftp':