Can MacroDroid load a TXT file shared on LAN?

HCC

Member
Hello,

I have a Desktop-PC in the LAN with some shared folders and shared files.
The path to one of the files in the LAN is :

\\Main-PC\lyrics\Lyric1.txt

-Is it possible to load that text file using Macrodroid?
PS: (I want to load that text file into a Macrodroid Local-Variable.)
 

Endercraft

Moderator (& bug finder :D)
Maybe an HTTP Request to path will work, or to computer's IP address followed by path to file.
 

HCC

Member
I used the Macrodroid "HTTP GET" Request method with the URL ...
\\192.168.178.21\lyrics\Lyric1.txt
or ( \\Main-PC\lyrics\Lyric1.txt )

-After that the MacroDroid "Local Variable" didn't contain
the Lyric1.txt. Instead it contained the following error message string:
java.net.SocketTimeoutException: failed to connect to /192.168.178.21 (port 443) after 10000ms

PS: When entering \\192.168.178.21\lyrics\Lyric1.txt
... in Firefox on the Main-PC the text is displayed in the browser

The following doesn't work either
 

Dimlos

Well-known member
@HCC
I have previously used PHP to read and write to a PC. I will link to it as it may be helpful.
 

HCC

Member
Does entering this in your browser on the device to receive work ?
entering ..
\\192.168.178.21\lyrics\Lyric1.txt in the browser works for:

-Main-PC : (works always, regardless of whether the firewall on the Main PC is on or off)
-Portable win10 computer, on the same LAN : (works only if the firewall on the Main Pc is off)
-The android 6.0.1 device with MacroDroid (device to receive Lyric1.txt) : constant timeout, it doesn't work, even if the firewall is off
-Another android 12 device, result : constant timeout, it doesn't work, even if the firewall is off
 
Last edited:
Top