Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run upload example #20

Open
DarkFighterLuke opened this issue Mar 14, 2021 · 1 comment
Open

Can't run upload example #20

DarkFighterLuke opened this issue Mar 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@DarkFighterLuke
Copy link

DarkFighterLuke commented Mar 14, 2021

Describe the bug
When running the upload example I get an exception type 'OSError' is not a subtype of type 'int' and the file received on the server is 0 byte long.

Expected behavior
A successful upload of the choosen file.

Platform:
Dart Native

FTP Server Software

  • ProFTPd
  • vsftpd

Log
Enable the debug Flag in the Constructor and paste the Log. Remember to remove sensitive information!

[14.03.2021 23:34:09.719] Connecting...
[14.03.2021 23:34:09.732] < 220 ProFTPD Server (ProFTPD Default Installation) [127.0.0.1]
[14.03.2021 23:34:09.732] > USER luke
[14.03.2021 23:34:09.838] < 331 Password required for luke
[14.03.2021 23:34:09.838] > PASS *************
[14.03.2021 23:34:09.939] < 230 User luke connected
[14.03.2021 23:34:09.939] Connected!
[14.03.2021 23:34:09.949] Upload File: test.zip
[14.03.2021 23:34:09.950] > TYPE I
[14.03.2021 23:34:10.051] < 200 Type set to I
[14.03.2021 23:34:10.051] > PASV
[14.03.2021 23:34:10.151] < 227 Entering Passive Mode (127,0,0,1,138,203).
[14.03.2021 23:34:10.173] > STOR test.zip
[14.03.2021 23:34:10.176] Opening DataSocket to Port 35531
[14.03.2021 23:34:10.182] Disconnecting...
[14.03.2021 23:34:10.182] > QUIT

@DarkFighterLuke DarkFighterLuke added the bug Something isn't working label Mar 14, 2021
@DarkFighterLuke
Copy link
Author

I resolved using version 0.6.0 instead of the 0.8.0 which I was previously using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant