mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
RFC 3617 defines two specific modes, "netascii" and "octet". This code now checks only for those trailing ones - and not in the hostname since they can't be there anymore. Assisted-by: Jay Satiro Closes #19070
592 B
592 B
| c | SPDX-License-Identifier | Short | Long | Help | Protocols | Category | Added | Multi | See-also | Example | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | curl | B | use-ascii | Use ASCII/text transfer | FTP LDAP TFTP | ftp output ldap tftp | 5.0 | boolean |
|
|
--use-ascii
Enable ASCII transfer mode. For FTP, this can also be enforced by using a URL
that ends with ;type=A. For TFTP, this can also be enforced by using a URL
that ends with ;mode=netascii. This option causes data sent to stdout to be
in text mode for Win32 systems.