Code Monkey home page Code Monkey logo

vs-ftp's People

Contributors

baskapteijn avatar baskghs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

vs-ftp's Issues

Add arduino (esp) support

Might require another filesystem implementation. Certainly another main entry section. Need to investigate.

Add connection timeout

Timeout when not received or transmitted >= xx minutes. Where xx minutes should be configurable (config.h).

Make sure to check ALL send and receive functions for sockets.

Problem with trailing slash for root dir

$ ./vs-ftp 172.16.16.107 2021 /src/yquake2/
2020-07-15_16:57:12 vsftp_server.c[244]: Initializing server
2020-07-15_16:57:12 vsftp_server.c[261]: Starting server
Server handler failed with error -1

On branch: staging/baskapteijn/add_size_cmd
On commit SHA: ddfaacf

Rewrite nlist to list

Only dir and read flags supported so may not be much more code or complexity. It does make it more useful for gui clients. Need to investigate.

Add windows support

Investigate if a codebase can be created that 1:1 allows it to be run on linux and windows.

Disconnect client during RETR (transfer) will hang the server

master, commit 5f33c39.

Client side (manual abort):

--2020-07-24 09:07:39--  ftp://82.161.203.4:2021//baseq3/pak0.pk3
           => ‘pak0.pk3’
Connecting to 82.161.203.4:2021... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /baseq3 ... done.
==> SIZE pak0.pk3 ... 479493658
==> PASV ... done.    ==> RETR pak0.pk3 ... done.
Length: 479493658 (457M) (unauthoritative)

pak0.pk3                                               9%[=========>                                                                                                            ]  41,17M  3,35MB/s    eta 1m 53s ^C

Server side:

$ tail -f 2020-07-24_07:05:27.log
2020-07-24_07:07:39 vsftp_server.c[201]: Received command from client: TYPE I
2020-07-24_07:07:39 vsftp_server.c[214]: Command handled successfully
2020-07-24_07:07:39 vsftp_server.c[201]: Received command from client: CWD /baseq3
2020-07-24_07:07:39 vsftp_server.c[214]: Command handled successfully
2020-07-24_07:07:39 vsftp_server.c[201]: Received command from client: SIZE pak0.pk3
2020-07-24_07:07:39 vsftp_server.c[214]: Command handled successfully
2020-07-24_07:07:39 vsftp_server.c[201]: Received command from client: PASV
2020-07-24_07:07:39 vsftp_server.c[126]: Socket 6 on port 40000 ready for connection...
2020-07-24_07:07:39 vsftp_server.c[214]: Command handled successfully
2020-07-24_07:07:39 vsftp_server.c[201]: Received command from client: RETR pak0.pk3

Hangs (or even crashed).

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.