World: r3wp
[SDK]
older newer | first last |
Brock 22-Feb-2006 [377x2] | I am trying to find out if I can have an application monitor for updates and auto-transfer the latest version. Can an encapped app monitor for a new version of the application using the header attributes? |
or any recommendations on a good way of doing this? | |
Gregg 27-Feb-2006 [379] | SURFNet detective does this. I don't know how they do it, but when I've done this kind of thing, basically, there's a server process you can ping to find out the latest version, or just a place you can download files and you can check timestamps and sizes, to see if there's somethnig new available. Also, consider if you need to download the whole app, or if you can structure it so the main app is just a kernel, and the parts that are likely to change to loadable modules. That's how AltME works, and the Detective as well. Then, of course, you want to sign the modules to make sure nobody spoofs you into loading malicious code. |
Brock 27-Feb-2006 [380] | Thanks for the your insight Gregg. |
Graham 5-Mar-2006 [381x2] | Not specifically SDK, but how does one have an installation that also calls other install scripts? |
Do you look for a return value from those scripts to make sure it went okay? | |
Louis 7-Mar-2006 [383] | This work with View: x: info? ftp://user:[pass-:-ftp-:-bible-way-:-org]/www/turk/backup/enter-data.exe But when encapped with encmdface 2.6.2 it generates an error. Anybody know why? |
Graham 7-Mar-2006 [384] | because you haven't included the ftp protocol?? |
Louis 7-Mar-2006 [385x2] | I included this: #include %/c/sdk-2-6-2/source/prot-ftp.r Is that it? |
Is something else needed also? | |
Graham 7-Mar-2006 [387x3] | must be .. |
what is the error ? | |
need root prot as well. | |
Louis 7-Mar-2006 [390x3] | This is included: #include %/c/sdk-2-6-2/source/prot.r and I see it included prot-ftp.r What else could be wrong? |
Is there a file that included everything? | |
I've been trying to get this to work all day. Now my Englsih grammar is being affected. :>) | |
Graham 7-Mar-2006 [393] | what is the error message? |
Louis 7-Mar-2006 [394x2] | URL Parse: user pass ftp.bible-way.org none www/turk/backup/ enter-data.exe Net-log: ["Opening" "tcp" "for" "FTP"] ** Access Error: Cannot connect to ftp.bible-way.org ** Where: open-proto ** Near: info? ftp://user:[pass-:-ftp-:-bible-way-:-org]/www/turk/backup/enter-data.exe ** Press enter to quit... |
But in View it works fine: Type desktop to start the Viewtop. >> web-file: info? ftp://user:[pass-:-ftp-:-bible-way-:-org]/www/turk/backup/enter-data.exe connecting to: ftp.bible-way.org >> probe web-file make object! [ size: 626343 date: 3-Mar-2006/11:37 type: 'file ] >> | |
Ashley 7-Mar-2006 [396] | Try it in rebface.exe, DOing the same source files as you would normally #include |
Graham 7-Mar-2006 [397x2] | Is there a proxy setup ? |
is your username and password really user and pass ? | |
Louis 7-Mar-2006 [399] | Graham, No. :) |
Graham 7-Mar-2006 [400x2] | so, you edited this line ?? |
** Near: info? ftp://user:[pass-:-ftp-:-bible-way-:-org]/www/turk/backup/enter-data.exe ** Press enter to quit.. | |
Louis 7-Mar-2006 [402x3] | Proxie? I don't know. |
Yes, I edited that line. | |
I am using ZoneAlarm Pro. Could that be the problem? | |
Graham 7-Mar-2006 [405x3] | try disabling it. |
firewalls can block all network activitty | |
Maybe ZA is allowing View to pass network traffic but not your encapped application. | |
Louis 7-Mar-2006 [408x4] | Graham, that is the problem. When I disable ZA it works. |
Sorry to take up so much of you men's time. I should have thought of this sooner. I've had this same problem before. | |
Thanks to all of you! | |
Ok, now I have a related problem. Zone Alarm won't allow my encapped program to access the Internet. I think it is because the program is not a view program, and therefore ZA cannot recognize it as a program separate from the rebol interpreter. Is there any way around this? | |
Anton 7-Mar-2006 [412] | No, that is not the reason. Maybe you accidentally denied it access. So it should be in ZoneAlarm's list of programs. Go to the list and remove your program. Then try running it again. Otherwise, I would check if ZoneAlarm has any rules which block ftp. Does another ftp client work ? |
Louis 7-Mar-2006 [413x2] | Yes |
My program doesn't show up in the ZA program list, even after I add it. | |
Anton 8-Mar-2006 [415x3] | Mmm.. that sounds strange. |
Can it read a web page ? | |
(your encapped app, I mean) | |
sqlab 8-Mar-2006 [418] | Maybe you should add it to the list of programs allowed to contact te internet. I |
Louis 8-Mar-2006 [419] | Can it read a web page ? I don't know, but it can't send email. |
Geomol 15-Mar-2006 [420x7] | I see a strange bug with the REBOL/View included in the latest SDK of 5-Dec-2005. The following code produce a linear gradient in earlier versions of View (as it should), but it gives me a radial gradient in the SDK View: |
FillType: make object! [ grad-mode: 'linear startpos: 20x20 ] img: make image! 100x100 draw img [pen none fill-pen FillType/grad-mode FillType/startpos 0.0 100.0 0.0 1.0 1.0 0.0.0 255.255.255 0.0.0 255.255.255 0.0.0 polygon 20x20 80x20 80x80 20x80] view layout [image img] | |
Funny thing is, that if FillType/startpos is changed to 20x20 the gradient will become linear. | |
Conclusion so far is, that the DRAW command only can handle one object-reference!? | |
Help! (This is crusial for me to continue Canvas RPaint development.) | |
*crucial* | |
To be more precise: is it a bug? | |
older newer | first last |