Giter Site home page Giter Site logo

:global MkDir; about routeros-scripts HOT 4 CLOSED

eworm-de avatar eworm-de commented on May 18, 2024
:global MkDir;

from routeros-scripts.

Comments (4)

eworm-de avatar eworm-de commented on May 18, 2024

Hmm, I have not see this to fail so far...

Ok, let's start with some details: RouterOS does not provide a lot of functionality regarding file handling. Creating directories is not implemented for example, so I have to use a workaround. That workaround is to enable the www service to listen on loopback address, then download a file to a path including the directory, finally removing the file which leaves the directory.

So I wonder...

  • Did you have any special configuration for the www service?
  • Please show output of /ip service export.
  • Are there any firewall rules that block connections to loopback address?
  • Also please check if any settings are altered (enabled with address 127.0.0.1/32 on port 80) but not restored to the original settings.
  • The second attempt succeeds or do you create the directory manually?
  • Do the affected devices use a ram disk? Please show output of /file print count-only where name="flash" type="disk".

from routeros-scripts.

eworm-de avatar eworm-de commented on May 18, 2024

Let's try something new, which should work with less trouble.
Can you try the changes in 7fb4fdf (or next branch)?

from routeros-scripts.

sunnychuchu avatar sunnychuchu commented on May 18, 2024

It seem much better after using SMB method. I will perform more test on different model of MTK router.
Thanks for your advancement
Sunny

from routeros-scripts.

eworm-de avatar eworm-de commented on May 18, 2024

Just merged this into the main branch.
It works for meℒ️ and - though it is still a workaround - looks cleaner than what we had before. Thanks for the report!

from routeros-scripts.

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.