Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
730d8379
Commit
730d8379
authored
Aug 07, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that quit() and close() render the instance useless.
parent
161edc29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Doc/lib/libftplib.tex
Doc/lib/libftplib.tex
+7
-2
No files found.
Doc/lib/libftplib.tex
View file @
730d8379
...
...
@@ -234,11 +234,16 @@ standardized, but is supported by many common server implementations.
Send a
\samp
{
QUIT
}
command to the server and close the connection.
This is the ``polite'' way to close a connection, but it may raise an
exception of the server reponds with an error to the
\samp
{
QUIT
}
command.
command. This implies a call to the
\method
{
close()
}
method which
renders the
\class
{
FTP
}
instance useless for subsequent calls (see
below).
\end{methoddesc}
\begin{methoddesc}
{
close
}{}
Close the connection unilaterally. This should not be applied to an
already closed connection (e.g.
\
after a successful call to
\method
{
quit()
}
.
\method
{
quit()
}
. After this call the
\class
{
FTP
}
instance should not
be used any more (i.e., after a call to
\method
{
close()
}
or
\method
{
quit()
}
you cannot reopen the connection by issueing another
\method
{
login()
}
method).
\end{methoddesc}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment