Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c52fa91

Browse files
[po] auto sync
1 parent 0670786 commit c52fa91

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

library/ftplib.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ msgid ""
351351
"``EPSV`` or ``PASV`` command, connect to it, and start the transfer command."
352352
" Either way, return the socket for the connection."
353353
msgstr ""
354+
"在 FTP 数据连接上开始传输数据。如果传输处于活动状态,传输命令由 *cmd* 指定,需发送 ``EPRT`` 或 ``PORT`` "
355+
"命令,然后接受连接 (accept)。如果服务器是被动服务器,需发送 ``EPSV`` 或 ``PASV`` 命令,连接到服务器 "
356+
"(connect),然后启动传输命令。两种方式都将返回用于连接的套接字。"
354357

355358
#: ../../library/ftplib.rst:302
356359
msgid ""
@@ -374,6 +377,8 @@ msgid ""
374377
"``None`` will be returned as the expected size. *cmd* and *rest* means the "
375378
"same thing as in :meth:`transfercmd`."
376379
msgstr ""
380+
"类似于 :meth:`transfercmd`,但返回一个元组,包括数据连接和数据的预计大小。如果预计大小无法计算,则返回的预计大小为 "
381+
"``None``。*cmd* 和 *rest* 的含义与 :meth:`transfercmd` 中的相同。"
377382

378383
#: ../../library/ftplib.rst:324
379384
msgid ""
@@ -401,7 +406,7 @@ msgstr ""
401406

402407
#: ../../library/ftplib.rst:343 ../../library/ftplib.rst:355
403408
msgid "If your server supports the command, :meth:`mlsd` offers a better API."
404-
msgstr ""
409+
msgstr "如果目标服务器支持相关命令,那么 :meth:`mlsd` 提供的 API 更好。"
405410

406411
#: ../../library/ftplib.rst:348
407412
msgid ""

0 commit comments

Comments
 (0)