NB. Trying to run jhsupd fails
jhsupd'' NB. download new jhserver.ijs
|value error: log
| log'Connection failed: ',msg
NB. log verb seems to be missing
NB. Looking for what it is supposed to do
jhsupd
3 : 'jhsupdate_jfe_'''''
jhsupdate_jfe_
3 : 0
target=. jpath'~system\extras\util\jhserver.ijs'
require '~system/packages/misc/task.ijs'
TIMEOUT=: 60
t=. httpget 'www.jsoftware.com/download/jhserver.ijs'
if. 0~:>{.t do. 'httpget failed' return. end.
f=. >{:t
dnew=. toJ fread f NB. new script - toJ required?
dold=. fread target
if. dnew-: dold do. 'files are the same' return. end.
dnew fwrite target
'update complete - restart J to use version'
)
NB. http://www.jsoftware.com/download/jhserver.ijs
NB. in a new tab works fine and I get the ijs in on a page
NB. I guess the problem may have something to do with national chars
and name of dir
NB. problem is the log verb is not present to report the problem
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm