I have not been able to replicate this issue here, but I am using an older version of Windows.

Is there anyone that can try this on various versions of Windows to see if this problem is specific to Win 10?

Try typing the following into the message box:

put URL "http://test_auth:test_p...@downloads.techstrategies.com.au/test_auth/";

If it is successful, you should see "Authentication successful." appear in the message box.

Thanks,

Charles


On 16/03/2017 6:31 PM, Charles Warwick via use-livecode wrote:
Hi Tiemo,

I have not heard of this issue before but will see if I can reproduce it and get back to you.

A workaround would be to use the tsNetGetSync function directly so that you can specify the user/pass separately like this:

--
local tHeaders, tOutHeaders, tResultCode, tBytes, tSettings
put "public" into tSettings["username"]
put "myPW" into tSettings["password"]
put tsNetGetSync("http://www.myHost/mypath/my.txt";, tHeaders, tOutHeaders, tResultCode, tBytes, tSettings) into tResult
--

Hope that helps,

Cheers,

Charles


On 16/03/2017 1:00 AM, Tiemo Hollmann TB via use-livecode wrote:
Forgot to say: Windows 10

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Mittwoch, 15. März 2017 16:00
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: tsneterr: (6) could not resolve host

Hello,

using LC 8.1.2 / 8.1.3 I get an "tsneterr: (6) could not resolve host:
public" when trying to access a file in a web server directory with user and
password protection

put URL "http://public:myPW@www.myHost/mypath/my.txt"; into tResult

when opening the same file in a not pw protected directory, everything is
fine and I get the content of the file

Testing the same with 8.1 or 9.0 dp 4 it works also with the pw protected
dir, like it should.

Is this a known issue with tsnet? Any workarounds?

Thanks

Tiemo





_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to