didn't dig inside but my requests-based code [1] has failed while I was accessing ftp url and expected the requests.models.Response.raw having .stream method (since apparently for http it provided by requests.packages.urllib3.response.HTTPResponse). With requests_ftp, I just got BytesIO object, which was apparently downloaded in full while establishing the session using FTPSession.get(url, stream=True).
So, streaming of the content is not "supported" (yet)?
FWIW requests_ftp v 0.3.1 installed from pip
didn't dig inside but my requests-based code [1] has failed while I was accessing ftp url and expected the
requests.models.Response.raw
having.stream
method (since apparently for http it provided byrequests.packages.urllib3.response.HTTPResponse
). Withrequests_ftp
, I just got BytesIO object, which was apparently downloaded in full while establishing the session usingFTPSession.get(url, stream=True)
. So, streaming of the content is not "supported" (yet)? FWIW requests_ftp v 0.3.1 installed from pip[1] if not scared, check it here