Giter Site home page Giter Site logo

Comments (5)

picrap avatar picrap commented on July 26, 2024

The tests fail on pure-ftpd without escaping, and it's the ftp server I'm using 😄
Regarding FileZilla and STAT support, I am sorry about that, but there too, I'm using pure-ftpd and it supports this command.
In a more pragmatic way, what are your suggestions? Changing tests? Let me know if you have ideas, since they're always welcome.

from ftp.

Onway avatar Onway commented on July 26, 2024

I test with pure-ftpd v1.0.36 on CentOS 7, here is the result:
image
It seems only the "space" character is controversial.
But in any case, in my opinion, escape or not should be determined by user.
What do you think about this problem?

from ftp.

picrap avatar picrap commented on July 26, 2024

Currently I added a FtpPlatform which can be provided as a parameter to the FtpClient (via FtpParameters). You can provide your own implementation, in order to avoid any escaping.
Regarding the brackets and parenthesis, that's right, I made a blind fix for someone who had the problem (and the fix workd). Since it also works with other ftp servers, I keep the escaping, even if it is not always necessary.
So, I you don't have an objection, I'm going to close this issue.
Is it OK for you?

from ftp.

Onway avatar Onway commented on July 26, 2024

Yes, I have saw the constructor of FtpClient, it's OK to close this issue.

from ftp.

picrap avatar picrap commented on July 26, 2024

👍

from ftp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.