AW: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-17 Thread Tiemo Hollmann TB via use-livecode
FYI. I have used the "#" sign in a URL PW, which is not allowed in a URL
string, as Charles pointed out. Only because of an incorrect handling in the
curl library as part of tsnet, my program has worked over the years.
Urlencode(myPW) will do it for the future. So, better never use "#" in a
URL!
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Donnerstag, 16. März 2017 18:00
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: AW: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

Panos from LC solved the mystery. In my URL the password has a special
character, which can't be handled in 8.1.2 and 8.1.3 on Windows. When doing
urlencode(myPW), it also works in 8.1.3 The why is not known Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Paul Richards via use-livecode
Gesendet: Donnerstag, 16. März 2017 15:22
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Paul Richards <p...@smarttsoftware.co.uk>
Betreff: RE: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

LC 8.1.3  - Windows 10 64Bit - Works for me 

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Charles Warwick via use-livecode
Sent: 16 March 2017 10:11
To: use-livecode@lists.runrev.com
Cc: Charles Warwick <char...@techstrategies.com.au>
Subject: Re: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

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 

AW: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-16 Thread Tiemo Hollmann TB via use-livecode
Panos from LC solved the mystery. In my URL the password has a special
character, which can't be handled in 8.1.2 and 8.1.3 on Windows. When doing
urlencode(myPW), it also works in 8.1.3
The why is not known
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Paul Richards via use-livecode
Gesendet: Donnerstag, 16. März 2017 15:22
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Paul Richards <p...@smarttsoftware.co.uk>
Betreff: RE: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

LC 8.1.3  - Windows 10 64Bit - Works for me 

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Charles Warwick via use-livecode
Sent: 16 March 2017 10:11
To: use-livecode@lists.runrev.com
Cc: Charles Warwick <char...@techstrategies.com.au>
Subject: Re: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

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

___
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


RE: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-16 Thread Paul Richards via use-livecode
LC 8.1.3  - Windows 10 64Bit - Works for me 

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Charles Warwick via use-livecode
Sent: 16 March 2017 10:11
To: use-livecode@lists.runrev.com
Cc: Charles Warwick <char...@techstrategies.com.au>
Subject: Re: AW: tsneterr: (6) could not resolve host - can anyone else test 
this?

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

___
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


AW: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-16 Thread Tiemo Hollmann TB via use-livecode
Hi Charles,

this test URL works for me also in 8.1.3
my URL still doesn't works in 8.1.3 (but in 9.0 and older versions) - what
happened to tsnet in 8.1.3?
your workaround with tsNetGetSync also works with my URL in 8.1.3 - whats
the difference under the hood to put URL?
interesting results!
thanks!

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Charles Warwick via use-livecode
Gesendet: Donnerstag, 16. März 2017 11:11
An: use-livecode@lists.runrev.com
Cc: Charles Warwick <char...@techstrategies.com.au>
Betreff: Re: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

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


___
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


Re: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-16 Thread Charles Warwick via use-livecode
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 
Cc: Tiemo Hollmann TB 
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