Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
b28e75d9
Kaydet (Commit)
b28e75d9
authored
Eki 05, 2012
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge ftplib doc fix with 3.2.
üst
fd03a099
cbd449b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ftplib.rst
Doc/library/ftplib.rst
+9
-9
No files found.
Doc/library/ftplib.rst
Dosyayı görüntüle @
b28e75d9
...
@@ -270,12 +270,12 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
...
@@ -270,12 +270,12 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
.. method:: FTP.storbinary(cmd, file, blocksize=8192, callback=None, rest=None)
.. method:: FTP.storbinary(cmd, file, blocksize=8192, callback=None, rest=None)
Store a file in binary transfer mode. *cmd* should be an appropriate
Store a file in binary transfer mode. *cmd* should be an appropriate
``STOR`` command: ``"STOR filename"``. *file* is a
n open
:term:`file object`
``STOR`` command: ``"STOR filename"``. *file* is a :term:`file object`
which is read until EOF using its :meth:`read` method in blocks of size
(opened in binary mode) which is read until EOF using its :meth:`read`
*blocksize* to provide the data to be stored. The *blocksize* argument
method in blocks of size *blocksize* to provide the data to be stored.
defaults to 8192. *callback* is an optional single parameter callable that
The *blocksize* argument defaults to 8192. *callback* is an optional single
is called on each block of data after it is sent. *rest* means the same thing
parameter callable that is called on each block of data after it is sent.
as in the :meth:`transfercmd` method.
*rest* means the same thing
as in the :meth:`transfercmd` method.
.. versionchanged:: 3.2
.. versionchanged:: 3.2
*rest* parameter added.
*rest* parameter added.
...
@@ -285,9 +285,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
...
@@ -285,9 +285,9 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
Store a file in ASCII transfer mode. *cmd* should be an appropriate
Store a file in ASCII transfer mode. *cmd* should be an appropriate
``STOR`` command (see :meth:`storbinary`). Lines are read until EOF from the
``STOR`` command (see :meth:`storbinary`). Lines are read until EOF from the
open :term:`file object` *file* using its :meth:`readline` method to provide
:term:`file object` *file* (opened in binary mode) using its :meth:`readline`
the data to be stored. *callback* is an optional single parameter callab
le
method to provide the data to be stored. *callback* is an optional sing
le
that is called on each line after it is sent.
parameter callable
that is called on each line after it is sent.
.. method:: FTP.transfercmd(cmd, rest=None)
.. method:: FTP.transfercmd(cmd, rest=None)
...
...
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