close Warning:

source: ftputil/file.py @ 1619:66ef713f4fe8

Last change on this file since 1619:66ef713f4fe8 was 1619:66ef713f4fe8, checked in by Stefan Schwarzer <sschwarzer@…>, 4 years ago
Raise `CommandNotImplementedError` if `rest` is used for text files Using `rest` for text files is confusing, don't support it. For example, if a UTF-8-encoded file starts with "äbcdef", a `rest` argument 3 would start reading at byte 3, but at the same time at character 2 ("c") since "ä" is encoded in two bytes. Line ending conversions would also result in deviations between byte and character offsets.
File size: 7.8 KB

HTML preview not available, since no preview renderer could handle it. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.