-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathftplib.po
More file actions
492 lines (395 loc) · 15.9 KB
/
ftplib.po
File metadata and controls
492 lines (395 loc) · 15.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2026, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-04-11 16:45+0000\n"
"PO-Revision-Date: 2025-09-22 16:50+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && "
"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
msgid ":mod:`ftplib` --- FTP protocol client"
msgstr ""
msgid "**Source code:** :source:`Lib/ftplib.py`"
msgstr "**Kod źródłowy:** :source:`Lib/ftplib.py`"
msgid ""
"This module defines the class :class:`FTP` and a few related items. The :"
"class:`FTP` class implements the client side of the FTP protocol. You can "
"use this to write Python programs that perform a variety of automated FTP "
"jobs, such as mirroring other FTP servers. It is also used by the module :"
"mod:`urllib.request` to handle URLs that use FTP. For more information on "
"FTP (File Transfer Protocol), see internet :rfc:`959`."
msgstr ""
msgid "The default encoding is UTF-8, following :rfc:`2640`."
msgstr ""
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
msgstr ""
msgid ""
"This module does not work or is not available on WebAssembly platforms "
"``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for "
"more information."
msgstr ""
msgid "Here's a sample session using the :mod:`ftplib` module::"
msgstr ""
msgid "Reference"
msgstr ""
msgid "FTP objects"
msgstr ""
msgid "Return a new instance of the :class:`FTP` class."
msgstr ""
msgid "Parameters"
msgstr "parametry"
msgid ""
"The hostname to connect to. If given, :code:`connect(host)` is implicitly "
"called by the constructor."
msgstr ""
msgid ""
"|param_doc_user| If given, :code:`login(host, passwd, acct)` is implicitly "
"called by the constructor."
msgstr ""
msgid "|param_doc_passwd|"
msgstr ""
msgid "|param_doc_acct|"
msgstr ""
msgid ""
"A timeout in seconds for blocking operations like :meth:`connect` (default: "
"the global default timeout setting)."
msgstr ""
msgid "|param_doc_source_address|"
msgstr "|param_doc_source_address|"
msgid "|param_doc_encoding|"
msgstr ""
msgid "The :class:`FTP` class supports the :keyword:`with` statement, e.g.:"
msgstr ""
msgid "Support for the :keyword:`with` statement was added."
msgstr ""
msgid "*source_address* parameter was added."
msgstr ""
msgid ""
"If the *timeout* parameter is set to be zero, it will raise a :class:"
"`ValueError` to prevent the creation of a non-blocking socket. The "
"*encoding* parameter was added, and the default was changed from Latin-1 to "
"UTF-8 to follow :rfc:`2640`."
msgstr ""
msgid ""
"Several :class:`!FTP` methods are available in two flavors: one for handling "
"text files and another for binary files. The methods are named for the "
"command which is used followed by ``lines`` for the text version or "
"``binary`` for the binary version."
msgstr ""
msgid ":class:`FTP` instances have the following methods:"
msgstr ""
msgid ""
"Set the instance's debugging level as an :class:`int`. This controls the "
"amount of debugging output printed. The debug levels are:"
msgstr ""
msgid "``0`` (default): No debug output."
msgstr ""
msgid ""
"``1``: Produce a moderate amount of debug output, generally a single line "
"per request."
msgstr ""
msgid ""
"``2`` or higher: Produce the maximum amount of debugging output, logging "
"each line sent and received on the control connection."
msgstr ""
msgid ""
"Connect to the given host and port. This function should be called only once "
"for each instance; it should not be called if a *host* argument was given "
"when the :class:`FTP` instance was created. All other :class:`!FTP` methods "
"can only be called after a connection has successfully been made."
msgstr ""
msgid "The host to connect to."
msgstr ""
msgid ""
"The TCP port to connect to (default: ``21``, as specified by the FTP "
"protocol specification). It is rarely needed to specify a different port "
"number."
msgstr ""
msgid ""
"A timeout in seconds for the connection attempt (default: the global default "
"timeout setting)."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``ftplib.connect`` with arguments "
"``self``, ``host``, ``port``."
msgstr ""
msgid ""
"Return the welcome message sent by the server in reply to the initial "
"connection. (This message sometimes contains disclaimers or help "
"information that may be relevant to the user.)"
msgstr ""
msgid ""
"Log on to the connected FTP server. This function should be called only once "
"for each instance, after a connection has been established; it should not be "
"called if the *host* and *user* arguments were given when the :class:`FTP` "
"instance was created. Most FTP commands are only allowed after the client "
"has logged in."
msgstr ""
msgid "|param_doc_user|"
msgstr ""
msgid ""
"Abort a file transfer that is in progress. Using this does not always work, "
"but it's worth a try."
msgstr ""
msgid ""
"Send a simple command string to the server and return the response string."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``ftplib.sendcmd`` with arguments "
"``self``, ``cmd``."
msgstr ""
msgid ""
"Send a simple command string to the server and handle the response. Return "
"the response string if the response code corresponds to success (codes in "
"the range 200--299). Raise :exc:`error_reply` otherwise."
msgstr ""
msgid "Retrieve a file in binary transfer mode."
msgstr ""
msgid "An appropriate ``STOR`` command: :samp:`\"STOR {filename}\"`."
msgstr ""
msgid ""
"A single parameter callable that is called for each block of data received, "
"with its single argument being the data as :class:`bytes`."
msgstr ""
msgid ""
"The maximum chunk size to read on the low-level :class:`~socket.socket` "
"object created to do the actual transfer. This also corresponds to the "
"largest size of data that will be passed to *callback*. Defaults to ``8192``."
msgstr ""
msgid ""
"A ``REST`` command to be sent to the server. See the documentation for the "
"*rest* parameter of the :meth:`transfercmd` method."
msgstr ""
msgid ""
"Retrieve a file or directory listing in the encoding specified by the "
"*encoding* parameter at initialization. *cmd* should be an appropriate "
"``RETR`` command (see :meth:`retrbinary`) or a command such as ``LIST`` or "
"``NLST`` (usually just the string ``'LIST'``). ``LIST`` retrieves a list of "
"files and information about those files. ``NLST`` retrieves a list of file "
"names. The *callback* function is called for each line with a string "
"argument containing the line with the trailing CRLF stripped. The default "
"*callback* prints the line to :data:`sys.stdout`."
msgstr ""
msgid ""
"Enable \"passive\" mode if *val* is true, otherwise disable passive mode. "
"Passive mode is on by default."
msgstr ""
msgid "Store a file in binary transfer mode."
msgstr ""
msgid ""
"A file object (opened in binary mode) which is read until EOF, using its :"
"meth:`~io.RawIOBase.read` method in blocks of size *blocksize* to provide "
"the data to be stored."
msgstr ""
msgid "The read block size. Defaults to ``8192``."
msgstr ""
msgid ""
"A single parameter callable that is called for each block of data sent, with "
"its single argument being the data as :class:`bytes`."
msgstr ""
msgid "The *rest* parameter was added."
msgstr ""
msgid ""
"Store a file in line mode. *cmd* should be an appropriate ``STOR`` command "
"(see :meth:`storbinary`). Lines are read until EOF from the :term:`file "
"object` *fp* (opened in binary mode) using its :meth:`~io.IOBase.readline` "
"method to provide the data to be stored. *callback* is an optional single "
"parameter callable that is called on each line after it is sent."
msgstr ""
msgid ""
"Initiate a transfer over the data connection. If the transfer is active, "
"send an ``EPRT`` or ``PORT`` command and the transfer command specified by "
"*cmd*, and accept the connection. If the server is passive, send an "
"``EPSV`` or ``PASV`` command, connect to it, and start the transfer "
"command. Either way, return the socket for the connection."
msgstr ""
msgid ""
"If optional *rest* is given, a ``REST`` command is sent to the server, "
"passing *rest* as an argument. *rest* is usually a byte offset into the "
"requested file, telling the server to restart sending the file's bytes at "
"the requested offset, skipping over the initial bytes. Note however that "
"the :meth:`transfercmd` method converts *rest* to a string with the "
"*encoding* parameter specified at initialization, but no check is performed "
"on the string's contents. If the server does not recognize the ``REST`` "
"command, an :exc:`error_reply` exception will be raised. If this happens, "
"simply call :meth:`transfercmd` without a *rest* argument."
msgstr ""
msgid ""
"Like :meth:`transfercmd`, but returns a tuple of the data connection and the "
"expected size of the data. If the expected size could not be computed, "
"``None`` will be returned as the expected size. *cmd* and *rest* means the "
"same thing as in :meth:`transfercmd`."
msgstr ""
msgid ""
"List a directory in a standardized format by using ``MLSD`` command (:rfc:"
"`3659`). If *path* is omitted the current directory is assumed. *facts* is "
"a list of strings representing the type of information desired (e.g. "
"``[\"type\", \"size\", \"perm\"]``). Return a generator object yielding a "
"tuple of two elements for every file found in path. First element is the "
"file name, the second one is a dictionary containing facts about the file "
"name. Content of this dictionary might be limited by the *facts* argument "
"but server is not guaranteed to return all requested facts."
msgstr ""
msgid ""
"Return a list of file names as returned by the ``NLST`` command. The "
"optional *argument* is a directory to list (default is the current server "
"directory). Multiple arguments can be used to pass non-standard options to "
"the ``NLST`` command."
msgstr ""
msgid "If your server supports the command, :meth:`mlsd` offers a better API."
msgstr ""
msgid ""
"Produce a directory listing as returned by the ``LIST`` command, printing it "
"to standard output. The optional *argument* is a directory to list (default "
"is the current server directory). Multiple arguments can be used to pass "
"non-standard options to the ``LIST`` command. If the last argument is a "
"function, it is used as a *callback* function as for :meth:`retrlines`; the "
"default prints to :data:`sys.stdout`. This method returns ``None``."
msgstr ""
msgid "Rename file *fromname* on the server to *toname*."
msgstr ""
msgid ""
"Remove the file named *filename* from the server. If successful, returns "
"the text of the response, otherwise raises :exc:`error_perm` on permission "
"errors or :exc:`error_reply` on other errors."
msgstr ""
msgid "Set the current directory on the server."
msgstr ""
msgid "Create a new directory on the server."
msgstr ""
msgid "Return the pathname of the current directory on the server."
msgstr ""
msgid "Remove the directory named *dirname* on the server."
msgstr ""
msgid ""
"Request the size of the file named *filename* on the server. On success, "
"the size of the file is returned as an integer, otherwise ``None`` is "
"returned. Note that the ``SIZE`` command is not standardized, but is "
"supported by many common server implementations."
msgstr ""
msgid ""
"Send a ``QUIT`` command to the server and close the connection. This is the "
"\"polite\" way to close a connection, but it may raise an exception if the "
"server responds with an error to the ``QUIT`` command. This implies a call "
"to the :meth:`close` method which renders the :class:`FTP` instance useless "
"for subsequent calls (see below)."
msgstr ""
msgid ""
"Close the connection unilaterally. This should not be applied to an already "
"closed connection such as after a successful call to :meth:`~FTP.quit`. "
"After this call the :class:`FTP` instance should not be used any more (after "
"a call to :meth:`close` or :meth:`~FTP.quit` you cannot reopen the "
"connection by issuing another :meth:`login` method)."
msgstr ""
msgid "FTP_TLS objects"
msgstr ""
msgid ""
"An :class:`FTP` subclass which adds TLS support to FTP as described in :rfc:"
"`4217`. Connect to port 21 implicitly securing the FTP control connection "
"before authenticating."
msgstr ""
msgid ""
"The user must explicitly secure the data connection by calling the :meth:"
"`prot_p` method."
msgstr ""
msgid ""
"An SSL context object which allows bundling SSL configuration options, "
"certificates and private keys into a single, potentially long-lived, "
"structure. Please read :ref:`ssl-security` for best practices."
msgstr ""
msgid ""
"A timeout in seconds for blocking operations like :meth:`~FTP.connect` "
"(default: the global default timeout setting)."
msgstr ""
msgid ""
"*keyfile* and *certfile* are a legacy alternative to *context* -- they can "
"point to PEM-formatted private key and certificate chain files "
"(respectively) for the SSL connection."
msgstr ""
msgid "Added the *source_address* parameter."
msgstr ""
msgid ""
"The class now supports hostname check with :attr:`ssl.SSLContext."
"check_hostname` and *Server Name Indication* (see :const:`ssl.HAS_SNI`)."
msgstr ""
msgid ""
"*keyfile* and *certfile* are deprecated in favor of *context*. Please use :"
"meth:`ssl.SSLContext.load_cert_chain` instead, or let :func:`ssl."
"create_default_context` select the system's trusted CA certificates for you."
msgstr ""
msgid "Here's a sample session using the :class:`FTP_TLS` class::"
msgstr ""
msgid ""
":class:`!FTP_TLS` class inherits from :class:`FTP`, defining these "
"additional methods and attributes:"
msgstr ""
msgid "The SSL version to use (defaults to :data:`ssl.PROTOCOL_SSLv23`)."
msgstr ""
msgid ""
"Set up a secure control connection by using TLS or SSL, depending on what is "
"specified in the :attr:`ssl_version` attribute."
msgstr ""
msgid ""
"The method now supports hostname check with :attr:`ssl.SSLContext."
"check_hostname` and *Server Name Indication* (see :const:`ssl.HAS_SNI`)."
msgstr ""
msgid ""
"Revert control channel back to plaintext. This can be useful to take "
"advantage of firewalls that know how to handle NAT with non-secure FTP "
"without opening fixed ports."
msgstr ""
msgid "Set up secure data connection."
msgstr ""
msgid "Set up clear text data connection."
msgstr ""
msgid "Module variables"
msgstr ""
msgid "Exception raised when an unexpected reply is received from the server."
msgstr ""
msgid ""
"Exception raised when an error code signifying a temporary error (response "
"codes in the range 400--499) is received."
msgstr ""
msgid ""
"Exception raised when an error code signifying a permanent error (response "
"codes in the range 500--599) is received."
msgstr ""
msgid ""
"Exception raised when a reply is received from the server that does not fit "
"the response specifications of the File Transfer Protocol, i.e. begin with a "
"digit in the range 1--5."
msgstr ""
msgid ""
"The set of all exceptions (as a tuple) that methods of :class:`FTP` "
"instances may raise as a result of problems with the FTP connection (as "
"opposed to programming errors made by the caller). This set includes the "
"four exceptions listed above as well as :exc:`OSError` and :exc:`EOFError`."
msgstr ""
msgid "Module :mod:`netrc`"
msgstr ""
msgid ""
"Parser for the :file:`.netrc` file format. The file :file:`.netrc` is "
"typically used by FTP clients to load user authentication information before "
"prompting the user."
msgstr ""
msgid "FTP"
msgstr ""
msgid "protocol"
msgstr ""
msgid "ftplib (standard module)"
msgstr ""