On this page
ftplib.error_perm
Up: ftplib | Next: ftplib.error_proto
Rel: ftplib.error_proto, ftplib.error_reply, ftplib.error_temp, ftplib.FTP
Ref: docs.python.org โ ftplib.error_perm
Tags: #public #python3 #stdlib #ftplib
Import
import ftplib
from ftplib import error_perm
Signature & Overview
ftplib.error_perm(...)
ftplib.error_perm class.
Methods & Attributes
error_perm.add_note(self, note, /)โ Add a note to the exceptionerror_perm.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import ftplib
assert issubclass(ftplib.error_perm, ftplib.Error)
Gotchas
- Raised on 5xx permanent FTP error codes (e.g., 530 auth failed, 550 file not found).
REPL Inspect
from ftplib import error_perm
help(error_perm)
Linked from
Related notes
- tuts/python3/stdlib_module/ftplib/error_proto Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib/error_reply Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib/error_temp Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib/FTP Linked here; links to this page; shared tags: #ftplib, #stdlib
- tuts/python3/stdlib_module/ftplib Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/ftplib/FTP_TLS links to this page; shared tags: #ftplib, #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib