LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
I've a external harddisk connected to a Router WiFi Alice Gate 2 Plus via USB.
The HD are seen by OSx and Windows.
I would read the files with LiveCode but don't see it.
I've made various test:
put url "http://192.168.1.1/A/test/testo.txt" into tDati
put url "http://alicegate/A/test/testo.txt" into tDati
put url "binfile://alicegate/A/test/testo.txt" into tDati
put url "file://alicegate/A/test/testo.txt" into tDati
but without result
Any hints?
Thanks,
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
Run the "answer file" command on Windows and you'll see it uses a different convention: the path is dependent on the mount point drive letter rather than the volume name (though in some respects not much different from the mount point permutations you'll see on OS X if you mount two drives with the same name). Two ways around that could be to check each drive for a specific file (if you're looking for one) based on the list returned from the LiveCode "volumes" function, or dive into the registry and obtain what you need from there (HKLM\SYSTEM\MountedDevices if memory serves).
As for iOS - how does one mount an external drive there?
Richard Gaskin LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Thanks.
On Windows and OSX are running very well.
From my app on Windows and Mac reading the files under the NAS
The problems are on Android and iOS, don't see the files on NAS
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it
I've solved the problem on Android
How I did it:
I've installed the app CifsManager with the rights of Root.
With CifsManager I've mounted the external HD in /mnt/ position.
My App reading the sql files without problems.
Only missing find a solution for iOS
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it