-
Notifications
You must be signed in to change notification settings - Fork 57
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
list and nlst commands always return an error #64
Comments
Found the error (or at least I think so): |
Well, Edit 1: More understanding of the way it works: apparently PASV needs to be passed before each command ? Edit 2: The library crashes on the second PASV command because it cannot read the response code. Edit 3: The second time a PASV is done, it reads an error from the last command ????
It's weird because it actually returned me what I wanted the first time !! Edit 4: I can confirm that the second PASV is the issue here... but the first pasv doesn't give me any code, only the list... Maybe my ftp server is the issue, I will have to try on more computers/servers to know for sure. |
I'm using Ubuntu server 16.04.
Program:
Error:
thread 'main' panicked at 'called Result::unwrap() on an Err value: InvalidResponse("error: could not parse reply code: invalid digit found in string")', /checkout/src/libcore/result.rs:860:4
I tried with other values or even None for list() and nlst() with no luck. cwd() and pwd() work.
The text was updated successfully, but these errors were encountered: