Changeset 547
- Timestamp:
- 2006-08-07 13:30:26 (2 years ago)
- Files:
-
- trunk/ftputil.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ftputil.py
r529 r547 241 241 # similarly to a failed `file` in a local filesystem, we 242 242 # raise an `IOError`, not an `OSError` 243 raise ftp_error.FTPIOError("directory '%s' is not accessible" %244 effective_dir)243 raise ftp_error.FTPIOError("directory '%s' doesn't exist or " 244 "has insufficient access rights" % effective_dir) 245 245 host._file._open(effective_file, mode) 246 246 return host._file … … 551 551 else: 552 552 raise ftp_error.PermanentError("remove/unlink can only delete " 553 "files and links, not directories")553 "files and links, not directories") 554 554 555 555 def unlink(self, path):
