Closed zzl221000 closed 11 months ago
Please add code to reproduce such behaviour
@pohmelie
async def test():
async with aioftp.Client.context(host='127.0.0.1', port=21, user='admin',
password='admin', passive_commands=("pasv",)) as client:
async def load_all_file():
async for path, file in client.list('/realtime_update'):
yield path, file['modify']
async for path, modify in load_all_file():
await client.download(path)
lazy list
async for path, info in client.list(): ... # no interaction with client should be here(!)
MLSD returns a two-line response, but aioftp.Client parses only one line; the next command parses the rest of the response.
filezilla server log
aioftp log