Conga + HTTPGet
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
2 posts
• Page 1 of 1
Conga + HTTPGet
v. 14.0.22432.0 32 Classic
Sep 2 2014 18:03:05
Uuuuh, please tellme dumb why
... why b and a[3] are different? Sure must HTTPGet allow retrieving binary data, like pictures and zip files, or whatever?
Sep 2 2014 18:03:05
Uuuuh, please tellme dumb why
- Code: Select all
'e:\e-tv.net\screenshots\weathersylv.jpg' ⎕ntie ¯1
b←⎕nread ¯1 82,⎕nsize ¯1
⎕nuntie ¯1
⍴b
154852
⍴¨a←Samples.TestWebClient 'http://www.stormwind.fi/images/stormwind/extra-filer/weathersylv.jpg'
10 2 154852
⊃a
0
2⊃a
http/1.1 200 ok
date Sun, 23 Nov 2014 04:21:04 GMT
server Apache
last-modified Thu, 06 Nov 2014 20:09:03 GMT
etag "190540d-25ce4-507364488d5c0"
accept-ranges bytes
content-length 154852
content-type image/jpeg
+/b≠3⊃a
50813
... why b and a[3] are different? Sure must HTTPGet allow retrieving binary data, like pictures and zip files, or whatever?
- Tomas Gustafsson
- Posts: 101
- Joined: Mon Sep 19, 2011 6:43 pm
Re: Conga + HTTPGet
- Code: Select all
x←⎕nread ¯1 82,⎕nsize ¯1
- Code: Select all
a3←3⊃←Samples.TestWebClient 'http://www.stormwind.fi/images/stormwind/extra-filer/weathersylv.jpg'
+/~a3∊⎕av
41346
try reading the file using the Unicode version and code 80 instead.
- DanB|Dyalog
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group