Skip to content

Sometimes stuck at Start downloading... #40

@mariusvn

Description

@mariusvn

Sometimes, when i want to download a jpeg file, the library print Start downloading... and wait indefinitly.

i am already in binary mode.

i think there is a time desync with the socket opening or something like that because it seems that the socket is listening and nothing is answered.

it does block there lib/src/commands/file.dart:94.

We use a Pure-FTPd as server.

I/flutter (29447): [2024-05-17 16:59:18.494143] Download /80/STM6001_DIA_001/SITE80_STM6001_DIA_001_2023-3-30T9_59_31.jpeg to /data/user/0/<APP ID PURPOSELY HIDDEN>/app_flutter/ftpfiles/SITE80_STM6001_DIA_001_2023-3-30T9_59_31.jpeg
I/flutter (29447): [2024-05-17 16:59:18.495056] > SIZE /80/STM6001_DIA_001/SITE80_STM6001_DIA_001_2023-3-30T9_59_31.jpeg
I/flutter (29447): [2024-05-17 16:59:18.800862] < FTPReply =  [code= 213, message= 213 135512]
I/flutter (29447): [2024-05-17 16:59:18.802551] > EPSV
I/flutter (29447): [2024-05-17 16:59:19.110779] < FTPReply =  [code= 229, message= 229 Extended Passive mode OK (|||40092|)]
I/flutter (29447): [2024-05-17 16:59:19.111523] > RETR /80/STM6001_DIA_001/SITE80_STM6001_DIA_001_2023-3-30T9_59_31.jpeg
I/flutter (29447): [2024-05-17 16:59:19.112454] Opening DataSocket to Port 40092
I/flutter (29447): [2024-05-17 16:59:19.442433] < FTPReply =  [code= 226, message= 150-Accepted data connection
I/flutter (29447): 150 132.3 kbytes to download
I/flutter (29447): 226-File successfully transferred
I/flutter (29447): 226 0.000 seconds (measured here), 282.76 Mbytes per second]
I/flutter (29447): [2024-05-17 16:59:19.445156] Start downloading...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions