Comments (4)
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 port80
) 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.
Let's try something new, which should work with less trouble.
Can you try the changes in 7fb4fdf (or next
branch)?
from routeros-scripts.
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.
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)
- Expect to have exponentiation and file movement capabilities. HOT 3
- Foreign scripts & modules HOT 4
- Warning sign with Telegram HOT 1
- Dhcp2dns HOT 10
- Script syntax broken. not compatible with ROS v6.49.7 HOT 1
- Feature Request: dhcp-to-dns - use Access List comment and/or ignore if already in DNS HOT 10
- Feature Request: dhcp-to-dns - use domain from networks HOT 3
- SendTelegram can't be called inside the script HOT 3
- Manage system update - schedule reboot at night no longer working HOT 8
- dhcp-to-dns crashes with IP pool instead of address HOT 5
- DNS records for Openvpn pears HOT 3
- Allow to customize certificate name HOT 11
- DHCP-to-DNS script IPv6 support HOT 5
- DHCP-to-DNS script does not differentiate same MAC addresses on different network domains HOT 4
- 64k limit problem for "tool fetch url" HOT 1
- $ScriptInstallUpdate: Policies differ for script 'global-functions' and its scheduler 'global-scripts'! HOT 1
- netwatch + sendNotification HOT 2
- Add html support to notification telegram HOT 1
- log-forwarding: non expected messages are still forwarded HOT 2
- check-routeros-update and other similar scripts suggested scheduler time HOT 12
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 routeros-scripts.