Comments (2)
The server must respond 234 to AUTH command as stated in the RFC https://www.rfc-editor.org/rfc/rfc4217.
In particular, this section https://www.rfc-editor.org/rfc/rfc4217#section-12.1 explains the flow and the 234 response makes the client start the TLS negotiation.
Could it be the server actually doesn't support TLS?
from suppaftp.
Yeah I suspected the server's behavior is not standards-compliant. And am not surprised, given the nature of the device.
The server does support FTPS - in fact it requires a secure connection - and as I mentioned, I'm able to access data using wget
(with an ftps://...
URL), and it doesn't seem to complain. But I guess the wget
is more lenient towards behavior like this.
Anyway, I was able to work around this using an implicit FTPS connection on another port, which seemed to work without issue (thanks also for the help there!). So on balance, I wouldn't steer you towards accommodating for pathological behavior like this :). Will go ahead and close this.
from suppaftp.
Related Issues (20)
- [QUESTION] - How to properly use resume_transfer HOT 5
- [Feature Request] - Add Send trait to AsyncFtpStream/FtpStream
- [SECURITY] - upgrade chrono->time dependency HOT 1
- [QUESTION] - Is it support download large file? HOT 2
- [BUG] - Async TLS example fails to compile HOT 1
- [BUG] - list method request failed BadResponse HOT 6
- [Feature Request] - OPTS and FEAT commands support
- [BUG] - expected `AsyncNoTlsStream`, found `AsyncNativeTlsStream` HOT 1
- [BUG] - Ftp with TLS (native-tls) Not working HOT 4
- [QUESTION] - 522 SSL connection failed
- [Feature Request] - Build the docs with doc_cfg
- [BUG] - POSIX setgid/setuid/sticky bits not supported
- [Feature Request] - Better composability HOT 3
- [BUG] - FEAT in asyncFtpStream hangs
- [Feature Request] - Timeouts for active data connection acceptance HOT 1
- [QUESTION] - Is there a plan to support sftp HOT 1
- [BUG] - abort can be called without passing ownership to data_stream HOT 1
- [BUG] - list parser: SyntaxError on name that starts with 2 numbers HOT 1
- [Feature Request] - Implementation of SITE command HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suppaftp.