home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1999 November / SOTMC_Nov1999-Ultimate.iso / mac / REALbasic ƒ / Examples / Techniques / httpSocket / Example Project (DR2) < prev    next >
Unknown  |  1999-04-07  |  47.8 KB  |  [TgPj/RBv2]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default


id metadata
keyvalue
macFileType[TgPj]
macFileCreator[RBv2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0b 0d 00 00 41 41 41 41 | 41 41 41 41 41 41 41 41 |....AAAA|AAAAAAAA|
|00000010| 41 41 41 41 01 04 3f 3f | 3f 3f 00 00 01 01 00 00 |AAAA..??|??......|
|00000020| 07 41 70 70 4e 61 6d 65 | 80 80 80 01 80 80 80 01 |.AppName|........|
|00000030| 01 00 00 00 00 00 00 00 | 02 49 43 4e 23 80 04 00 |........|.ICN#...|
|00000040| 01 80 00 00 06 60 00 00 | 18 18 00 00 60 06 00 00 |.....`..|....`...|
|00000050| 48 0a 00 00 42 22 00 00 | 40 8a 00 00 40 22 00 00 |H...B"..|@...@"..|
|00000060| 40 8a 00 00 40 22 00 00 | 40 8a 00 00 60 26 00 01 |@...@"..|@...`&..|
|00000070| 98 99 80 06 06 60 60 18 | 01 80 18 12 02 20 28 10 |.....``.|..... (.|
|00000080| 88 88 88 10 22 02 28 30 | 08 80 8c 70 22 02 2a 90 |....".(0|...p".*.|
|00000090| 08 80 8d b0 22 02 2b 98 | 09 80 99 a6 26 62 67 69 |....".+.|....&bgi|
|000000a0| 98 19 9e 1a 60 06 78 06 | 80 01 e0 01 a0 07 80 00 |....`.x.|........|
|000000b0| 68 1e 00 00 1a 78 00 00 | 06 e0 00 00 01 80 00 00 |h....x..|........|
|000000c0| 01 80 00 00 07 e0 00 00 | 1f f8 00 00 7f fe 00 00 |........|........|
|000000d0| 7f fe 00 00 7f fe 00 00 | 7f fe 00 00 7f fe 00 00 |........|........|
|000000e0| 7f fe 00 00 7f fe 00 00 | 7f fe 00 00 7f fe 00 01 |........|........|
|000000f0| ff ff 80 07 ff ff e0 1f | ff ff f8 1f ff ff f8 1f |........|........|
|00000100| ff ff f8 1f ff ff f8 3f | ff ff fc 7f ff ff fe ff |.......?|........|
|00000110| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff 7f |........|........|
|00000120| ff ff fe 1f ff ff f8 07 | ff ff e0 01 ff ff 80 00 |........|........|
|00000130| 7f fe 00 00 1f f8 00 00 | 07 e0 00 00 01 80 00 69 |........|.......i|
|00000140| 63 6c 38 80 10 00 00 00 | 00 00 00 00 00 00 00 00 |cl8.....|........|
|00000150| 00 00 00 00 ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 ff ff e1 e1 ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| ff ff e1 e1 e1 e1 e1 e1 | ff ff 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|000001b0| e1 e1 e1 e1 e1 e1 e1 e1 | e1 e1 ff ff 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|000001d0| e3 00 e1 e1 e1 e1 e1 e1 | e1 e3 e5 ff 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|000001f0| e3 e3 e3 00 e1 e1 e1 e3 | e5 e5 e5 ff 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|00000210| e3 e3 e3 e3 e3 00 e5 e5 | e5 e5 e5 ff 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|00000230| e3 e3 e3 e3 e3 e5 e5 e5 | e5 e5 e5 ff 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|00000250| e3 e3 e3 e3 e3 e3 e5 e5 | e5 e5 e5 ff 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|00000270| e3 e3 e3 e3 e3 e5 e5 e5 | e5 e5 e5 ff 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|00000290| e3 e3 e3 e3 e3 e3 e5 e5 | e5 e5 e5 ff 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff e3 |........|........|
|000002b0| e3 e3 e3 e3 e3 e5 e5 e5 | e5 e5 e5 ff 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff 2a 2a |........|......**|
|000002d0| e3 e3 e3 e3 e3 e3 e5 e5 | e5 e5 0b 0b ff ff 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 ff ff 2a 2a 2a 2a |........|....****|
|000002f0| 2a 2a e3 e3 e3 e5 e5 e5 | 0b 0b 0b 0b 0b 0b ff ff |**......|........|
|00000300| 00 00 00 00 00 00 00 00 | ff ff 2a 2a 2a 2a 2a 2a |........|..******|
|00000310| 2a 2a 2a 2a 2a 54 0b 0b | 0b 0b 0b 0b 0b 0b 0b 0b |*****T..|........|
|00000320| ff ff 00 00 00 00 00 00 | ff 54 54 00 2a 2a 2a 2a |........|.TT.****|
|00000330| 2a 2a 2a 54 7f 11 11 00 | 0b 0b 0b 0b 0b 0b 0b 11 |***T....|........|
|00000340| 17 ff 00 00 00 00 00 00 | ff 54 54 54 54 00 2a 2a |........|.TTTT.**|
|00000350| 2a 54 7f 7f 7f 7f 11 11 | 11 00 0b 0b 0b 11 17 17 |*T......|........|
|00000360| 17 ff 00 00 00 00 00 00 | ff 54 54 54 54 54 54 00 |........|.TTTTTT.|
|00000370| 7f 7f 7f 7f 7f 11 11 11 | 11 11 11 00 17 17 17 17 |........|........|
|00000380| 17 ff 00 00 00 00 00 ff | ff 54 54 54 54 54 54 7f |........|.TTTTTT.|
|00000390| 7f 7f 7f 7f 7f 7f 11 11 | 11 11 11 17 17 17 17 17 |........|........|
|000003a0| 17 ff ff 00 00 00 ff 00 | ff 54 54 54 54 54 54 54 |........|.TTTTTTT|
|000003b0| 7f 7f 7f 7f 7f 11 11 11 | 11 11 11 11 17 17 17 17 |........|........|
|000003c0| 17 ff f9 ff 00 ff 00 f7 | ff 54 54 54 54 54 54 7f |........|.TTTTTT.|
|000003d0| 7f 7f 7f 7f 7f 7f 11 11 | 11 11 11 17 17 17 17 17 |........|........|
|000003e0| 17 ff f7 f9 ff ff f7 f7 | ff 54 54 54 54 54 54 54 |........|.TTTTTTT|
|000003f0| 7f 7f 7f 7f 7f 11 11 11 | 11 11 11 11 17 17 17 17 |........|........|
|00000400| 17 ff f7 f7 ff ff f7 00 | ff ff 54 54 54 54 54 7f |........|..TTTTT.|
|00000410| 7f 7f 7f 7f ff ff 11 11 | 11 11 11 17 17 17 17 17 |........|........|
|00000420| ff ff f7 f9 ff ff f7 f7 | f7 00 ff ff 54 54 54 54 |........|....TTTT|
|00000430| 7f 7f ff ff f9 f9 ff ff | 11 11 11 11 17 17 ff ff |........|........|
|00000440| f7 f9 f9 f9 ff 00 ff ff | f7 f7 f7 00 ff ff 54 7f |........|......T.|
|00000450| ff ff f9 f9 f9 f9 f7 f6 | ff ff 11 17 ff ff f7 f9 |........|........|
|00000460| f9 f9 ff ff 00 00 00 00 | ff ff f7 f7 f7 00 ff ff |........|........|
|00000470| f9 f9 f9 f7 f6 f6 f6 f6 | f6 f6 ff ff f7 f9 f9 f9 |........|........|
|00000480| ff ff 00 00 00 00 00 00 | 00 00 ff ff f7 f7 f7 00 |........|........|
|00000490| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f7 f7 f9 f9 f9 ff ff |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff f7 f7 |........|........|
|000004b0| f7 00 00 f6 f6 f6 f6 f7 | f7 f9 f9 f9 ff ff 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|000004d0| f7 f7 f7 00 00 f7 f7 f9 | f9 f9 ff ff 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| ff ff f7 f7 f7 f9 f9 f9 | ff ff 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 ff ff f7 f9 ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 ff ff 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 01 41 | 04 56 69 65 77 07 57 69 |.......A|.View.Wi|
|00000550| 6e 64 6f 77 31 04 a4 01 | 90 01 12 04 4e 61 6d 65 |ndow1...|....Name|
|00000560| 07 57 69 6e 64 6f 77 31 | 05 46 72 61 6d 65 01 30 |.Window1|.Frame.0|
|00000570| 0c 48 61 73 42 61 63 6b | 43 6f 6c 6f 72 05 46 61 |.HasBack|Color.Fa|
|00000580| 6c 73 65 09 42 61 63 6b | 43 6f 6c 6f 72 08 31 36 |lse.Back|Color.16|
|00000590| 37 37 37 32 31 35 08 42 | 61 63 6b 64 72 6f 70 01 |777215.B|ackdrop.|
|000005a0| 30 05 54 69 74 6c 65 1a | 68 74 74 70 53 6f 63 6b |0.Title.|httpSock|
|000005b0| 65 74 20 65 78 61 6d 70 | 6c 65 20 70 72 6f 6a 65 |et examp|le proje|
|000005c0| 63 74 07 56 69 73 69 62 | 6c 65 04 54 72 75 65 08 |ct.Visib|le.True.|
|000005d0| 43 6c 6f 73 65 42 6f 78 | 04 54 72 75 65 08 47 72 |CloseBox|.True.Gr|
|000005e0| 6f 77 49 63 6f 6e 05 46 | 61 6c 73 65 08 5a 6f 6f |owIcon.F|alse.Zoo|
|000005f0| 6d 49 63 6f 6e 05 46 61 | 6c 73 65 0b 42 61 6c 6c |mIcon.Fa|lse.Ball|
|00000600| 6f 6f 6e 48 65 6c 70 00 | 09 50 6c 61 63 65 6d 65 |oonHelp.|.Placeme|
|00000610| 6e 74 01 30 05 57 69 64 | 74 68 03 35 32 39 06 48 |nt.0.Wid|th.529.H|
|00000620| 65 69 67 68 74 03 33 32 | 39 08 4d 69 6e 57 69 64 |eight.32|9.MinWid|
|00000630| 74 68 02 36 34 09 4d 69 | 6e 48 65 69 67 68 74 02 |th.64.Mi|nHeight.|
|00000640| 36 34 08 4d 61 78 57 69 | 64 74 68 05 33 32 30 30 |64.MaxWi|dth.3200|
|00000650| 30 09 4d 61 78 48 65 69 | 67 68 74 05 33 32 30 30 |0.MaxHei|ght.3200|
|00000660| 30 07 00 07 57 69 6e 64 | 6f 77 31 b1 01 06 41 70 |0...Wind|ow1...Ap|
|00000670| 70 6c 65 74 00 02 14 72 | 65 74 75 72 6e 50 61 73 |plet...r|eturnPas|
|00000680| 73 20 61 73 20 73 74 72 | 69 6e 67 00 10 72 65 74 |s as str|ing..ret|
|00000690| 72 79 20 61 73 20 62 6f | 6f 6c 65 61 6e 00 01 07 |ry as bo|olean...|
|000006a0| 47 65 74 50 61 73 73 0b | 73 20 61 73 20 73 74 72 |GetPass.|s as str|
|000006b0| 69 6e 67 06 73 74 72 69 | 6e 67 00 06 0d 06 0d 08 |ing.stri|ng......|
|000006c0| 27 46 75 6e 63 74 69 6f | 6e 20 47 65 74 50 61 73 |'Functio|n GetPas|
|000006d0| 73 28 73 20 61 73 20 73 | 74 72 69 6e 67 29 20 41 |s(s as s|tring) A|
|000006e0| 73 20 73 74 72 69 6e 67 | 10 64 69 6d 20 64 20 61 |s string|.dim d a|
|000006f0| 73 20 64 69 61 6c 6f 67 | 33 0d 64 3d 6e 65 77 20 |s dialog|3.d=new |
|00000700| 64 69 61 6c 6f 67 33 27 | 64 2e 53 74 61 74 69 63 |dialog3'|d.Static|
|00000710| 54 65 78 74 33 2e 54 65 | 78 74 3d 64 2e 53 74 61 |Text3.Te|xt=d.Sta|
|00000720| 74 69 63 54 65 78 74 33 | 2e 54 65 78 74 2b 73 0d |ticText3|.Text+s.|
|00000730| 64 2e 54 61 72 67 65 74 | 3d 73 65 6c 66 0b 64 2e |d.Target|=self.d.|
|00000740| 53 68 6f 77 4d 6f 64 61 | 6c 11 72 65 74 75 72 6e |ShowModa|l.return|
|00000750| 20 72 65 74 75 72 6e 50 | 61 73 73 0c 45 6e 64 20 | returnP|ass.End |
|00000760| 46 75 6e 63 74 69 6f 6e | 00 03 0f 45 6e 61 62 6c |Function|...Enabl|
|00000770| 65 4d 65 6e 75 49 74 65 | 6d 73 03 0a 03 0a 05 15 |eMenuIte|ms......|
|00000780| 53 75 62 20 45 6e 61 62 | 6c 65 4d 65 6e 75 49 74 |Sub Enab|leMenuIt|
|00000790| 65 6d 73 28 29 19 46 69 | 6c 65 50 61 67 65 49 6e |ems().Fi|lePageIn|
|000007a0| 66 6f 2e 45 6e 61 62 6c | 65 64 3d 74 72 75 65 1b |fo.Enabl|ed=true.|
|000007b0| 46 69 6c 65 53 75 62 6d | 69 74 46 6f 72 6d 2e 45 |FileSubm|itForm.E|
|000007c0| 6e 61 62 6c 65 64 3d 74 | 72 75 65 1a 46 69 6c 65 |nabled=t|rue.File|
|000007d0| 54 72 61 6e 73 6c 61 74 | 65 2e 45 6e 61 62 6c 65 |Translat|e.Enable|
|000007e0| 64 3d 74 72 75 65 07 45 | 6e 64 20 53 75 62 05 43 |d=true.E|nd Sub.C|
|000007f0| 6c 6f 73 65 01 00 01 00 | 03 0b 53 75 62 20 43 6c |lose....|..Sub Cl|
|00000800| 6f 73 65 28 29 00 07 45 | 6e 64 20 53 75 62 04 4f |ose()..E|nd Sub.O|
|00000810| 70 65 6e 0b a1 01 0b a1 | 01 0d 0a 53 75 62 20 4f |pen.....|...Sub O|
|00000820| 70 65 6e 28 29 1b 68 74 | 74 70 53 6f 63 6b 65 74 |pen().ht|tpSocket|
|00000830| 2e 4d 6f 72 65 44 61 74 | 61 44 65 6c 61 79 3d 33 |.MoreDat|aDelay=3|
|00000840| 30 28 50 6f 70 75 70 4d | 65 6e 75 31 2e 41 64 64 |0(PopupM|enu1.Add|
|00000850| 52 6f 77 20 22 77 77 77 | 2e 6d 61 63 6f 73 72 75 |Row "www|.macosru|
|00000860| 6d 6f 72 73 2e 63 6f 6d | 2f 22 30 50 6f 70 75 70 |mors.com|/"0Popup|
|00000870| 4d 65 6e 75 31 2e 41 64 | 64 52 6f 77 20 22 77 77 |Menu1.Ad|dRow "ww|
|00000880| 77 2e 6d 61 63 61 64 64 | 69 63 74 2e 63 6f 6d 2f |w.macadd|ict.com/|
|00000890| 69 6e 64 65 78 2e 68 74 | 6d 6c 22 35 50 6f 70 75 |index.ht|ml"5Popu|
|000008a0| 70 4d 65 6e 75 31 2e 41 | 64 64 52 6f 77 20 22 71 |pMenu1.A|ddRow "q|
|000008b0| 75 6f 74 65 2e 79 61 68 | 6f 6f 2e 63 6f 6d 2f 71 |uote.yah|oo.com/q|
|000008c0| 75 6f 74 65 3f 73 3d 41 | 50 50 4c 26 64 3d 76 31 |uote?s=A|PPL&d=v1|
|000008d0| 22 2d 50 6f 70 75 70 4d | 65 6e 75 31 2e 41 64 64 |"-PopupM|enu1.Add|
|000008e0| 52 6f 77 20 22 77 77 77 | 2e 6e 64 2e 65 64 75 2f |Row "www|.nd.edu/|
|000008f0| 7e 6a 76 61 6e 64 65 72 | 6b 2f 72 62 6d 2f 22 17 |~jvander|k/rbm/".|
|00000900| 50 6f 70 75 70 4d 65 6e | 75 31 2e 41 64 64 53 65 |PopupMen|u1.AddSe|
|00000910| 70 61 72 61 74 6f 72 3b | 50 6f 70 75 70 4d 65 6e |parator;|PopupMen|
|00000920| 75 31 2e 41 64 64 52 6f | 77 20 22 77 77 77 2e 6e |u1.AddRo|w "www.n|
|00000930| 64 2e 65 64 75 2f 7e 6a | 76 61 6e 64 65 72 6b 2f |d.edu/~j|vanderk/|
|00000940| 72 62 6d 2f 37 2d 39 38 | 2f 63 6f 76 65 72 2e 4a |rbm/7-98|/cover.J|
|00000950| 50 47 22 3b 50 6f 70 75 | 70 4d 65 6e 75 31 2e 41 |PG";Popu|pMenu1.A|
|00000960| 64 64 52 6f 77 20 22 77 | 77 77 2e 6e 64 2e 65 64 |ddRow "w|ww.nd.ed|
|00000970| 75 2f 7e 6a 76 61 6e 64 | 65 72 6b 2f 72 62 6d 2f |u/~jvand|erk/rbm/|
|00000980| 38 2d 39 38 2f 63 6f 76 | 65 72 2e 6a 70 67 22 3c |8-98/cov|er.jpg"<|
|00000990| 50 6f 70 75 70 4d 65 6e | 75 31 2e 41 64 64 52 6f |PopupMen|u1.AddRo|
|000009a0| 77 20 22 77 77 77 2e 6e | 64 2e 65 64 75 2f 7e 6a |w "www.n|d.edu/~j|
|000009b0| 76 61 6e 64 65 72 6b 2f | 72 62 6d 2f 39 2d 39 38 |vanderk/|rbm/9-98|
|000009c0| 2f 63 6f 76 65 72 2e 6a | 70 65 67 22 38 50 6f 70 |/cover.j|peg"8Pop|
|000009d0| 75 70 4d 65 6e 75 31 2e | 41 64 64 52 6f 77 20 22 |upMenu1.|AddRow "|
|000009e0| 77 77 77 2e 6e 64 2e 65 | 64 75 2f 7e 6a 76 61 6e |www.nd.e|du/~jvan|
|000009f0| 64 65 72 6b 2f 6d 61 63 | 70 69 63 73 2f 6d 77 6d |derk/mac|pics/mwm|
|00000a00| 2e 67 69 66 22 a9 01 50 | 6f 70 75 70 4d 65 6e 75 |.gif"..P|opupMenu|
|00000a10| 31 2e 41 64 64 52 6f 77 | 20 22 68 74 74 70 3a 2f |1.AddRow| "http:/|
|00000a20| 2f 77 77 77 2e 66 72 65 | 65 72 65 61 6c 74 69 6d |/www.fre|erealtim|
|00000a30| 65 2e 63 6f 6d 3a 38 30 | 30 30 2f 71 75 6f 74 65 |e.com:80|00/quote|
|00000a40| 73 3f 73 79 6d 62 6f 6c | 3d 41 41 50 4c 26 61 63 |s?symbol|=AAPL&ac|
|00000a50| 74 69 6f 6e 3d 47 65 74 | 2b 49 74 25 32 31 26 74 |tion=Get|+It%21&t|
|00000a60| 79 70 65 3d 42 61 73 69 | 63 2b 51 75 6f 74 65 22 |ype=Basi|c+Quote"|
|00000a70| 07 45 6e 64 20 53 75 62 | 03 0c 46 69 6c 65 50 61 |.End Sub|..FilePa|
|00000a80| 67 65 49 6e 66 6f 04 00 | 04 00 09 1a 46 75 6e 63 |geInfo..|....Func|
|00000a90| 74 69 6f 6e 20 41 63 74 | 69 6f 6e 20 41 73 20 42 |tion Act|ion As B|
|00000aa0| 6f 6f 6c 65 61 6e 1e 44 | 69 6d 20 44 20 61 73 20 |oolean.D|im D as |
|00000ab0| 64 69 61 6c 6f 67 32 2c | 20 49 20 61 73 20 69 6e |dialog2,| I as in|
|00000ac0| 74 65 67 65 72 0d 64 3d | 6e 65 77 20 64 69 61 6c |teger.d=|new dial|
|00000ad0| 6f 67 32 29 46 6f 72 20 | 49 20 3d 20 31 20 74 6f |og2)For |I = 1 to|
|00000ae0| 20 75 62 6f 75 6e 64 28 | 68 74 74 70 53 6f 63 6b | ubound(|httpSock|
|00000af0| 65 74 2e 48 65 61 64 65 | 72 4e 61 6d 29 29 64 2e |et.Heade|rNam))d.|
|00000b00| 4c 69 73 74 42 6f 78 31 | 2e 41 64 64 52 6f 77 20 |ListBox1|.AddRow |
|00000b10| 68 74 74 70 53 6f 63 6b | 65 74 2e 48 65 61 64 65 |httpSock|et.Heade|
|00000b20| 72 4e 61 6d 28 49 29 82 | 01 64 2e 4c 69 73 74 42 |rNam(I).|.d.ListB|
|00000b30| 6f 78 31 2e 43 65 6c 6c | 28 64 2e 4c 69 73 74 42 |ox1.Cell|(d.ListB|
|00000b40| 6f 78 31 2e 4c 69 73 74 | 43 4f 75 6e 74 2d 31 2c |ox1.List|COunt-1,|
|00000b50| 20 31 29 3d 68 74 74 70 | 53 6f 63 6b 65 74 2e 48 | 1)=http|Socket.H|
|00000b60| 65 61 64 65 72 56 61 6c | 28 49 29 04 6e 65 78 74 |eaderVal|(I).next|
|00000b70| 0b 64 2e 73 68 6f 77 6d | 6f 64 61 6c 0c 45 6e 64 |.d.showm|odal.End|
|00000b80| 20 46 75 6e 63 74 69 6f | 6e 0e 46 69 6c 65 53 75 | Functio|n.FileSu|
|00000b90| 62 6d 69 74 46 6f 72 6d | 03 06 03 06 05 1a 46 75 |bmitForm|......Fu|
|00000ba0| 6e 63 74 69 6f 6e 20 41 | 63 74 69 6f 6e 20 41 73 |nction A|ction As|
|00000bb0| 20 42 6f 6f 6c 65 61 6e | 10 44 69 6d 20 64 20 61 | Boolean|.Dim d a|
|00000bc0| 73 20 64 69 61 6c 6f 67 | 35 0d 64 3d 6e 65 77 20 |s dialog|5.d=new |
|00000bd0| 64 69 61 6c 6f 67 35 06 | 64 2e 73 68 6f 77 0c 45 |dialog5.|d.show.E|
|00000be0| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 0d 46 69 6c 65 |nd Funct|ion.File|
|00000bf0| 54 72 61 6e 73 6c 61 74 | 65 03 06 03 06 05 1a 46 |Translat|e......F|
|00000c00| 75 6e 63 74 69 6f 6e 20 | 41 63 74 69 6f 6e 20 41 |unction |Action A|
|00000c10| 73 20 42 6f 6f 6c 65 61 | 6e 10 64 69 6d 20 64 20 |s Boolea|n.dim d |
|00000c20| 61 73 20 64 69 61 6c 6f | 67 36 0d 64 3d 6e 65 77 |as dialo|g6.d=new|
|00000c30| 20 64 69 61 6c 6f 67 36 | 06 64 2e 73 68 6f 77 0c | dialog6|.d.show.|
|00000c40| 45 6e 64 20 46 75 6e 63 | 74 69 6f 6e 00 0d 07 00 |End Func|tion....|
|00000c50| 00 88 02 09 45 64 69 74 | 46 69 65 6c 64 00 00 00 |....Edit|Field...|
|00000c60| 00 01 07 4b 65 79 44 6f | 77 6e 01 00 01 00 03 2a |...KeyDo|wn.....*|
|00000c70| 46 75 6e 63 74 69 6f 6e | 20 4b 65 79 44 6f 77 6e |Function| KeyDown|
|00000c80| 28 4b 65 79 20 41 73 20 | 53 74 72 69 6e 67 29 20 |(Key As |String) |
|00000c90| 41 73 20 42 6f 6f 6c 65 | 61 6e 00 0c 45 6e 64 20 |As Boole|an..End |
|00000ca0| 46 75 6e 63 74 69 6f 6e | 00 00 07 00 00 b4 01 0a |Function|........|
|00000cb0| 50 75 73 68 42 75 74 74 | 6f 6e 00 00 00 00 01 06 |PushButt|on......|
|00000cc0| 41 63 74 69 6f 6e 13 06 | 13 06 26 0c 53 75 62 20 |Action..|..&.Sub |
|00000cd0| 41 63 74 69 6f 6e 28 29 | 13 64 69 6d 20 66 20 61 |Action()|.dim f a|
|00000ce0| 73 20 66 6f 6c 64 65 72 | 69 74 65 6d 00 23 2f 2f |s folder|item.#//|
|00000cf0| 20 57 68 61 74 20 66 69 | 6c 65 20 73 68 6f 75 6c | What fi|le shoul|
|00000d00| 64 20 69 74 20 62 65 20 | 73 61 76 65 64 20 74 6f |d it be |saved to|
|00000d10| 3f 23 66 3d 47 65 74 53 | 61 76 65 46 6f 6c 64 65 |?#f=GetS|aveFolde|
|00000d20| 72 49 74 65 6d 28 22 54 | 65 78 74 22 2c 20 22 46 |rItem("T|ext", "F|
|00000d30| 69 6c 65 22 29 00 25 2f | 2f 20 4d 61 6b 65 20 73 |ile").%/|/ Make s|
|00000d40| 75 72 65 20 75 73 65 72 | 20 64 69 64 6e 27 74 20 |ure user| didn't |
|00000d50| 63 6c 69 63 6b 20 63 61 | 6e 63 65 6c 0d 69 66 20 |click ca|ncel.if |
|00000d60| 66 3d 6e 69 6c 20 74 68 | 65 6e 06 72 65 74 75 72 |f=nil th|en.retur|
|00000d70| 6e 06 65 6e 64 20 69 66 | 00 31 2f 2f 20 49 73 20 |n.end if|.1// Is |
|00000d80| 61 20 70 72 6f 78 79 20 | 65 6e 61 62 6c 65 64 3f |a proxy |enabled?|
|00000d90| 20 53 65 74 20 69 74 20 | 75 70 20 69 66 20 74 68 | Set it |up if th|
|00000da0| 65 72 65 20 69 73 20 6f | 6e 65 2e 16 69 66 20 43 |ere is o|ne..if C|
|00000db0| 68 6b 50 72 6f 78 79 2e | 56 61 6c 75 65 20 74 68 |hkProxy.|Value th|
|00000dc0| 65 6e 23 69 66 20 49 6e | 73 74 72 28 54 78 74 50 |en#if In|str(TxtP|
|00000dd0| 72 6f 78 79 2e 54 65 78 | 74 2c 20 22 3a 22 29 3e |roxy.Tex|t, ":")>|
|00000de0| 30 20 74 68 65 6e 36 68 | 74 74 70 53 6f 63 6b 65 |0 then6h|ttpSocke|
|00000df0| 74 2e 50 72 6f 78 79 53 | 65 72 76 65 72 3d 4e 74 |t.ProxyS|erver=Nt|
|00000e00| 68 46 69 65 6c 64 28 54 | 78 74 50 72 6f 78 79 2e |hField(T|xtProxy.|
|00000e10| 54 65 78 74 2c 20 22 3a | 22 2c 20 31 29 39 68 74 |Text, ":|", 1)9ht|
|00000e20| 74 70 53 6f 63 6b 65 74 | 2e 50 72 6f 78 79 50 6f |tpSocket|.ProxyPo|
|00000e30| 72 74 3d 76 61 6c 28 4e | 74 68 46 69 65 6c 64 28 |rt=val(N|thField(|
|00000e40| 54 78 74 50 72 6f 78 79 | 2e 54 65 78 74 2c 20 22 |TxtProxy|.Text, "|
|00000e50| 3a 22 2c 20 32 29 29 04 | 65 6c 73 65 24 68 74 74 |:", 2)).|else$htt|
|00000e60| 70 53 6f 63 6b 65 74 2e | 50 72 6f 78 79 53 65 72 |pSocket.|ProxySer|
|00000e70| 76 65 72 3d 54 78 74 50 | 72 6f 78 79 2e 74 65 78 |ver=TxtP|roxy.tex|
|00000e80| 74 16 68 74 74 70 53 6f | 63 6b 65 74 2e 50 72 6f |t.httpSo|cket.Pro|
|00000e90| 78 79 50 6f 72 74 3d 30 | 06 65 6e 64 20 69 66 04 |xyPort=0|.end if.|
|00000ea0| 65 6c 73 65 19 68 74 74 | 70 53 6f 63 6b 65 74 2e |else.htt|pSocket.|
|00000eb0| 50 72 6f 78 79 53 65 72 | 76 65 72 3d 22 22 06 65 |ProxySer|ver="".e|
|00000ec0| 6e 64 20 69 66 00 13 2f | 2f 20 42 65 61 75 74 69 |nd if../|/ Beauti|
|00000ed0| 66 79 20 74 68 65 20 55 | 52 4c 2b 2f 2f 20 68 74 |fy the U|RL+// ht|
|00000ee0| 74 70 53 6f 63 6b 65 74 | 20 64 6f 65 73 6e 27 74 |tpSocket| doesn't|
|00000ef0| 20 63 61 72 65 20 68 6f | 77 20 6e 69 63 65 20 74 | care ho|w nice t|
|00000f00| 68 65 20 55 52 4c 2b 2f | 2f 20 69 73 2c 20 62 75 |he URL+/|/ is, bu|
|00000f10| 74 20 69 74 20 6d 61 6b | 65 73 20 74 68 65 20 65 |t it mak|es the e|
|00000f20| 64 69 74 66 69 65 6c 64 | 20 68 61 76 65 20 74 68 |ditfield| have th|
|00000f30| 61 74 1f 2f 2f 20 22 57 | 65 62 20 42 72 6f 77 73 |at.// "W|eb Brows|
|00000f40| 65 72 22 2d 65 73 71 75 | 65 20 66 65 65 6c 69 6e |er"-esqu|e feelin|
|00000f50| 67 2e 35 45 64 69 74 46 | 49 65 6c 64 31 2e 54 65 |g.5EditF|Ield1.Te|
|00000f60| 78 74 3d 68 74 74 70 53 | 6f 63 6b 65 74 2e 46 6f |xt=httpS|ocket.Fo|
|00000f70| 72 6d 61 74 55 52 4c 28 | 45 64 69 74 46 69 65 6c |rmatURL(|EditFiel|
|00000f80| 64 31 2e 54 65 78 74 29 | 00 15 2f 2f 20 42 65 67 |d1.Text)|..// Beg|
|00000f90| 69 6e 20 74 68 65 20 64 | 6f 77 6e 6c 6f 61 64 1e |in the d|ownload.|
|00000fa0| 69 66 20 6e 6f 74 20 6b | 65 79 62 6f 61 72 64 2e |if not k|eyboard.|
|00000fb0| 6f 70 74 69 6f 6e 4b 65 | 79 20 74 68 65 6e 26 68 |optionKe|y then&h|
|00000fc0| 74 74 70 73 6f 63 6b 65 | 74 2e 44 6f 77 6e 6c 6f |ttpsocke|t.Downlo|
|00000fd0| 61 64 20 45 64 69 74 46 | 69 65 6c 64 31 2e 74 65 |ad EditF|ield1.te|
|00000fe0| 78 74 2c 20 66 04 65 6c | 73 65 35 45 64 69 74 46 |xt, f.el|se5EditF|
|00000ff0| 69 65 6c 64 31 2e 53 65 | 6c 53 74 61 72 74 3d 69 |ield1.Se|lStart=i|
|00001000| 6e 73 74 72 28 45 64 69 | 74 46 69 65 6c 64 31 2e |nstr(Edi|tField1.|
|00001010| 54 65 78 74 2c 20 22 66 | 65 61 74 75 72 65 22 29 |Text, "f|eature")|
|00001020| 16 45 64 69 74 46 69 65 | 6c 64 31 2e 53 65 6c 4c |.EditFie|ld1.SelL|
|00001030| 65 6e 67 74 68 3d 37 06 | 65 6e 64 20 69 66 07 45 |ength=7.|end if.E|
|00001040| 6e 64 20 53 75 62 00 00 | 07 00 00 88 02 09 45 64 |nd Sub..|......Ed|
|00001050| 69 74 46 69 65 6c 64 00 | 00 00 00 01 07 4b 65 79 |itField.|.....Key|
|00001060| 44 6f 77 6e 01 00 01 00 | 03 2a 46 75 6e 63 74 69 |Down....|.*Functi|
|00001070| 6f 6e 20 4b 65 79 44 6f | 77 6e 28 4b 65 79 20 41 |on KeyDo|wn(Key A|
|00001080| 73 20 53 74 72 69 6e 67 | 29 20 41 73 20 42 6f 6f |s String|) As Boo|
|00001090| 6c 65 61 6e 00 0c 45 6e | 64 20 46 75 6e 63 74 69 |lean..En|d Functi|
|000010a0| 6f 6e 00 00 07 00 00 b4 | 01 0a 53 74 61 74 69 63 |on......|..Static|
|000010b0| 54 65 78 74 00 00 00 00 | 02 0a 4d 6f 75 73 65 45 |Text....|..MouseE|
|000010c0| 6e 74 65 72 01 00 01 00 | 03 10 53 75 62 20 4d 6f |nter....|..Sub Mo|
|000010d0| 75 73 65 45 6e 74 65 72 | 28 29 00 07 45 6e 64 20 |useEnter|()..End |
|000010e0| 53 75 62 09 4d 6f 75 73 | 65 4d 6f 76 65 01 00 01 |Sub.Mous|eMove...|
|000010f0| 00 03 29 53 75 62 20 4d | 6f 75 73 65 4d 6f 76 65 |..)Sub M|ouseMove|
|00001100| 28 58 20 41 73 20 49 6e | 74 65 67 65 72 2c 20 59 |(X As In|teger, Y|
|00001110| 20 41 73 20 49 6e 74 65 | 67 65 72 29 00 07 45 6e | As Inte|ger)..En|
|00001120| 64 20 53 75 62 00 00 07 | 00 00 b4 01 0a 53 74 61 |d Sub...|.....Sta|
|00001130| 74 69 63 54 65 78 74 00 | 00 00 00 01 09 4d 6f 75 |ticText.|.....Mou|
|00001140| 73 65 4d 6f 76 65 01 00 | 01 00 03 29 53 75 62 20 |seMove..|...)Sub |
|00001150| 4d 6f 75 73 65 4d 6f 76 | 65 28 58 20 41 73 20 49 |MouseMov|e(X As I|
|00001160| 6e 74 65 67 65 72 2c 20 | 59 20 41 73 20 49 6e 74 |nteger, |Y As Int|
|00001170| 65 67 65 72 29 00 07 45 | 6e 64 20 53 75 62 00 00 |eger)..E|nd Sub..|
|00001180| 07 00 00 b4 01 0a 50 75 | 73 68 42 75 74 74 6f 6e |......Pu|shButton|
|00001190| 00 00 00 00 01 06 41 63 | 74 69 6f 6e 0f 00 0f 00 |......Ac|tion....|
|000011a0| 1e 0c 53 75 62 20 41 63 | 74 69 6f 6e 28 29 00 25 |..Sub Ac|tion().%|
|000011b0| 2f 2f 20 49 66 20 74 68 | 65 72 65 27 73 20 61 20 |// If th|ere's a |
|000011c0| 70 72 6f 78 79 2c 20 74 | 68 65 6e 20 73 65 74 20 |proxy, t|hen set |
|000011d0| 69 74 20 75 70 16 69 66 | 20 43 68 6b 50 72 6f 78 |it up.if| ChkProx|
|000011e0| 79 2e 56 61 6c 75 65 20 | 74 68 65 6e 23 69 66 20 |y.Value |then#if |
|000011f0| 49 6e 73 74 72 28 54 78 | 74 50 72 6f 78 79 2e 54 |Instr(Tx|tProxy.T|
|00001200| 65 78 74 2c 20 22 3a 22 | 29 3e 30 20 74 68 65 6e |ext, ":"|)>0 then|
|00001210| 36 68 74 74 70 53 6f 63 | 6b 65 74 2e 50 72 6f 78 |6httpSoc|ket.Prox|
|00001220| 79 53 65 72 76 65 72 3d | 4e 74 68 46 69 65 6c 64 |yServer=|NthField|
|00001230| 28 54 78 74 50 72 6f 78 | 79 2e 54 65 78 74 2c 20 |(TxtProx|y.Text, |
|00001240| 22 3a 22 2c 20 31 29 39 | 68 74 74 70 53 6f 63 6b |":", 1)9|httpSock|
|00001250| 65 74 2e 50 72 6f 78 79 | 50 6f 72 74 3d 76 61 6c |et.Proxy|Port=val|
|00001260| 28 4e 74 68 46 69 65 6c | 64 28 54 78 74 50 72 6f |(NthFiel|d(TxtPro|
|00001270| 78 79 2e 54 65 78 74 2c | 20 22 3a 22 2c 20 32 29 |xy.Text,| ":", 2)|
|00001280| 29 04 65 6c 73 65 24 68 | 74 74 70 53 6f 63 6b 65 |).else$h|ttpSocke|
|00001290| 74 2e 50 72 6f 78 79 53 | 65 72 76 65 72 3d 54 78 |t.ProxyS|erver=Tx|
|000012a0| 74 50 72 6f 78 79 2e 74 | 65 78 74 16 68 74 74 70 |tProxy.t|ext.http|
|000012b0| 53 6f 63 6b 65 74 2e 50 | 72 6f 78 79 50 6f 72 74 |Socket.P|roxyPort|
|000012c0| 3d 30 06 65 6e 64 20 69 | 66 04 65 6c 73 65 19 68 |=0.end i|f.else.h|
|000012d0| 74 74 70 53 6f 63 6b 65 | 74 2e 50 72 6f 78 79 53 |ttpSocke|t.ProxyS|
|000012e0| 65 72 76 65 72 3d 22 22 | 06 65 6e 64 20 69 66 00 |erver=""|.end if.|
|000012f0| 00 14 2f 2f 20 43 6c 65 | 61 72 20 74 68 65 20 64 |..// Cle|ar the d|
|00001300| 69 73 70 6c 61 79 12 45 | 64 69 74 46 69 65 6c 64 |isplay.E|ditField|
|00001310| 32 2e 54 65 78 74 3d 22 | 22 00 13 2f 2f 20 42 65 |2.Text="|"..// Be|
|00001320| 61 75 74 69 66 79 20 74 | 68 65 20 55 52 4c 2b 2f |autify t|he URL+/|
|00001330| 2f 20 68 74 74 70 53 6f | 63 6b 65 74 20 64 6f 65 |/ httpSo|cket doe|
|00001340| 73 6e 27 74 20 63 61 72 | 65 20 68 6f 77 20 6e 69 |sn't car|e how ni|
|00001350| 63 65 20 74 68 65 20 55 | 52 4c 2b 2f 2f 20 69 73 |ce the U|RL+// is|
|00001360| 2c 20 62 75 74 20 69 74 | 20 6d 61 6b 65 73 20 74 |, but it| makes t|
|00001370| 68 65 20 65 64 69 74 66 | 69 65 6c 64 20 68 61 76 |he editf|ield hav|
|00001380| 65 20 74 68 61 74 1f 2f | 2f 20 22 57 65 62 20 42 |e that./|/ "Web B|
|00001390| 72 6f 77 73 65 72 22 2d | 65 73 71 75 65 20 66 65 |rowser"-|esque fe|
|000013a0| 65 6c 69 6e 67 2e 35 45 | 64 69 74 46 49 65 6c 64 |eling.5E|ditFIeld|
|000013b0| 31 2e 54 65 78 74 3d 68 | 74 74 70 53 6f 63 6b 65 |1.Text=h|ttpSocke|
|000013c0| 74 2e 46 6f 72 6d 61 74 | 55 52 4c 28 45 64 69 74 |t.Format|URL(Edit|
|000013d0| 46 69 65 6c 64 31 2e 54 | 65 78 74 29 00 0f 2f 2f |Field1.T|ext)..//|
|000013e0| 20 47 65 74 20 74 68 65 | 20 66 69 6c 65 1e 69 66 | Get the| file.if|
|000013f0| 20 6e 6f 74 20 6b 65 79 | 62 6f 61 72 64 2e 6f 70 | not key|board.op|
|00001400| 74 69 6f 6e 4b 65 79 20 | 74 68 65 6e 22 68 74 74 |tionKey |then"htt|
|00001410| 70 73 6f 63 6b 65 74 2e | 47 65 74 46 69 6c 65 20 |psocket.|GetFile |
|00001420| 45 64 69 74 46 69 65 6c | 64 31 2e 74 65 78 74 06 |EditFiel|d1.text.|
|00001430| 65 6e 64 20 69 66 07 45 | 6e 64 20 53 75 62 00 00 |end if.E|nd Sub..|
|00001440| 07 00 00 ac 01 09 50 6f | 70 75 70 4d 65 6e 75 00 |......Po|pupMenu.|
|00001450| 00 00 00 01 06 43 68 61 | 6e 67 65 01 00 01 17 03 |.....Cha|nge.....|
|00001460| 0c 53 75 62 20 43 68 61 | 6e 67 65 28 29 17 45 64 |.Sub Cha|nge().Ed|
|00001470| 69 74 46 69 65 6c 64 31 | 2e 54 65 78 74 3d 6d 65 |itField1|.Text=me|
|00001480| 2e 54 65 78 74 07 45 6e | 64 20 53 75 62 00 00 07 |.Text.En|d Sub...|
|00001490| 00 00 a0 01 0b 50 72 6f | 67 72 65 73 73 42 61 72 |.....Pro|gressBar|
|000014a0| 00 00 00 00 01 09 4d 6f | 75 73 65 4d 6f 76 65 01 |......Mo|useMove.|
|000014b0| 00 01 00 03 29 53 75 62 | 20 4d 6f 75 73 65 4d 6f |....)Sub| MouseMo|
|000014c0| 76 65 28 58 20 41 73 20 | 49 6e 74 65 67 65 72 2c |ve(X As |Integer,|
|000014d0| 20 59 20 41 73 20 49 6e | 74 65 67 65 72 29 00 07 | Y As In|teger)..|
|000014e0| 45 6e 64 20 53 75 62 00 | 00 07 00 00 b4 01 0a 53 |End Sub.|.......S|
|000014f0| 74 61 74 69 63 54 65 78 | 74 00 00 00 00 00 00 00 |taticTex|t.......|
|00001500| 07 00 00 b4 02 0a 68 74 | 74 70 53 6f 63 6b 65 74 |......ht|tpSocket|
|00001510| 00 00 00 00 0b 0b 4c 6f | 67 69 6e 46 61 69 6c 65 |......Lo|ginFaile|
|00001520| 64 06 0c 06 0c 08 2e 46 | 75 6e 63 74 69 6f 6e 20 |d......F|unction |
|00001530| 4c 6f 67 69 6e 46 61 69 | 6c 65 64 28 55 52 4c 20 |LoginFai|led(URL |
|00001540| 61 73 20 73 74 72 69 6e | 67 29 20 41 73 20 62 6f |as strin|g) As bo|
|00001550| 6f 6c 65 61 6e 10 64 69 | 6d 20 64 20 61 73 20 64 |olean.di|m d as d|
|00001560| 69 61 6c 6f 67 34 0d 64 | 3d 6e 65 77 20 64 69 61 |ialog4.d|=new dia|
|00001570| 6c 6f 67 34 0d 64 2e 74 | 61 72 67 65 74 3d 73 65 |log4.d.t|arget=se|
|00001580| 6c 66 0b 64 2e 73 68 6f | 77 6d 6f 64 61 6c 00 0c |lf.d.sho|wmodal..|
|00001590| 72 65 74 75 72 6e 20 72 | 65 74 72 79 0c 45 6e 64 |return r|etry.End|
|000015a0| 20 46 75 6e 63 74 69 6f | 6e 0e 50 61 73 73 77 6f | Functio|n.Passwo|
|000015b0| 72 64 4e 65 65 64 65 64 | 01 00 01 15 03 32 46 75 |rdNeeded|.....2Fu|
|000015c0| 6e 63 74 69 6f 6e 20 50 | 61 73 73 77 6f 72 64 4e |nction P|asswordN|
|000015d0| 65 65 64 65 64 28 72 65 | 61 6c 6d 20 61 73 20 73 |eeded(re|alm as s|
|000015e0| 74 72 69 6e 67 29 20 41 | 73 20 73 74 72 69 6e 67 |tring) A|s string|
|000015f0| 15 72 65 74 75 72 6e 20 | 47 65 74 50 61 73 73 28 |.return |GetPass(|
|00001600| 72 65 61 6c 6d 29 0c 45 | 6e 64 20 46 75 6e 63 74 |realm).E|nd Funct|
|00001610| 69 6f 6e 0f 52 65 63 65 | 69 76 65 64 48 65 61 64 |ion.Rece|ivedHead|
|00001620| 65 72 73 01 00 01 00 03 | 15 53 75 62 20 52 65 63 |ers.....|.Sub Rec|
|00001630| 65 69 76 65 64 48 65 61 | 64 65 72 73 28 29 00 07 |eivedHea|ders()..|
|00001640| 45 6e 64 20 53 75 62 05 | 45 72 72 6f 72 03 10 03 |End Sub.|Error...|
|00001650| 10 05 29 53 75 62 20 45 | 72 72 6f 72 28 63 6f 64 |..)Sub E|rror(cod|
|00001660| 65 20 61 73 20 69 6e 74 | 65 67 65 72 2c 20 6d 73 |e as int|eger, ms|
|00001670| 67 20 61 73 20 73 74 72 | 69 6e 67 29 26 6d 73 67 |g as str|ing)&msg|
|00001680| 42 6f 78 20 22 45 72 72 | 6f 72 3a 20 22 2b 73 74 |Box "Err|or: "+st|
|00001690| 72 28 63 6f 64 65 29 2b | 63 68 72 28 31 33 29 2b |r(code)+|chr(13)+|
|000016a0| 6d 73 67 17 50 72 6f 67 | 72 65 73 73 42 61 72 31 |msg.Prog|ressBar1|
|000016b0| 2e 4d 61 78 69 6d 75 6d | 3d 31 30 14 50 72 6f 67 |.Maximum|=10.Prog|
|000016c0| 72 65 73 73 42 61 72 31 | 2e 56 61 6c 75 65 3d 30 |ressBar1|.Value=0|
|000016d0| 07 45 6e 64 20 53 75 62 | 0f 4c 6f 63 61 74 69 6f |.End Sub|.Locatio|
|000016e0| 6e 43 68 61 6e 67 65 64 | 01 0e 01 0e 03 25 53 75 |nChanged|.....%Su|
|000016f0| 62 20 4c 6f 63 61 74 69 | 6f 6e 43 68 61 6e 67 65 |b Locati|onChange|
|00001700| 64 28 6e 65 77 4c 6f 63 | 20 61 73 20 73 74 72 69 |d(newLoc| as stri|
|00001710| 6e 67 29 16 45 64 69 74 | 46 69 65 6c 64 31 2e 54 |ng).Edit|Field1.T|
|00001720| 65 78 74 3d 6e 65 77 6c | 6f 63 07 45 6e 64 20 53 |ext=newl|oc.End S|
|00001730| 75 62 07 4d 6f 72 65 4c | 6f 67 01 00 01 00 03 1a |ub.MoreL|og......|
|00001740| 53 75 62 20 4d 6f 72 65 | 4c 6f 67 28 74 78 74 20 |Sub More|Log(txt |
|00001750| 61 73 20 73 74 72 69 6e | 67 29 00 07 45 6e 64 20 |as strin|g)..End |
|00001760| 53 75 62 04 4f 70 65 6e | 01 07 01 07 03 0a 53 75 |Sub.Open|......Su|
|00001770| 62 20 4f 70 65 6e 28 29 | 22 6d 65 2e 53 65 74 43 |b Open()|"me.SetC|
|00001780| 6c 69 65 6e 74 4e 61 6d | 65 20 22 68 74 74 70 53 |lientNam|e "httpS|
|00001790| 6f 63 6b 65 74 22 2c 20 | 31 2e 35 07 45 6e 64 20 |ocket", |1.5.End |
|000017a0| 53 75 62 09 43 61 6e 63 | 65 6c 6c 65 64 03 14 03 |Sub.Canc|elled...|
|000017b0| 14 05 0f 53 75 62 20 43 | 61 6e 63 65 6c 6c 65 64 |...Sub C|ancelled|
|000017c0| 28 29 25 53 74 61 74 69 | 63 54 65 78 74 32 2e 54 |()%Stati|cText2.T|
|000017d0| 65 78 74 3d 22 44 6f 77 | 6e 6c 6f 61 64 20 63 61 |ext="Dow|nload ca|
|000017e0| 6e 63 65 6c 6c 65 64 22 | 17 50 72 6f 67 72 65 73 |ncelled"|.Progres|
|000017f0| 73 42 61 72 31 2e 4d 61 | 78 69 6d 75 6d 3d 31 30 |sBar1.Ma|ximum=10|
|00001800| 14 50 72 6f 67 72 65 73 | 73 42 61 72 31 2e 56 61 |.Progres|sBar1.Va|
|00001810| 6c 75 65 3d 30 07 45 6e | 64 20 53 75 62 08 4d 6f |lue=0.En|d Sub.Mo|
|00001820| 72 65 44 61 74 61 0b 01 | 0b 01 13 8d 01 53 75 62 |reData..|.....Sub|
|00001830| 20 4d 6f 72 65 44 61 74 | 61 28 61 6d 74 20 61 73 | MoreDat|a(amt as|
|00001840| 20 69 6e 74 65 67 65 72 | 2c 20 74 6f 74 61 6c 20 | integer|, total |
|00001850| 61 73 20 69 6e 74 65 67 | 65 72 2c 20 70 63 74 20 |as integ|er, pct |
|00001860| 61 73 20 73 69 6e 67 6c | 65 2c 20 62 70 73 20 61 |as singl|e, bps a|
|00001870| 73 20 69 6e 74 65 67 65 | 72 29 11 64 69 6d 20 74 |s intege|r).dim t|
|00001880| 78 74 20 61 73 20 73 74 | 72 69 6e 67 0f 69 66 20 |xt as st|ring.if |
|00001890| 54 6f 74 61 6c 3e 31 20 | 74 68 65 6e 2f 74 78 74 |Total>1 |then/txt|
|000018a0| 3d 6d 65 2e 46 6f 72 6d | 61 74 53 69 7a 65 28 61 |=me.Form|atSize(a|
|000018b0| 6d 74 29 2b 22 2f 22 2b | 6d 65 2e 46 6f 72 6d 61 |mt)+"/"+|me.Forma|
|000018c0| 74 53 69 7a 65 28 74 6f | 74 61 6c 29 25 74 78 74 |tSize(to|tal)%txt|
|000018d0| 3d 74 78 74 2b 22 20 28 | 22 2b 73 74 72 28 66 6c |=txt+" (|"+str(fl|
|000018e0| 6f 6f 72 28 50 63 74 2a | 31 30 30 29 29 2b 22 25 |oor(Pct*|100))+"%|
|000018f0| 29 22 29 74 78 74 3d 74 | 78 74 2b 22 20 61 74 20 |)")txt=t|xt+" at |
|00001900| 22 2b 6d 65 2e 46 6f 72 | 6d 61 74 53 69 7a 65 28 |"+me.For|matSize(|
|00001910| 62 70 73 29 2b 22 2f 73 | 65 63 2e 22 14 53 74 61 |bps)+"/s|ec.".Sta|
|00001920| 74 69 63 54 65 78 74 32 | 2e 54 65 78 74 3d 74 78 |ticText2|.Text=tx|
|00001930| 74 13 69 66 20 74 6f 74 | 61 6c 3c 32 35 30 30 30 |t.if tot|al<25000|
|00001940| 20 74 68 65 6e 1a 50 72 | 6f 67 72 65 73 73 42 61 | then.Pr|ogressBa|
|00001950| 72 31 2e 4d 61 78 69 6d | 75 6d 3d 74 6f 74 61 6c |r1.Maxim|um=total|
|00001960| 16 50 72 6f 67 72 65 73 | 73 42 61 72 31 2e 56 61 |.Progres|sBar1.Va|
|00001970| 6c 75 65 3d 61 6d 74 04 | 65 6c 73 65 1e 50 72 6f |lue=amt.|else.Pro|
|00001980| 67 72 65 73 73 42 61 72 | 31 2e 4d 61 78 69 6d 75 |gressBar|1.Maximu|
|00001990| 6d 3d 74 6f 74 61 6c 2f | 31 30 30 1a 50 72 6f 67 |m=total/|100.Prog|
|000019a0| 72 65 73 73 42 61 72 31 | 2e 56 61 6c 75 65 3d 61 |ressBar1|.Value=a|
|000019b0| 6d 74 2f 31 30 30 06 65 | 6e 64 20 69 66 04 65 6c |mt/100.e|nd if.el|
|000019c0| 73 65 85 01 53 74 61 74 | 69 63 54 65 78 74 32 2e |se..Stat|icText2.|
|000019d0| 54 65 78 74 3d 6d 65 2e | 46 6f 72 6d 61 74 53 69 |Text=me.|FormatSi|
|000019e0| 7a 65 28 61 6d 74 29 2b | 22 20 61 74 20 22 2b 6d |ze(amt)+|" at "+m|
|000019f0| 65 2e 46 6f 72 6d 61 74 | 53 69 7a 65 28 62 70 73 |e.Format|Size(bps|
|00001a00| 29 2b 22 2f 73 65 63 2e | 22 16 50 72 6f 67 72 65 |)+"/sec.|".Progre|
|00001a10| 73 73 42 61 72 31 2e 4d | 61 78 69 6d 75 6d 3d 30 |ssBar1.M|aximum=0|
|00001a20| 06 65 6e 64 20 69 66 07 | 45 6e 64 20 53 75 62 0a |.end if.|End Sub.|
|00001a30| 44 4c 46 69 6e 69 73 68 | 65 64 16 14 16 14 18 92 |DLFinish|ed......|
|00001a40| 01 53 75 62 20 44 4c 46 | 69 6e 69 73 68 65 64 28 |.Sub DLF|inished(|
|00001a50| 66 20 61 73 20 66 6f 6c | 64 65 72 69 74 65 6d 2c |f as fol|deritem,|
|00001a60| 20 74 78 74 20 61 73 20 | 73 74 72 69 6e 67 2c 20 | txt as |string, |
|00001a70| 70 69 63 20 61 73 20 70 | 69 63 74 75 72 65 2c 20 |pic as p|icture, |
|00001a80| 66 69 6c 65 74 79 70 65 | 20 61 73 20 73 74 72 69 |filetype| as stri|
|00001a90| 6e 67 29 10 64 69 6d 20 | 64 20 61 73 20 64 69 61 |ng).dim |d as dia|
|00001aa0| 6c 6f 67 31 1c 53 74 61 | 74 69 63 54 65 78 74 32 |log1.Sta|ticText2|
|00001ab0| 2e 54 65 78 74 3d 22 46 | 69 6e 69 73 68 65 64 21 |.Text="F|inished!|
|00001ac0| 22 07 27 72 65 74 75 72 | 6e 0f 69 66 20 70 69 63 |".'retur|n.if pic|
|00001ad0| 3d 6e 69 6c 20 74 68 65 | 6e 20 69 66 20 6c 65 66 |=nil the|n if lef|
|00001ae0| 74 28 66 69 6c 65 74 79 | 70 65 2c 20 34 29 3d 22 |t(filety|pe, 4)="|
|00001af0| 74 65 78 74 22 20 74 68 | 65 6e 16 69 66 20 6c 65 |text" th|en.if le|
|00001b00| 6e 28 74 78 74 29 3c 33 | 32 37 30 30 20 74 68 65 |n(txt)<3|2700 the|
|00001b10| 6e 31 45 64 69 74 46 69 | 65 6c 64 32 2e 54 65 78 |n1EditFi|eld2.Tex|
|00001b20| 74 3d 72 65 70 6c 61 63 | 65 41 6c 6c 28 74 78 74 |t=replac|eAll(txt|
|00001b30| 2c 20 63 68 72 28 31 30 | 29 2c 20 63 68 72 28 31 |, chr(10|), chr(1|
|00001b40| 33 29 29 06 65 6e 64 20 | 69 66 13 65 6c 73 65 69 |3)).end |if.elsei|
|00001b50| 66 20 74 78 74 3c 3e 22 | 22 20 74 68 65 6e 33 45 |f txt<>"|" then3E|
|00001b60| 64 69 74 46 69 65 6c 64 | 32 2e 54 65 78 74 3d 22 |ditField|2.Text="|
|00001b70| 55 6e 73 75 70 70 6f 72 | 74 65 64 20 66 6f 72 6d |Unsuppor|ted form|
|00001b80| 61 74 20 28 22 2b 66 69 | 6c 65 74 79 70 65 2b 22 |at ("+fi|letype+"|
|00001b90| 29 22 12 65 6c 73 65 69 | 66 20 66 3c 3e 6e 69 6c |)".elsei|f f<>nil|
|00001ba0| 20 74 68 65 6e 84 01 45 | 64 69 74 46 69 65 6c 64 | then..E|ditField|
|00001bb0| 32 2e 54 65 78 74 3d 22 | 54 68 65 20 66 69 6c 65 |2.Text="|The file|
|00001bc0| 20 68 61 73 20 62 65 65 | 6e 20 64 6f 77 6e 6c 6f | has bee|n downlo|
|00001bd0| 61 64 65 64 20 74 6f 3a | 20 22 20 2b 20 66 2e 41 |aded to:| " + f.A|
|00001be0| 62 73 6f 6c 75 74 65 50 | 61 74 68 06 65 6e 64 20 |bsoluteP|ath.end |
|00001bf0| 69 66 04 65 6c 73 65 0d | 64 3d 6e 65 77 20 64 69 |if.else.|d=new di|
|00001c00| 61 6c 6f 67 31 11 64 2e | 57 69 64 74 68 3d 70 69 |alog1.d.|Width=pi|
|00001c10| 63 2e 57 69 64 74 68 13 | 64 2e 48 65 69 67 68 74 |c.Width.|d.Height|
|00001c20| 3d 70 69 63 2e 48 65 69 | 67 68 74 0e 64 2e 42 61 |=pic.Hei|ght.d.Ba|
|00001c30| 63 6b 44 72 6f 70 3d 70 | 69 63 06 64 2e 53 68 6f |ckDrop=p|ic.d.Sho|
|00001c40| 77 06 65 6e 64 20 69 66 | 16 50 72 6f 67 72 65 73 |w.end if|.Progres|
|00001c50| 73 42 61 72 31 2e 4d 61 | 78 69 6d 75 6d 3d 31 14 |sBar1.Ma|ximum=1.|
|00001c60| 50 72 6f 67 72 65 73 73 | 42 61 72 31 2e 56 61 6c |Progress|Bar1.Val|
|00001c70| 75 65 3d 31 07 45 6e 64 | 20 53 75 62 09 43 6f 6e |ue=1.End| Sub.Con|
|00001c80| 6e 65 63 74 65 64 01 0f | 01 0f 03 0f 53 75 62 20 |nected..|....Sub |
|00001c90| 43 6f 6e 6e 65 63 74 65 | 64 28 29 1e 53 74 61 74 |Connecte|d().Stat|
|00001ca0| 69 63 54 65 78 74 32 2e | 54 65 78 74 3d 22 63 6f |icText2.|Text="co|
|00001cb0| 6e 6e 6e 65 63 74 65 64 | 2e 22 07 45 6e 64 20 53 |nnnected|.".End S|
|00001cc0| 75 62 00 00 07 00 00 80 | 02 08 43 68 65 63 6b 42 |ub......|..CheckB|
|00001cd0| 6f 78 00 00 00 00 01 06 | 41 63 74 69 6f 6e 01 00 |ox......|Action..|
|00001ce0| 01 00 03 0c 53 75 62 20 | 41 63 74 69 6f 6e 28 29 |....Sub |Action()|
|00001cf0| 00 07 45 6e 64 20 53 75 | 62 00 00 07 00 00 88 02 |..End Su|b.......|
|00001d00| 09 45 64 69 74 46 69 65 | 6c 64 00 00 00 00 00 00 |.EditFie|ld......|
|00001d10| 00 07 00 00 b4 01 0a 50 | 75 73 68 42 75 74 74 6f |.......P|ushButto|
|00001d20| 6e 00 00 00 00 01 06 41 | 63 74 69 6f 6e 07 15 07 |n......A|ction...|
|00001d30| 15 0a 0c 53 75 62 20 41 | 63 74 69 6f 6e 28 29 1e |...Sub A|ction().|
|00001d40| 69 66 20 6e 6f 74 20 6b | 65 79 62 6f 61 72 64 2e |if not k|eyboard.|
|00001d50| 6f 70 74 69 6f 6e 4b 65 | 79 20 74 68 65 6e 10 68 |optionKe|y then.h|
|00001d60| 74 74 70 53 6f 63 6b 65 | 74 2e 43 4c 6f 73 65 16 |ttpSocke|t.CLose.|
|00001d70| 50 72 6f 67 72 65 73 73 | 42 61 72 31 2e 4d 61 78 |Progress|Bar1.Max|
|00001d80| 69 6d 75 6d 3d 31 14 50 | 72 6f 67 72 65 73 73 42 |imum=1.P|rogressB|
|00001d90| 61 72 31 2e 56 61 6c 75 | 65 3d 31 1c 53 74 61 74 |ar1.Valu|e=1.Stat|
|00001da0| 69 63 54 65 78 74 32 2e | 54 65 78 74 3d 22 43 61 |icText2.|Text="Ca|
|00001db0| 6e 63 65 6c 6c 65 64 22 | 04 65 6c 73 65 39 54 78 |ncelled"|.else9Tx|
|00001dc0| 74 50 72 6f 78 79 2e 54 | 65 78 74 3d 68 74 74 70 |tProxy.T|ext=http|
|00001dd0| 53 6f 63 6b 65 74 2e 46 | 6f 72 6d 61 74 53 69 7a |Socket.F|ormatSiz|
|00001de0| 65 28 76 61 6c 28 45 64 | 69 74 46 49 65 6c 64 31 |e(val(Ed|itFIeld1|
|00001df0| 2e 74 65 78 74 29 29 06 | 65 6e 64 20 69 66 07 45 |.text)).|end if.E|
|00001e00| 6e 64 20 53 75 62 00 00 | 0d 09 45 64 69 74 46 69 |nd Sub..|..EditFi|
|00001e10| 65 6c 64 20 04 4e 61 6d | 65 0a 45 64 69 74 46 69 |eld .Nam|e.EditFi|
|00001e20| 65 6c 64 31 05 49 6e 64 | 65 78 0b 2d 32 31 34 37 |eld1.Ind|ex.-2147|
|00001e30| 34 38 33 36 34 38 0d 54 | 61 62 50 61 6e 65 6c 49 |483648.T|abPanelI|
|00001e40| 6e 64 65 78 01 30 07 56 | 69 73 69 62 6c 65 04 54 |ndex.0.V|isible.T|
|00001e50| 72 75 65 04 4c 65 66 74 | 02 34 37 03 54 6f 70 01 |rue.Left|.47.Top.|
|00001e60| 38 05 57 69 64 74 68 03 | 34 33 36 06 48 65 69 67 |8.Width.|436.Heig|
|00001e70| 68 74 02 32 32 0b 42 61 | 6c 6c 6f 6f 6e 48 65 6c |ht.22.Ba|lloonHel|
|00001e80| 70 00 13 44 69 73 61 62 | 6c 65 64 42 61 6c 6c 6f |p..Disab|ledBallo|
|00001e90| 6f 6e 48 65 6c 70 00 08 | 4c 6f 63 6b 4c 65 66 74 |onHelp..|LockLeft|
|00001ea0| 05 46 61 6c 73 65 07 4c | 6f 63 6b 54 6f 70 05 46 |.False.L|ockTop.F|
|00001eb0| 61 6c 73 65 09 4c 6f 63 | 6b 52 69 67 68 74 05 46 |alse.Loc|kRight.F|
|00001ec0| 61 6c 73 65 0a 4c 6f 63 | 6b 42 6f 74 74 6f 6d 05 |alse.Loc|kBottom.|
|00001ed0| 46 61 6c 73 65 08 54 65 | 78 74 46 6f 6e 74 06 47 |False.Te|xtFont.G|
|00001ee0| 65 6e 65 76 61 08 54 65 | 78 74 53 69 7a 65 01 39 |eneva.Te|xtSize.9|
|00001ef0| 04 42 6f 6c 64 05 46 61 | 6c 73 65 06 49 74 61 6c |.Bold.Fa|lse.Ital|
|00001f00| 69 63 05 46 61 6c 73 65 | 09 55 6e 64 65 72 6c 69 |ic.False|.Underli|
|00001f10| 6e 65 05 46 61 6c 73 65 | 06 42 6f 72 64 65 72 04 |ne.False|.Border.|
|00001f20| 54 72 75 65 09 4d 75 6c | 74 69 4c 69 6e 65 05 46 |True.Mul|tiLine.F|
|00001f30| 61 6c 73 65 09 53 63 72 | 6f 6c 6c 42 61 72 04 54 |alse.Scr|ollBar.T|
|00001f40| 72 75 65 06 53 74 79 6c | 65 64 05 46 61 6c 73 65 |rue.Styl|ed.False|
|00001f50| 08 50 61 73 73 77 6f 72 | 64 05 46 61 6c 73 65 0c |.Passwor|d.False.|
|00001f60| 55 73 65 46 6f 63 75 73 | 52 69 6e 67 04 54 72 75 |UseFocus|Ring.Tru|
|00001f70| 65 08 52 65 61 64 4f 6e | 6c 79 05 46 61 6c 73 65 |e.ReadOn|ly.False|
|00001f80| 09 4c 69 6d 69 74 54 65 | 78 74 01 30 0a 41 63 63 |.LimitTe|xt.0.Acc|
|00001f90| 65 70 74 54 61 62 73 05 | 46 61 6c 73 65 09 54 65 |eptTabs.|False.Te|
|00001fa0| 78 74 43 6f 6c 6f 72 01 | 30 09 42 61 63 6b 43 6f |xtColor.|0.BackCo|
|00001fb0| 6c 6f 72 08 31 36 37 37 | 37 32 31 35 07 45 6e 61 |lor.1677|7215.Ena|
|00001fc0| 62 6c 65 64 04 54 72 75 | 65 04 54 65 78 74 00 00 |bled.Tru|e.Text..|
|00001fd0| 0a 50 75 73 68 42 75 74 | 74 6f 6e 17 04 4e 61 6d |.PushBut|ton..Nam|
|00001fe0| 65 0b 50 75 73 68 42 75 | 74 74 6f 6e 31 05 49 6e |e.PushBu|tton1.In|
|00001ff0| 64 65 78 0b 2d 32 31 34 | 37 34 38 33 36 34 38 0d |dex.-214|7483648.|
|00002000| 54 61 62 50 61 6e 65 6c | 49 6e 64 65 78 01 30 07 |TabPanel|Index.0.|
|00002010| 56 69 73 69 62 6c 65 04 | 54 72 75 65 04 4c 65 66 |Visible.|True.Lef|
|00002020| 74 03 33 38 37 03 54 6f | 70 02 33 39 05 57 69 64 |t.387.To|p.39.Wid|
|00002030| 74 68 02 37 31 06 48 65 | 69 67 68 74 02 32 30 0b |th.71.He|ight.20.|
|00002040| 42 61 6c 6c 6f 6f 6e 48 | 65 6c 70 00 13 44 69 73 |BalloonH|elp..Dis|
|00002050| 61 62 6c 65 64 42 61 6c | 6c 6f 6f 6e 48 65 6c 70 |abledBal|loonHelp|
|00002060| 00 08 4c 6f 63 6b 4c 65 | 66 74 05 46 61 6c 73 65 |..LockLe|ft.False|
|00002070| 07 4c 6f 63 6b 54 6f 70 | 05 46 61 6c 73 65 09 4c |.LockTop|.False.L|
|00002080| 6f 63 6b 52 69 67 68 74 | 05 46 61 6c 73 65 0a 4c |ockRight|.False.L|
|00002090| 6f 63 6b 42 6f 74 74 6f | 6d 05 46 61 6c 73 65 08 |ockBotto|m.False.|
|000020a0| 54 65 78 74 46 6f 6e 74 | 06 47 65 6e 65 76 61 08 |TextFont|.Geneva.|
|000020b0| 54 65 78 74 53 69 7a 65 | 01 39 04 42 6f 6c 64 05 |TextSize|.9.Bold.|
|000020c0| 46 61 6c 73 65 06 49 74 | 61 6c 69 63 05 46 61 6c |False.It|alic.Fal|
|000020d0| 73 65 09 55 6e 64 65 72 | 6c 69 6e 65 05 46 61 6c |se.Under|line.Fal|
|000020e0| 73 65 07 43 61 70 74 69 | 6f 6e 0c 44 6f 77 6e 6c |se.Capti|on.Downl|
|000020f0| 6f 61 64 20 49 74 21 07 | 44 65 66 61 75 6c 74 05 |oad It!.|Default.|
|00002100| 46 61 6c 73 65 06 43 61 | 6e 63 65 6c 05 46 61 6c |False.Ca|ncel.Fal|
|00002110| 73 65 07 45 6e 61 62 6c | 65 64 04 54 72 75 65 01 |se.Enabl|ed.True.|
|00002120| 09 45 64 69 74 46 69 65 | 6c 64 20 04 4e 61 6d 65 |.EditFie|ld .Name|
|00002130| 0a 45 64 69 74 46 69 65 | 6c 64 32 05 49 6e 64 65 |.EditFie|ld2.Inde|
|00002140| 78 0b 2d 32 31 34 37 34 | 38 33 36 34 38 0d 54 61 |x.-21474|83648.Ta|
|00002150| 62 50 61 6e 65 6c 49 6e | 64 65 78 01 30 07 56 69 |bPanelIn|dex.0.Vi|
|00002160| 73 69 62 6c 65 04 54 72 | 75 65 04 4c 65 66 74 02 |sible.Tr|ue.Left.|
|00002170| 31 33 03 54 6f 70 02 36 | 38 05 57 69 64 74 68 03 |13.Top.6|8.Width.|
|00002180| 35 31 31 06 48 65 69 67 | 68 74 03 32 32 36 0b 42 |511.Heig|ht.226.B|
|00002190| 61 6c 6c 6f 6f 6e 48 65 | 6c 70 00 13 44 69 73 61 |alloonHe|lp..Disa|
|000021a0| 62 6c 65 64 42 61 6c 6c | 6f 6f 6e 48 65 6c 70 00 |bledBall|oonHelp.|
|000021b0| 08 4c 6f 63 6b 4c 65 66 | 74 05 46 61 6c 73 65 07 |.LockLef|t.False.|
|000021c0| 4c 6f 63 6b 54 6f 70 05 | 46 61 6c 73 65 09 4c 6f |LockTop.|False.Lo|
|000021d0| 63 6b 52 69 67 68 74 05 | 46 61 6c 73 65 0a 4c 6f |ckRight.|False.Lo|
|000021e0| 63 6b 42 6f 74 74 6f 6d | 05 46 61 6c 73 65 08 54 |ckBottom|.False.T|
|000021f0| 65 78 74 46 6f 6e 74 06 | 47 65 6e 65 76 61 08 54 |extFont.|Geneva.T|
|00002200| 65 78 74 53 69 7a 65 01 | 39 04 42 6f 6c 64 05 46 |extSize.|9.Bold.F|
|00002210| 61 6c 73 65 06 49 74 61 | 6c 69 63 05 46 61 6c 73 |alse.Ita|lic.Fals|
|00002220| 65 09 55 6e 64 65 72 6c | 69 6e 65 05 46 61 6c 73 |e.Underl|ine.Fals|
|00002230| 65 06 42 6f 72 64 65 72 | 04 54 72 75 65 09 4d 75 |e.Border|.True.Mu|
|00002240| 6c 74 69 4c 69 6e 65 04 | 54 72 75 65 09 53 63 72 |ltiLine.|True.Scr|
|00002250| 6f 6c 6c 42 61 72 04 54 | 72 75 65 06 53 74 79 6c |ollBar.T|rue.Styl|
|00002260| 65 64 04 54 72 75 65 08 | 50 61 73 73 77 6f 72 64 |ed.True.|Password|
|00002270| 05 46 61 6c 73 65 0c 55 | 73 65 46 6f 63 75 73 52 |.False.U|seFocusR|
|00002280| 69 6e 67 04 54 72 75 65 | 08 52 65 61 64 4f 6e 6c |ing.True|.ReadOnl|
|00002290| 79 04 54 72 75 65 09 4c | 69 6d 69 74 54 65 78 74 |y.True.L|imitText|
|000022a0| 01 30 0a 41 63 63 65 70 | 74 54 61 62 73 05 46 61 |.0.Accep|tTabs.Fa|
|000022b0| 6c 73 65 09 54 65 78 74 | 43 6f 6c 6f 72 01 30 09 |lse.Text|Color.0.|
|000022c0| 42 61 63 6b 43 6f 6c 6f | 72 08 31 36 37 37 37 32 |BackColo|r.167772|
|000022d0| 31 35 07 45 6e 61 62 6c | 65 64 04 54 72 75 65 04 |15.Enabl|ed.True.|
|000022e0| 54 65 78 74 00 02 0a 53 | 74 61 74 69 63 54 65 78 |Text...S|taticTex|
|000022f0| 74 17 04 4e 61 6d 65 0b | 53 74 61 74 69 63 54 65 |t..Name.|StaticTe|
|00002300| 78 74 31 05 49 6e 64 65 | 78 0b 2d 32 31 34 37 34 |xt1.Inde|x.-21474|
|00002310| 38 33 36 34 38 0d 54 61 | 62 50 61 6e 65 6c 49 6e |83648.Ta|bPanelIn|
|00002320| 64 65 78 01 30 07 56 69 | 73 69 62 6c 65 04 54 72 |dex.0.Vi|sible.Tr|
|00002330| 75 65 04 4c 65 66 74 02 | 31 38 03 54 6f 70 02 33 |ue.Left.|18.Top.3|
|00002340| 39 05 57 69 64 74 68 02 | 35 36 06 48 65 69 67 68 |9.Width.|56.Heigh|
|00002350| 74 02 31 36 0b 42 61 6c | 6c 6f 6f 6e 48 65 6c 70 |t.16.Bal|loonHelp|
|00002360| 00 13 44 69 73 61 62 6c | 65 64 42 61 6c 6c 6f 6f |..Disabl|edBalloo|
|00002370| 6e 48 65 6c 70 00 08 4c | 6f 63 6b 4c 65 66 74 05 |nHelp..L|ockLeft.|
|00002380| 46 61 6c 73 65 07 4c 6f | 63 6b 54 6f 70 05 46 61 |False.Lo|ckTop.Fa|
|00002390| 6c 73 65 09 4c 6f 63 6b | 52 69 67 68 74 05 46 61 |lse.Lock|Right.Fa|
|000023a0| 6c 73 65 0a 4c 6f 63 6b | 42 6f 74 74 6f 6d 05 46 |lse.Lock|Bottom.F|
|000023b0| 61 6c 73 65 08 54 65 78 | 74 46 6f 6e 74 06 47 65 |alse.Tex|tFont.Ge|
|000023c0| 6e 65 76 61 08 54 65 78 | 74 53 69 7a 65 01 39 04 |neva.Tex|tSize.9.|
|000023d0| 42 6f 6c 64 04 54 72 75 | 65 06 49 74 61 6c 69 63 |Bold.Tru|e.Italic|
|000023e0| 05 46 61 6c 73 65 09 55 | 6e 64 65 72 6c 69 6e 65 |.False.U|nderline|
|000023f0| 05 46 61 6c 73 65 04 54 | 65 78 74 07 53 74 61 74 |.False.T|ext.Stat|
|00002400| 75 73 3a 09 54 65 78 74 | 41 6c 69 67 6e 01 30 09 |us:.Text|Align.0.|
|00002410| 54 65 78 74 43 6f 6c 6f | 72 01 30 09 4d 75 6c 74 |TextColo|r.0.Mult|
|00002420| 69 4c 69 6e 65 05 46 61 | 6c 73 65 03 0a 53 74 61 |iLine.Fa|lse..Sta|
|00002430| 74 69 63 54 65 78 74 17 | 04 4e 61 6d 65 0b 53 74 |ticText.|.Name.St|
|00002440| 61 74 69 63 54 65 78 74 | 32 05 49 6e 64 65 78 0b |aticText|2.Index.|
|00002450| 2d 32 31 34 37 34 38 33 | 36 34 38 0d 54 61 62 50 |-2147483|648.TabP|
|00002460| 61 6e 65 6c 49 6e 64 65 | 78 01 30 07 56 69 73 69 |anelInde|x.0.Visi|
|00002470| 62 6c 65 04 54 72 75 65 | 04 4c 65 66 74 02 36 32 |ble.True|.Left.62|
|00002480| 03 54 6f 70 02 33 39 05 | 57 69 64 74 68 03 31 35 |.Top.39.|Width.15|
|00002490| 36 06 48 65 69 67 68 74 | 02 31 37 0b 42 61 6c 6c |6.Height|.17.Ball|
|000024a0| 6f 6f 6e 48 65 6c 70 00 | 13 44 69 73 61 62 6c 65 |oonHelp.|.Disable|
|000024b0| 64 42 61 6c 6c 6f 6f 6e | 48 65 6c 70 00 08 4c 6f |dBalloon|Help..Lo|
|000024c0| 63 6b 4c 65 66 74 05 46 | 61 6c 73 65 07 4c 6f 63 |ckLeft.F|alse.Loc|
|000024d0| 6b 54 6f 70 05 46 61 6c | 73 65 09 4c 6f 63 6b 52 |kTop.Fal|se.LockR|
|000024e0| 69 67 68 74 05 46 61 6c | 73 65 0a 4c 6f 63 6b 42 |ight.Fal|se.LockB|
|000024f0| 6f 74 74 6f 6d 05 46 61 | 6c 73 65 08 54 65 78 74 |ottom.Fa|lse.Text|
|00002500| 46 6f 6e 74 06 47 65 6e | 65 76 61 08 54 65 78 74 |Font.Gen|eva.Text|
|00002510| 53 69 7a 65 01 39 04 42 | 6f 6c 64 05 46 61 6c 73 |Size.9.B|old.Fals|
|00002520| 65 06 49 74 61 6c 69 63 | 05 46 61 6c 73 65 09 55 |e.Italic|.False.U|
|00002530| 6e 64 65 72 6c 69 6e 65 | 05 46 61 6c 73 65 04 54 |nderline|.False.T|
|00002540| 65 78 74 0d 4e 6f 74 20 | 43 6f 6e 6e 65 63 74 65 |ext.Not |Connecte|
|00002550| 64 09 54 65 78 74 41 6c | 69 67 6e 01 30 09 54 65 |d.TextAl|ign.0.Te|
|00002560| 78 74 43 6f 6c 6f 72 01 | 30 09 4d 75 6c 74 69 4c |xtColor.|0.MultiL|
|00002570| 69 6e 65 05 46 61 6c 73 | 65 04 0a 50 75 73 68 42 |ine.Fals|e..PushB|
|00002580| 75 74 74 6f 6e 17 04 4e | 61 6d 65 0b 50 75 73 68 |utton..N|ame.Push|
|00002590| 42 75 74 74 6f 6e 32 05 | 49 6e 64 65 78 0b 2d 32 |Button2.|Index.-2|
|000025a0| 31 34 37 34 38 33 36 34 | 38 0d 54 61 62 50 61 6e |14748364|8.TabPan|
|000025b0| 65 6c 49 6e 64 65 78 01 | 30 07 56 69 73 69 62 6c |elIndex.|0.Visibl|
|000025c0| 65 04 54 72 75 65 04 4c | 65 66 74 03 34 36 36 03 |e.True.L|eft.466.|
|000025d0| 54 6f 70 02 33 39 05 57 | 69 64 74 68 02 36 30 06 |Top.39.W|idth.60.|
|000025e0| 48 65 69 67 68 74 02 32 | 30 0b 42 61 6c 6c 6f 6f |Height.2|0.Balloo|
|000025f0| 6e 48 65 6c 70 00 13 44 | 69 73 61 62 6c 65 64 42 |nHelp..D|isabledB|
|00002600| 61 6c 6c 6f 6f 6e 48 65 | 6c 70 00 08 4c 6f 63 6b |alloonHe|lp..Lock|
|00002610| 4c 65 66 74 05 46 61 6c | 73 65 07 4c 6f 63 6b 54 |Left.Fal|se.LockT|
|00002620| 6f 70 05 46 61 6c 73 65 | 09 4c 6f 63 6b 52 69 67 |op.False|.LockRig|
|00002630| 68 74 05 46 61 6c 73 65 | 0a 4c 6f 63 6b 42 6f 74 |ht.False|.LockBot|
|00002640| 74 6f 6d 05 46 61 6c 73 | 65 08 54 65 78 74 46 6f |tom.Fals|e.TextFo|
|00002650| 6e 74 06 47 65 6e 65 76 | 61 08 54 65 78 74 53 69 |nt.Genev|a.TextSi|
|00002660| 7a 65 01 39 04 42 6f 6c | 64 05 46 61 6c 73 65 06 |ze.9.Bol|d.False.|
|00002670| 49 74 61 6c 69 63 05 46 | 61 6c 73 65 09 55 6e 64 |Italic.F|alse.Und|
|00002680| 65 72 6c 69 6e 65 05 46 | 61 6c 73 65 07 43 61 70 |erline.F|alse.Cap|
|00002690| 74 69 6f 6e 07 47 65 74 | 20 49 74 21 07 44 65 66 |tion.Get| It!.Def|
|000026a0| 61 75 6c 74 04 54 72 75 | 65 06 43 61 6e 63 65 6c |ault.Tru|e.Cancel|
|000026b0| 05 46 61 6c 73 65 07 45 | 6e 61 62 6c 65 64 04 54 |.False.E|nabled.T|
|000026c0| 72 75 65 05 09 50 6f 70 | 75 70 4d 65 6e 75 15 04 |rue..Pop|upMenu..|
|000026d0| 4e 61 6d 65 0a 50 6f 70 | 75 70 4d 65 6e 75 31 05 |Name.Pop|upMenu1.|
|000026e0| 49 6e 64 65 78 0b 2d 32 | 31 34 37 34 38 33 36 34 |Index.-2|14748364|
|000026f0| 38 0d 54 61 62 50 61 6e | 65 6c 49 6e 64 65 78 01 |8.TabPan|elIndex.|
|00002700| 30 07 56 69 73 69 62 6c | 65 04 54 72 75 65 04 4c |0.Visibl|e.True.L|
|00002710| 65 66 74 03 34 39 33 03 | 54 6f 70 01 39 05 57 69 |eft.493.|Top.9.Wi|
|00002720| 64 74 68 02 33 33 06 48 | 65 69 67 68 74 02 32 30 |dth.33.H|eight.20|
|00002730| 0b 42 61 6c 6c 6f 6f 6e | 48 65 6c 70 00 13 44 69 |.Balloon|Help..Di|
|00002740| 73 61 62 6c 65 64 42 61 | 6c 6c 6f 6f 6e 48 65 6c |sabledBa|lloonHel|
|00002750| 70 00 08 4c 6f 63 6b 4c | 65 66 74 05 46 61 6c 73 |p..LockL|eft.Fals|
|00002760| 65 07 4c 6f 63 6b 54 6f | 70 05 46 61 6c 73 65 09 |e.LockTo|p.False.|
|00002770| 4c 6f 63 6b 52 69 67 68 | 74 05 46 61 6c 73 65 0a |LockRigh|t.False.|
|00002780| 4c 6f 63 6b 42 6f 74 74 | 6f 6d 05 46 61 6c 73 65 |LockBott|om.False|
|00002790| 08 54 65 78 74 46 6f 6e | 74 06 53 79 73 74 65 6d |.TextFon|t.System|
|000027a0| 08 54 65 78 74 53 69 7a | 65 02 31 32 04 42 6f 6c |.TextSiz|e.12.Bol|
|000027b0| 64 05 46 61 6c 73 65 06 | 49 74 61 6c 69 63 05 46 |d.False.|Italic.F|
|000027c0| 61 6c 73 65 09 55 6e 64 | 65 72 6c 69 6e 65 05 46 |alse.Und|erline.F|
|000027d0| 61 6c 73 65 07 45 6e 61 | 62 6c 65 64 04 54 72 75 |alse.Ena|bled.Tru|
|000027e0| 65 0c 49 6e 69 74 69 61 | 6c 56 61 6c 75 65 00 06 |e.Initia|lValue..|
|000027f0| 0b 50 72 6f 67 72 65 73 | 73 42 61 72 10 04 4e 61 |.Progres|sBar..Na|
|00002800| 6d 65 0c 50 72 6f 67 72 | 65 73 73 42 61 72 31 05 |me.Progr|essBar1.|
|00002810| 49 6e 64 65 78 0b 2d 32 | 31 34 37 34 38 33 36 34 |Index.-2|14748364|
|00002820| 38 0d 54 61 62 50 61 6e | 65 6c 49 6e 64 65 78 01 |8.TabPan|elIndex.|
|00002830| 30 07 56 69 73 69 62 6c | 65 04 54 72 75 65 04 4c |0.Visibl|e.True.L|
|00002840| 65 66 74 03 32 32 30 03 | 54 6f 70 02 34 33 05 57 |eft.220.|Top.43.W|
|00002850| 69 64 74 68 03 31 31 31 | 06 48 65 69 67 68 74 02 |idth.111|.Height.|
|00002860| 31 32 0b 42 61 6c 6c 6f | 6f 6e 48 65 6c 70 00 13 |12.Ballo|onHelp..|
|00002870| 44 69 73 61 62 6c 65 64 | 42 61 6c 6c 6f 6f 6e 48 |Disabled|BalloonH|
|00002880| 65 6c 70 00 08 4c 6f 63 | 6b 4c 65 66 74 05 46 61 |elp..Loc|kLeft.Fa|
|00002890| 6c 73 65 07 4c 6f 63 6b | 54 6f 70 05 46 61 6c 73 |lse.Lock|Top.Fals|
|000028a0| 65 09 4c 6f 63 6b 52 69 | 67 68 74 05 46 61 6c 73 |e.LockRi|ght.Fals|
|000028b0| 65 0a 4c 6f 63 6b 42 6f | 74 74 6f 6d 05 46 61 6c |e.LockBo|ttom.Fal|
|000028c0| 73 65 05 56 61 6c 75 65 | 01 30 07 4d 61 78 69 6d |se.Value|.0.Maxim|
|000028d0| 75 6d 03 31 30 30 07 06 | 53 6f 63 6b 65 74 06 04 |um.100..|Socket..|
|000028e0| 4e 61 6d 65 0a 68 74 74 | 70 53 6f 63 6b 65 74 05 |Name.htt|pSocket.|
|000028f0| 49 6e 64 65 78 0b 2d 32 | 31 34 37 34 38 33 36 34 |Index.-2|14748364|
|00002900| 38 04 4c 65 66 74 02 2d | 32 03 54 6f 70 03 31 31 |8.Left.-|2.Top.11|
|00002910| 31 07 41 64 64 72 65 73 | 73 00 04 50 6f 72 74 01 |1.Addres|s..Port.|
|00002920| 30 09 0a 53 74 61 74 69 | 63 54 65 78 74 17 04 4e |0..Stati|cText..N|
|00002930| 61 6d 65 0b 53 74 61 74 | 69 63 54 65 78 74 33 05 |ame.Stat|icText3.|
|00002940| 49 6e 64 65 78 0b 2d 32 | 31 34 37 34 38 33 36 34 |Index.-2|14748364|
|00002950| 38 0d 54 61 62 50 61 6e | 65 6c 49 6e 64 65 78 01 |8.TabPan|elIndex.|
|00002960| 30 07 56 69 73 69 62 6c | 65 04 54 72 75 65 04 4c |0.Visibl|e.True.L|
|00002970| 65 66 74 02 31 38 03 54 | 6f 70 02 31 30 05 57 69 |eft.18.T|op.10.Wi|
|00002980| 64 74 68 02 33 31 06 48 | 65 69 67 68 74 02 31 36 |dth.31.H|eight.16|
|00002990| 0b 42 61 6c 6c 6f 6f 6e | 48 65 6c 70 00 13 44 69 |.Balloon|Help..Di|
|000029a0| 73 61 62 6c 65 64 42 61 | 6c 6c 6f 6f 6e 48 65 6c |sabledBa|lloonHel|
|000029b0| 70 00 08 4c 6f 63 6b 4c | 65 66 74 05 46 61 6c 73 |p..LockL|eft.Fals|
|000029c0| 65 07 4c 6f 63 6b 54 6f | 70 05 46 61 6c 73 65 09 |e.LockTo|p.False.|
|000029d0| 4c 6f 63 6b 52 69 67 68 | 74 05 46 61 6c 73 65 0a |LockRigh|t.False.|
|000029e0| 4c 6f 63 6b 42 6f 74 74 | 6f 6d 05 46 61 6c 73 65 |LockBott|om.False|
|000029f0| 08 54 65 78 74 46 6f 6e | 74 06 53 79 73 74 65 6d |.TextFon|t.System|
|00002a00| 08 54 65 78 74 53 69 7a | 65 02 31 32 04 42 6f 6c |.TextSiz|e.12.Bol|
|00002a10| 64 05 46 61 6c 73 65 06 | 49 74 61 6c 69 63 05 46 |d.False.|Italic.F|
|00002a20| 61 6c 73 65 09 55 6e 64 | 65 72 6c 69 6e 65 05 46 |alse.Und|erline.F|
|00002a30| 61 6c 73 65 04 54 65 78 | 74 04 55 52 4c 3a 09 54 |alse.Tex|t.URL:.T|
|00002a40| 65 78 74 41 6c 69 67 6e | 01 30 09 54 65 78 74 43 |extAlign|.0.TextC|
|00002a50| 6f 6c 6f 72 01 30 09 4d | 75 6c 74 69 4c 69 6e 65 |olor.0.M|ultiLine|
|00002a60| 05 46 61 6c 73 65 08 08 | 43 68 65 63 6b 42 6f 78 |.False..|CheckBox|
|00002a70| 16 04 4e 61 6d 65 08 43 | 68 6b 50 72 6f 78 79 05 |..Name.C|hkProxy.|
|00002a80| 49 6e 64 65 78 0b 2d 32 | 31 34 37 34 38 33 36 34 |Index.-2|14748364|
|00002a90| 38 0d 54 61 62 50 61 6e | 65 6c 49 6e 64 65 78 01 |8.TabPan|elIndex.|
|00002aa0| 30 07 56 69 73 69 62 6c | 65 04 54 72 75 65 04 4c |0.Visibl|e.True.L|
|00002ab0| 65 66 74 02 31 38 03 54 | 6f 70 03 33 30 32 05 57 |eft.18.T|op.302.W|
|00002ac0| 69 64 74 68 02 38 39 06 | 48 65 69 67 68 74 02 32 |idth.89.|Height.2|
|00002ad0| 30 0b 42 61 6c 6c 6f 6f | 6e 48 65 6c 70 00 13 44 |0.Balloo|nHelp..D|
|00002ae0| 69 73 61 62 6c 65 64 42 | 61 6c 6c 6f 6f 6e 48 65 |isabledB|alloonHe|
|00002af0| 6c 70 00 08 4c 6f 63 6b | 4c 65 66 74 05 46 61 6c |lp..Lock|Left.Fal|
|00002b00| 73 65 07 4c 6f 63 6b 54 | 6f 70 05 46 61 6c 73 65 |se.LockT|op.False|
|00002b10| 09 4c 6f 63 6b 52 69 67 | 68 74 05 46 61 6c 73 65 |.LockRig|ht.False|
|00002b20| 0a 4c 6f 63 6b 42 6f 74 | 74 6f 6d 05 46 61 6c 73 |.LockBot|tom.Fals|
|00002b30| 65 08 54 65 78 74 46 6f | 6e 74 06 53 79 73 74 65 |e.TextFo|nt.Syste|
|00002b40| 6d 08 54 65 78 74 53 69 | 7a 65 02 31 32 04 42 6f |m.TextSi|ze.12.Bo|
|00002b50| 6c 64 05 46 61 6c 73 65 | 06 49 74 61 6c 69 63 05 |ld.False|.Italic.|
|00002b60| 46 61 6c 73 65 09 55 6e | 64 65 72 6c 69 6e 65 05 |False.Un|derline.|
|00002b70| 46 61 6c 73 65 07 43 61 | 70 74 69 6f 6e 0a 55 73 |False.Ca|ption.Us|
|00002b80| 65 20 70 72 6f 78 79 3a | 05 56 61 6c 75 65 05 46 |e proxy:|.Value.F|
|00002b90| 61 6c 73 65 07 45 6e 61 | 62 6c 65 64 04 54 72 75 |alse.Ena|bled.Tru|
|00002ba0| 65 0a 09 45 64 69 74 46 | 69 65 6c 64 20 04 4e 61 |e..EditF|ield .Na|
|00002bb0| 6d 65 08 54 78 74 50 72 | 6f 78 79 05 49 6e 64 65 |me.TxtPr|oxy.Inde|
|00002bc0| 78 0b 2d 32 31 34 37 34 | 38 33 36 34 38 0d 54 61 |x.-21474|83648.Ta|
|00002bd0| 62 50 61 6e 65 6c 49 6e | 64 65 78 01 30 07 56 69 |bPanelIn|dex.0.Vi|
|00002be0| 73 69 62 6c 65 04 54 72 | 75 65 04 4c 65 66 74 03 |sible.Tr|ue.Left.|
|00002bf0| 31 30 39 03 54 6f 70 03 | 33 30 32 05 57 69 64 74 |109.Top.|302.Widt|
|00002c00| 68 03 34 31 35 06 48 65 | 69 67 68 74 02 32 30 0b |h.415.He|ight.20.|
|00002c10| 42 61 6c 6c 6f 6f 6e 48 | 65 6c 70 00 13 44 69 73 |BalloonH|elp..Dis|
|00002c20| 61 62 6c 65 64 42 61 6c | 6c 6f 6f 6e 48 65 6c 70 |abledBal|loonHelp|
|00002c30| 00 08 4c 6f 63 6b 4c 65 | 66 74 05 46 61 6c 73 65 |..LockLe|ft.False|
|00002c40| 07 4c 6f 63 6b 54 6f 70 | 05 46 61 6c 73 65 09 4c |.LockTop|.False.L|
|00002c50| 6f 63 6b 52 69 67 68 74 | 05 46 61 6c 73 65 0a 4c |ockRight|.False.L|
|00002c60| 6f 63 6b 42 6f 74 74 6f | 6d 05 46 61 6c 73 65 08 |ockBotto|m.False.|
|00002c70| 54 65 78 74 46 6f 6e 74 | 06 53 79 73 74 65 6d 08 |TextFont|.System.|
|00002c80| 54 65 78 74 53 69 7a 65 | 02 31 32 04 42 6f 6c 64 |TextSize|.12.Bold|
|00002c90| 05 46 61 6c 73 65 06 49 | 74 61 6c 69 63 05 46 61 |.False.I|talic.Fa|
|00002ca0| 6c 73 65 09 55 6e 64 65 | 72 6c 69 6e 65 05 46 61 |lse.Unde|rline.Fa|
|00002cb0| 6c 73 65 06 42 6f 72 64 | 65 72 04 54 72 75 65 09 |lse.Bord|er.True.|
|00002cc0| 4d 75 6c 74 69 4c 69 6e | 65 05 46 61 6c 73 65 09 |MultiLin|e.False.|
|00002cd0| 53 63 72 6f 6c 6c 42 61 | 72 04 54 72 75 65 06 53 |ScrollBa|r.True.S|
|00002ce0| 74 79 6c 65 64 05 46 61 | 6c 73 65 08 50 61 73 73 |tyled.Fa|lse.Pass|
|00002cf0| 77 6f 72 64 05 46 61 6c | 73 65 0c 55 73 65 46 6f |word.Fal|se.UseFo|
|00002d00| 63 75 73 52 69 6e 67 04 | 54 72 75 65 08 52 65 61 |cusRing.|True.Rea|
|00002d10| 64 4f 6e 6c 79 05 46 61 | 6c 73 65 09 4c 69 6d 69 |dOnly.Fa|lse.Limi|
|00002d20| 74 54 65 78 74 01 30 0a | 41 63 63 65 70 74 54 61 |tText.0.|AcceptTa|
|00002d30| 62 73 05 46 61 6c 73 65 | 09 54 65 78 74 43 6f 6c |bs.False|.TextCol|
|00002d40| 6f 72 01 30 09 42 61 63 | 6b 43 6f 6c 6f 72 08 31 |or.0.Bac|kColor.1|
|00002d50| 36 37 37 37 32 31 35 07 | 45 6e 61 62 6c 65 64 04 |6777215.|Enabled.|
|00002d60| 54 72 75 65 04 54 65 78 | 74 22 62 65 73 73 2d 70 |True.Tex|t"bess-p|
|00002d70| 72 6f 78 79 2e 6f 6b 61 | 6c 6f 6f 73 61 2e 6b 31 |roxy.oka|loosa.k1|
|00002d80| 32 2e 66 6c 2e 75 73 3a | 37 30 34 36 0b 0a 50 75 |2.fl.us:|7046..Pu|
|00002d90| 73 68 42 75 74 74 6f 6e | 17 04 4e 61 6d 65 0b 50 |shButton|..Name.P|
|00002da0| 75 73 68 42 75 74 74 6f | 6e 33 05 49 6e 64 65 78 |ushButto|n3.Index|
|00002db0| 0b 2d 32 31 34 37 34 38 | 33 36 34 38 0d 54 61 62 |.-214748|3648.Tab|
|00002dc0| 50 61 6e 65 6c 49 6e 64 | 65 78 01 30 07 56 69 73 |PanelInd|ex.0.Vis|
|00002dd0| 69 62 6c 65 04 54 72 75 | 65 04 4c 65 66 74 03 33 |ible.Tru|e.Left.3|
|00002de0| 33 38 03 54 6f 70 02 33 | 39 05 57 69 64 74 68 02 |38.Top.3|9.Width.|
|00002df0| 34 32 06 48 65 69 67 68 | 74 02 32 30 0b 42 61 6c |42.Heigh|t.20.Bal|
|00002e00| 6c 6f 6f 6e 48 65 6c 70 | 00 13 44 69 73 61 62 6c |loonHelp|..Disabl|
|00002e10| 65 64 42 61 6c 6c 6f 6f | 6e 48 65 6c 70 00 08 4c |edBalloo|nHelp..L|
|00002e20| 6f 63 6b 4c 65 66 74 05 | 46 61 6c 73 65 07 4c 6f |ockLeft.|False.Lo|
|00002e30| 63 6b 54 6f 70 05 46 61 | 6c 73 65 09 4c 6f 63 6b |ckTop.Fa|lse.Lock|
|00002e40| 52 69 67 68 74 05 46 61 | 6c 73 65 0a 4c 6f 63 6b |Right.Fa|lse.Lock|
|00002e50| 42 6f 74 74 6f 6d 05 46 | 61 6c 73 65 08 54 65 78 |Bottom.F|alse.Tex|
|00002e60| 74 46 6f 6e 74 06 47 65 | 6e 65 76 61 08 54 65 78 |tFont.Ge|neva.Tex|
|00002e70| 74 53 69 7a 65 01 39 04 | 42 6f 6c 64 05 46 61 6c |tSize.9.|Bold.Fal|
|00002e80| 73 65 06 49 74 61 6c 69 | 63 05 46 61 6c 73 65 09 |se.Itali|c.False.|
|00002e90| 55 6e 64 65 72 6c 69 6e | 65 05 46 61 6c 73 65 07 |Underlin|e.False.|
|00002ea0| 43 61 70 74 69 6f 6e 06 | 43 61 6e 63 65 6c 07 44 |Caption.|Cancel.D|
|00002eb0| 65 66 61 75 6c 74 05 46 | 61 6c 73 65 06 43 61 6e |efault.F|alse.Can|
|00002ec0| 63 65 6c 05 46 61 6c 73 | 65 07 45 6e 61 62 6c 65 |cel.Fals|e.Enable|
|00002ed0| 64 04 54 72 75 65 0c 00 | 02 41 04 4d 65 6e 75 04 |d.True..|.A.Menu.|
|00002ee0| 4d 65 6e 75 05 a8 06 3a | 94 0b 82 04 04 01 00 00 |Menu...:|........|
|00002ef0| 80 80 80 80 10 00 00 00 | 00 00 07 00 00 88 01 08 |........|........|
|00002f00| 4d 65 6e 75 49 74 65 6d | 00 00 00 00 00 00 00 01 |MenuItem|........|
|00002f10| 02 00 00 80 80 80 80 10 | 00 00 00 00 00 07 00 00 |........|........|
|00002f20| 88 01 08 4d 65 6e 75 49 | 74 65 6d 00 00 00 00 00 |...MenuI|tem.....|
|00002f30| 00 00 00 00 04 46 69 6c | 65 00 80 80 80 80 10 00 |.....Fil|e.......|
|00002f40| 00 00 00 00 07 00 00 88 | 01 08 4d 65 6e 75 49 74 |........|..MenuIt|
|00002f50| 65 6d 00 00 00 00 00 00 | 00 06 00 0a 50 61 67 65 |em......|....Page|
|00002f60| 20 49 6e 66 6f c9 0c 46 | 69 6c 65 50 61 67 65 49 | Info..F|ilePageI|
|00002f70| 6e 66 6f 80 80 80 80 10 | 01 49 00 00 00 00 07 00 |nfo.....|.I......|
|00002f80| 00 88 01 08 4d 65 6e 75 | 49 74 65 6d 00 00 00 00 |....Menu|Item....|
|00002f90| 00 00 00 00 00 0c 53 75 | 62 6d 69 74 20 46 6f 72 |......Su|bmit For|
|00002fa0| 6d c9 0e 46 69 6c 65 53 | 75 62 6d 69 74 46 6f 72 |m..FileS|ubmitFor|
|00002fb0| 6d 80 80 80 80 10 01 4d | 00 00 00 00 07 00 00 88 |m......M|........|
|00002fc0| 01 08 4d 65 6e 75 49 74 | 65 6d 00 00 00 00 00 00 |..MenuIt|em......|
|00002fd0| 00 00 00 09 54 72 61 6e | 73 6c 61 74 65 0d 46 69 |....Tran|slate.Fi|
|00002fe0| 6c 65 54 72 61 6e 73 6c | 61 74 65 80 80 80 80 10 |leTransl|ate.....|
|00002ff0| 01 54 00 00 00 00 07 00 | 00 88 01 08 4d 65 6e 75 |.T......|....Menu|
|00003000| 49 74 65 6d 00 00 00 00 | 00 00 00 00 00 01 2d 00 |Item....|......-.|
|00003010| 80 80 80 80 10 00 00 00 | 00 00 07 00 00 88 01 08 |........|........|
|00003020| 4d 65 6e 75 49 74 65 6d | 00 00 00 00 00 00 00 00 |MenuItem|........|
|00003030| 00 04 51 75 69 74 08 46 | 69 6c 65 51 75 69 74 80 |..Quit.F|ileQuit.|
|00003040| 80 80 80 10 01 51 00 00 | 00 00 07 00 00 88 01 0c |.....Q..|........|
|00003050| 51 75 69 74 4d 65 6e 75 | 49 74 65 6d 00 00 00 00 |QuitMenu|Item....|
|00003060| 00 00 00 00 02 00 00 80 | 80 80 80 10 00 00 00 00 |........|........|
|00003070| 00 07 00 00 88 01 08 4d | 65 6e 75 49 74 65 6d 00 |.......M|enuItem.|
|00003080| 00 00 00 00 00 00 00 00 | 04 45 64 69 74 00 80 80 |........|.Edit...|
|00003090| 80 80 10 00 00 00 00 00 | 07 00 00 88 01 08 4d 65 |........|......Me|
|000030a0| 6e 75 49 74 65 6d 00 00 | 00 00 00 00 00 07 00 04 |nuItem..|........|
|000030b0| 55 6e 64 6f 08 45 64 69 | 74 55 6e 64 6f 80 80 80 |Undo.Edi|tUndo...|
|000030c0| 80 10 01 5a 00 00 00 00 | 07 00 00 88 01 08 4d 65 |...Z....|......Me|
|000030d0| 6e 75 49 74 65 6d 00 00 | 00 00 00 00 00 00 00 01 |nuItem..|........|
|000030e0| 2d 00 80 80 80 80 10 00 | 00 00 00 00 07 00 00 88 |-.......|........|
|000030f0| 01 08 4d 65 6e 75 49 74 | 65 6d 00 00 00 00 00 00 |..MenuIt|em......|
|00003100| 00 00 00 03 43 75 74 07 | 45 64 69 74 43 75 74 80 |....Cut.|EditCut.|
|00003110| 80 80 80 10 01 58 00 00 | 00 00 07 00 00 88 01 08 |.....X..|........|
|00003120| 4d 65 6e 75 49 74 65 6d | 00 00 00 00 00 00 00 00 |MenuItem|........|
|00003130| 00 04 43 6f 70 79 08 45 | 64 69 74 43 6f 70 79 80 |..Copy.E|ditCopy.|
|00003140| 80 80 80 10 01 43 00 00 | 00 00 07 00 00 88 01 08 |.....C..|........|
|00003150| 4d 65 6e 75 49 74 65 6d | 00 00 00 00 00 00 00 00 |MenuItem|........|
|00003160| 00 05 50 61 73 74 65 09 | 45 64 69 74 50 61 73 74 |..Paste.|EditPast|
|00003170| 65 80 80 80 80 10 01 56 | 00 00 00 00 07 00 00 88 |e......V|........|
|00003180| 01 08 4d 65 6e 75 49 74 | 65 6d 00 00 00 00 00 00 |..MenuIt|em......|
|00003190| 00 00 00 05 43 6c 65 61 | 72 09 45 64 69 74 43 6c |....Clea|r.EditCl|
|000031a0| 65 61 72 80 80 80 80 10 | 00 00 00 00 00 07 00 00 |ear.....|........|
|000031b0| 88 01 08 4d 65 6e 75 49 | 74 65 6d 00 00 00 00 00 |...MenuI|tem.....|
|000031c0| 00 00 00 02 00 00 80 80 | 80 80 10 00 00 00 00 00 |........|........|
|000031d0| 07 00 00 88 01 08 4d 65 | 6e 75 49 74 65 6d 00 00 |......Me|nuItem..|
|000031e0| 00 00 00 00 00 00 02 00 | 00 80 80 80 80 10 00 00 |........|........|
|000031f0| 00 00 00 07 00 00 88 01 | 08 4d 65 6e 75 49 74 65 |........|.MenuIte|
|00003200| 6d 00 00 00 00 00 00 00 | 00 04 41 04 56 69 65 77 |m.......|..A.View|
|00003210| 07 44 69 61 6c 6f 67 31 | 04 a4 01 a4 01 12 04 4e |.Dialog1|.......N|
|00003220| 61 6d 65 07 44 69 61 6c | 6f 67 31 05 46 72 61 6d |ame.Dial|og1.Fram|
|00003230| 65 01 30 0c 48 61 73 42 | 61 63 6b 43 6f 6c 6f 72 |e.0.HasB|ackColor|
|00003240| 05 46 61 6c 73 65 09 42 | 61 63 6b 43 6f 6c 6f 72 |.False.B|ackColor|
|00003250| 08 31 36 37 37 37 32 31 | 35 08 42 61 63 6b 64 72 |.1677721|5.Backdr|
|00003260| 6f 70 01 30 05 54 69 74 | 6c 65 05 49 6d 61 67 65 |op.0.Tit|le.Image|
|00003270| 07 56 69 73 69 62 6c 65 | 04 54 72 75 65 08 43 6c |.Visible|.True.Cl|
|00003280| 6f 73 65 42 6f 78 04 54 | 72 75 65 08 47 72 6f 77 |oseBox.T|rue.Grow|
|00003290| 49 63 6f 6e 05 46 61 6c | 73 65 08 5a 6f 6f 6d 49 |Icon.Fal|se.ZoomI|
|000032a0| 63 6f 6e 05 46 61 6c 73 | 65 0b 42 61 6c 6c 6f 6f |con.Fals|e.Balloo|
|000032b0| 6e 48 65 6c 70 00 09 50 | 6c 61 63 65 6d 65 6e 74 |nHelp..P|lacement|
|000032c0| 01 30 05 57 69 64 74 68 | 03 32 30 36 06 48 65 69 |.0.Width|.206.Hei|
|000032d0| 67 68 74 03 31 36 36 08 | 4d 69 6e 57 69 64 74 68 |ght.166.|MinWidth|
|000032e0| 02 36 34 09 4d 69 6e 48 | 65 69 67 68 74 02 36 34 |.64.MinH|eight.64|
|000032f0| 08 4d 61 78 57 69 64 74 | 68 05 33 32 30 30 30 09 |.MaxWidt|h.32000.|
|00003300| 4d 61 78 48 65 69 67 68 | 74 05 33 32 30 30 30 07 |MaxHeigh|t.32000.|
|00003310| 00 07 44 69 61 6c 6f 67 | 31 ac 01 06 44 69 61 6c |..Dialog|1...Dial|
|00003320| 6f 67 00 00 00 00 03 05 | 50 61 69 6e 74 01 00 01 |og......|Paint...|
|00003330| 00 03 18 53 75 62 20 50 | 61 69 6e 74 28 67 20 41 |...Sub P|aint(g A|
|00003340| 73 20 47 72 61 70 68 69 | 63 73 29 00 07 45 6e 64 |s Graphi|cs)..End|
|00003350| 20 53 75 62 04 4f 70 65 | 6e 01 00 01 00 03 0a 53 | Sub.Ope|n......S|
|00003360| 75 62 20 4f 70 65 6e 28 | 29 00 07 45 6e 64 20 53 |ub Open(|)..End S|
|00003370| 75 62 09 4d 6f 75 73 65 | 44 6f 77 6e 01 00 01 25 |ub.Mouse|Down...%|
|00003380| 03 39 46 75 6e 63 74 69 | 6f 6e 20 4d 6f 75 73 65 |.9Functi|on Mouse|
|00003390| 44 6f 77 6e 28 58 20 41 | 73 20 49 6e 74 65 67 65 |Down(X A|s Intege|
|000033a0| 72 2c 20 59 20 41 73 20 | 49 6e 74 65 67 65 72 29 |r, Y As |Integer)|
|000033b0| 20 41 73 20 42 6f 6f 6c | 65 61 6e 25 6d 73 67 42 | As Bool|ean%msgB|
|000033c0| 6f 78 20 73 74 72 28 6d | 65 2e 57 69 64 74 68 29 |ox str(m|e.Width)|
|000033d0| 2b 22 20 22 2b 73 74 72 | 28 6d 65 2e 4c 65 66 74 |+" "+str|(me.Left|
|000033e0| 29 0c 45 6e 64 20 46 75 | 6e 63 74 69 6f 6e 00 00 |).End Fu|nction..|
|000033f0| 00 00 00 05 41 05 43 6c | 61 73 73 0a 68 74 74 70 |....A.Cl|ass.http|
|00003400| 53 6f 63 6b 65 74 3f 31 | 8b 0b 85 07 07 00 0a 68 |Socket?1|.......h|
|00003410| 74 74 70 53 6f 63 6b 65 | 74 b4 02 06 53 6f 63 6b |ttpSocke|t...Sock|
|00003420| 65 74 00 24 15 47 6f 74 | 48 65 61 64 65 72 73 20 |et.$.Got|Headers |
|00003430| 61 73 20 62 6f 6f 6c 65 | 61 6e 00 11 48 65 61 64 |as boole|an..Head|
|00003440| 65 72 73 20 61 73 20 73 | 74 72 69 6e 67 00 0e 74 |ers as s|tring..t|
|00003450| 65 78 74 20 61 73 20 73 | 74 72 69 6e 67 00 11 66 |ext as s|tring..f|
|00003460| 69 6c 65 6c 65 6e 20 61 | 73 20 73 69 6e 67 6c 65 |ilelen a|s single|
|00003470| 00 12 66 69 6c 65 74 79 | 70 65 20 61 73 20 73 74 |..filety|pe as st|
|00003480| 72 69 6e 67 00 16 48 65 | 61 64 65 72 4e 61 6d 28 |ring..He|aderNam(|
|00003490| 30 29 20 61 73 20 73 74 | 72 69 6e 67 00 16 48 65 |0) as st|ring..He|
|000034a0| 61 64 65 72 56 61 6c 28 | 30 29 20 61 73 20 73 74 |aderVal(|0) as st|
|000034b0| 72 69 6e 67 00 12 66 69 | 6c 65 4e 61 6d 65 20 61 |ring..fi|leName a|
|000034c0| 73 20 73 74 72 69 6e 67 | 00 13 4c 61 73 74 57 72 |s string|..LastWr|
|000034d0| 69 74 65 20 61 73 20 73 | 69 6e 67 6c 65 00 10 4c |ite as s|ingle..L|
|000034e0| 61 73 74 4d 44 20 61 73 | 20 73 69 6e 67 6c 65 00 |astMD as| single.|
|000034f0| 18 4d 6f 72 65 44 61 74 | 61 44 65 6c 61 79 20 61 |.MoreDat|aDelay a|
|00003500| 73 20 69 6e 74 65 67 65 | 72 00 16 54 6f 74 61 6c |s intege|r..Total|
|00003510| 4c 65 6e 67 74 68 20 61 | 73 20 69 6e 74 65 67 65 |Length a|s intege|
|00003520| 72 00 14 4c 61 73 74 41 | 6d 6f 75 6e 74 20 61 73 |r..LastA|mount as|
|00003530| 20 73 69 6e 67 6c 65 00 | 11 44 4c 54 79 70 65 20 | single.|.DLType |
|00003540| 61 73 20 69 6e 74 65 67 | 65 72 00 12 46 69 6c 65 |as integ|er..File|
|00003550| 20 61 73 20 66 6f 6c 64 | 65 72 69 74 65 6d 00 15 | as fold|eritem..|
|00003560| 50 72 6f 78 79 53 65 72 | 76 65 72 20 61 73 20 73 |ProxySer|ver as s|
|00003570| 74 72 69 6e 67 00 14 50 | 72 6f 78 79 50 6f 72 74 |tring..P|roxyPort|
|00003580| 20 61 73 20 69 6e 74 65 | 67 65 72 00 10 43 6c 69 | as inte|ger..Cli|
|00003590| 65 6e 74 20 61 73 20 73 | 74 72 69 6e 67 00 11 4c |ent as s|tring..L|
|000035a0| 6f 67 69 6e 36 34 20 61 | 73 20 73 74 72 69 6e 67 |ogin64 a|s string|
|000035b0| 00 11 63 75 72 53 69 74 | 65 20 61 73 20 73 74 72 |..curSit|e as str|
|000035c0| 69 6e 67 00 13 50 61 73 | 73 4c 61 73 74 20 61 73 |ing..Pas|sLast as|
|000035d0| 20 62 6f 6f 6c 65 61 6e | 00 11 4d 69 6d 65 28 30 | boolean|..Mime(0|
|000035e0| 29 20 61 73 20 73 74 72 | 69 6e 67 00 18 4d 69 6d |) as str|ing..Mim|
|000035f0| 65 43 72 65 61 74 6f 72 | 28 30 29 20 61 73 20 73 |eCreator|(0) as s|
|00003600| 74 72 69 6e 67 00 15 4d | 69 6d 65 54 79 70 65 28 |tring..M|imeType(|
|00003610| 30 29 20 61 73 20 73 74 | 72 69 6e 67 00 16 4e 75 |0) as st|ring..Nu|
|00003620| 6d 52 65 66 65 72 65 72 | 73 20 61 73 20 69 6e 74 |mReferer|s as int|
|00003630| 65 67 65 72 00 14 42 75 | 66 66 65 72 53 69 7a 65 |eger..Bu|fferSize|
|00003640| 20 61 73 20 73 69 6e 67 | 6c 65 00 16 4c 6f 67 69 | as sing|le..Logi|
|00003650| 6e 41 6e 64 50 61 73 73 | 20 61 73 20 73 74 72 69 |nAndPass| as stri|
|00003660| 6e 67 00 11 4d 65 74 68 | 6f 64 20 61 73 20 69 6e |ng..Meth|od as in|
|00003670| 74 65 67 65 72 00 0e 47 | 65 74 20 61 73 20 69 6e |teger..G|et as in|
|00003680| 74 65 67 65 72 00 0f 50 | 6f 73 74 20 61 73 20 69 |teger..P|ost as i|
|00003690| 6e 74 65 67 65 72 00 14 | 4b 65 65 70 41 6c 69 76 |nteger..|KeepAliv|
|000036a0| 65 20 61 73 20 62 6f 6f | 6c 65 61 6e 00 13 43 75 |e as boo|lean..Cu|
|000036b0| 72 53 65 72 76 65 72 20 | 61 73 20 73 74 72 69 6e |rServer |as strin|
|000036c0| 67 00 12 50 6f 73 74 44 | 61 74 61 20 61 73 20 73 |g..PostD|ata as s|
|000036d0| 74 72 69 6e 67 00 15 50 | 6f 73 74 45 6e 63 54 79 |tring..P|ostEncTy|
|000036e0| 70 65 20 61 73 20 73 74 | 72 69 6e 67 00 11 49 6e |pe as st|ring..In|
|000036f0| 69 74 65 64 20 61 73 20 | 62 6f 6f 6c 65 61 6e 00 |ited as |boolean.|
|00003700| 14 4e 75 6d 4f 66 46 69 | 72 65 20 61 73 20 69 6e |.NumOfFi|re as in|
|00003710| 74 65 67 65 72 00 19 07 | 67 65 74 48 54 54 50 0e |teger...|getHTTP.|
|00003720| 74 55 52 4c 20 61 73 20 | 73 74 72 69 6e 67 00 00 |tURL as |string..|
|00003730| 04 0e 04 0e 1e 1b 53 75 | 62 20 67 65 74 48 54 54 |......Su|b getHTT|
|00003740| 50 28 74 55 52 4c 20 61 | 73 20 73 74 72 69 6e 67 |P(tURL a|s string|
|00003750| 29 23 64 69 6d 20 55 52 | 4c 2c 20 73 65 72 76 2c |)#dim UR|L, serv,|
|00003760| 20 70 61 74 68 2c 20 63 | 72 6c 66 20 61 73 20 73 | path, c|rlf as s|
|00003770| 74 72 69 6e 67 00 12 69 | 66 20 6e 6f 74 20 49 6e |tring..i|f not In|
|00003780| 69 74 65 64 20 74 68 65 | 6e 0e 68 74 74 70 53 6f |ited the|n.httpSo|
|00003790| 63 6b 65 74 49 6e 69 74 | 06 65 6e 64 20 69 66 00 |cketInit|.end if.|
|000037a0| 08 49 6e 69 74 49 6e 66 | 6f 00 14 63 72 6c 66 3d |.InitInf|o..crlf=|
|000037b0| 63 68 72 28 31 33 29 2b | 63 68 72 28 31 30 29 08 |chr(13)+|chr(10).|
|000037c0| 55 52 4c 3d 74 55 52 4c | 00 08 6d 65 2e 43 6c 6f |URL=tURL|..me.Clo|
|000037d0| 73 65 00 29 69 66 20 6c | 6f 77 65 72 63 61 73 65 |se.)if l|owercase|
|000037e0| 28 6c 65 66 74 28 55 52 | 4c 2c 20 37 29 29 3d 22 |(left(UR|L, 7))="|
|000037f0| 68 74 74 70 3a 2f 2f 22 | 20 74 68 65 6e 0f 55 52 |http://"| then.UR|
|00003800| 4c 3d 6d 69 64 28 55 52 | 4c 2c 20 38 29 06 65 6e |L=mid(UR|L, 8).en|
|00003810| 64 20 69 66 00 19 69 66 | 20 69 6e 73 74 72 28 55 |d if..if| instr(U|
|00003820| 52 4c 2c 20 22 2f 22 29 | 3e 30 20 74 68 65 6e 21 |RL, "/")|>0 then!|
|00003830| 73 65 72 76 3d 6c 65 66 | 74 28 55 52 4c 2c 20 69 |serv=lef|t(URL, i|
|00003840| 6e 73 74 72 28 55 52 4c | 2c 20 22 2f 22 29 2d 31 |nstr(URL|, "/")-1|
|00003850| 29 1e 70 61 74 68 3d 6d | 69 64 28 55 52 4c 2c 20 |).path=m|id(URL, |
|00003860| 69 6e 73 74 72 28 55 52 | 4c 2c 20 22 2f 22 29 29 |instr(UR|L, "/"))|
|00003870| 04 65 6c 73 65 08 73 65 | 72 76 3d 55 52 4c 08 70 |.else.se|rv=URL.p|
|00003880| 61 74 68 3d 22 2f 22 06 | 65 6e 64 20 69 66 00 0c |ath="/".|end if..|
|00003890| 63 75 72 53 69 74 65 3d | 74 55 52 4c 14 44 6f 43 |curSite=|tURL.DoC|
|000038a0| 6f 6e 6e 65 63 74 20 73 | 65 72 76 2c 20 70 61 74 |onnect s|erv, pat|
|000038b0| 68 00 07 45 6e 64 20 53 | 75 62 08 49 6e 69 74 49 |h..End S|ub.InitI|
|000038c0| 6e 66 6f 00 00 00 02 0e | 02 0e 11 0e 53 75 62 20 |nfo.....|....Sub |
|000038d0| 49 6e 69 74 49 6e 66 6f | 28 29 12 69 66 20 6e 6f |InitInfo|().if no|
|000038e0| 74 20 49 6e 69 74 65 64 | 20 74 68 65 6e 0e 68 74 |t Inited| then.ht|
|000038f0| 74 70 53 6f 63 6b 65 74 | 49 6e 69 74 06 65 6e 64 |tpSocket|Init.end|
|00003900| 20 69 66 00 10 47 6f 74 | 48 65 61 64 65 72 73 3d | if..Got|Headers=|
|00003910| 66 61 6c 73 65 09 66 69 | 6c 65 6c 65 6e 3d 30 0b |false.fi|lelen=0.|
|00003920| 66 69 6c 65 74 79 70 65 | 3d 22 22 0a 48 65 61 64 |filetype|="".Head|
|00003930| 65 72 73 3d 22 22 12 72 | 65 64 69 6d 20 48 65 61 |ers="".r|edim Hea|
|00003940| 64 65 72 4e 61 6d 28 30 | 29 12 72 65 64 69 6d 20 |derNam(0|).redim |
|00003950| 48 65 61 64 65 72 56 61 | 6c 28 30 29 07 74 65 78 |HeaderVa|l(0).tex|
|00003960| 74 3d 22 22 0c 4c 61 73 | 74 41 6d 6f 75 6e 74 3d |t="".Las|tAmount=|
|00003970| 30 08 4c 61 73 74 4d 44 | 3d 30 0d 54 6f 74 61 6c |0.LastMD|=0.Total|
|00003980| 4c 65 6e 67 74 68 3d 30 | 0d 6e 75 6d 72 65 66 65 |Length=0|.numrefe|
|00003990| 72 65 72 73 3d 30 07 45 | 6e 64 20 53 75 62 0c 41 |rers=0.E|nd Sub.A|
|000039a0| 64 64 54 6f 48 65 61 64 | 65 72 73 0c 74 73 20 61 |ddToHead|ers.ts a|
|000039b0| 73 20 73 74 72 69 6e 67 | 00 00 04 0e 04 0e 35 1e |s string|......5.|
|000039c0| 53 75 62 20 41 64 64 54 | 6f 48 65 61 64 65 72 73 |Sub AddT|oHeaders|
|000039d0| 28 74 73 20 61 73 20 73 | 74 72 69 6e 67 29 24 64 |(ts as s|tring)$d|
|000039e0| 69 6d 20 72 2c 20 74 20 | 61 73 20 73 74 72 69 6e |im r, t |as strin|
|000039f0| 67 2c 20 66 62 6f 6f 6c | 20 61 73 20 62 6f 6f 6c |g, fbool| as bool|
|00003a00| 65 61 6e 00 12 69 66 20 | 6e 6f 74 20 49 6e 69 74 |ean..if |not Init|
|00003a10| 65 64 20 74 68 65 6e 0e | 68 74 74 70 53 6f 63 6b |ed then.|httpSock|
|00003a20| 65 74 49 6e 69 74 06 65 | 6e 64 20 69 66 00 04 74 |etInit.e|nd if..t|
|00003a30| 3d 74 73 00 1b 69 66 20 | 69 6e 73 74 72 28 74 2c |=ts..if |instr(t,|
|00003a40| 20 63 68 72 28 31 33 29 | 29 3d 30 20 74 68 65 6e | chr(13)|)=0 then|
|00003a50| 29 74 3d 72 65 70 6c 61 | 63 65 61 6c 6c 28 74 2c |)t=repla|ceall(t,|
|00003a60| 20 63 68 72 28 31 30 29 | 2c 20 63 68 72 28 31 33 | chr(10)|, chr(13|
|00003a70| 29 2b 63 68 72 28 31 30 | 29 29 0a 66 62 6f 6f 6c |)+chr(10|)).fbool|
|00003a80| 3d 74 72 75 65 06 65 6e | 64 20 69 66 00 2b 69 66 |=true.en|d if.+if|
|00003a90| 20 69 6e 73 74 72 28 74 | 2c 20 63 68 72 28 31 30 | instr(t|, chr(10|
|00003aa0| 29 2b 63 68 72 28 31 33 | 29 2b 63 68 72 28 31 30 |)+chr(13|)+chr(10|
|00003ab0| 29 29 3e 30 20 74 68 65 | 6e 0f 47 6f 74 48 65 61 |))>0 the|n.GotHea|
|00003ac0| 64 65 72 73 3d 74 72 75 | 65 26 68 65 61 64 65 72 |ders=tru|e&header|
|00003ad0| 73 3d 68 65 61 64 65 72 | 73 2b 6c 65 66 74 28 74 |s=header|s+left(t|
|00003ae0| 2c 20 47 65 74 44 72 6f | 70 4f 66 66 28 74 29 29 |, GetDro|pOff(t))|
|00003af0| 17 72 3d 6d 69 64 28 74 | 2c 20 47 65 74 44 72 6f |.r=mid(t|, GetDro|
|00003b00| 70 4f 66 66 28 74 29 29 | 0c 50 61 72 73 65 48 65 |pOff(t))|.ParseHe|
|00003b10| 61 64 65 72 73 0d 69 66 | 20 66 62 6f 6f 6c 20 74 |aders.if| fbool t|
|00003b20| 68 65 6e 31 41 64 64 54 | 6f 46 69 6c 65 20 72 65 |hen1AddT|oFile re|
|00003b30| 70 6c 61 63 65 61 6c 6c | 28 72 2c 20 63 68 72 28 |placeall|(r, chr(|
|00003b40| 31 33 29 2b 63 68 72 28 | 31 30 29 2c 20 63 68 72 |13)+chr(|10), chr|
|00003b50| 28 31 30 29 29 04 65 6c | 73 65 0b 41 64 64 54 6f |(10)).el|se.AddTo|
|00003b60| 46 69 6c 65 20 72 06 65 | 6e 64 20 69 66 04 65 6c |File r.e|nd if.el|
|00003b70| 73 65 11 68 65 61 64 65 | 72 73 3d 68 65 61 64 65 |se.heade|rs=heade|
|00003b80| 72 73 2b 74 06 65 6e 64 | 20 69 66 00 25 27 64 69 |rs+t.end| if.%'di|
|00003b90| 6d 20 72 2c 20 74 20 61 | 73 20 73 74 72 69 6e 67 |m r, t a|s string|
|00003ba0| 2c 20 66 62 6f 6f 6c 20 | 61 73 20 62 6f 6f 6c 65 |, fbool |as boole|
|00003bb0| 61 6e 00 06 72 65 74 75 | 72 6e 00 04 74 3d 74 73 |an..retu|rn..t=ts|
|00003bc0| 1b 2f 2f 66 69 72 73 74 | 2c 20 67 65 74 20 72 69 |.//first|, get ri|
|00003bd0| 64 20 6f 66 20 61 6c 6c | 20 43 52 73 1a 74 3d 72 |d of all| CRs.t=r|
|00003be0| 65 70 6c 61 63 65 61 6c | 6c 28 74 2c 63 68 72 28 |eplaceal|l(t,chr(|
|00003bf0| 31 33 29 2c 22 22 29 1e | 2f 2f 20 74 68 65 6e 20 |13),"").|// then |
|00003c00| 72 65 70 6c 61 63 65 20 | 4c 46 73 20 77 69 74 68 |replace |LFs with|
|00003c10| 20 43 52 4c 46 73 29 74 | 3d 72 65 70 6c 61 63 65 | CRLFs)t|=replace|
|00003c20| 61 6c 6c 28 74 2c 20 63 | 68 72 28 31 30 29 2c 20 |all(t, c|hr(10), |
|00003c30| 63 68 72 28 31 33 29 2b | 63 68 72 28 31 30 29 29 |chr(13)+|chr(10))|
|00003c40| 0a 66 62 6f 6f 6c 3d 74 | 72 75 65 00 2d 69 66 20 |.fbool=t|rue.-if |
|00003c50| 28 69 6e 73 74 72 28 74 | 2c 20 63 68 72 28 31 30 |(instr(t|, chr(10|
|00003c60| 29 2b 63 68 72 28 31 33 | 29 2b 63 68 72 28 31 30 |)+chr(13|)+chr(10|
|00003c70| 29 29 3e 30 29 20 74 68 | 65 6e 0f 47 6f 74 48 65 |))>0) th|en.GotHe|
|00003c80| 61 64 65 72 73 3d 74 72 | 75 65 26 68 65 61 64 65 |aders=tr|ue&heade|
|00003c90| 72 73 3d 68 65 61 64 65 | 72 73 2b 6c 65 66 74 28 |rs=heade|rs+left(|
|00003ca0| 74 2c 20 47 65 74 44 72 | 6f 70 4f 66 66 28 74 29 |t, GetDr|opOff(t)|
|00003cb0| 29 17 72 3d 6d 69 64 28 | 74 2c 20 47 65 74 44 72 |).r=mid(|t, GetDr|
|00003cc0| 6f 70 4f 66 66 28 74 29 | 29 0c 50 61 72 73 65 48 |opOff(t)|).ParseH|
|00003cd0| 65 61 64 65 72 73 0d 69 | 66 20 66 62 6f 6f 6c 20 |eaders.i|f fbool |
|00003ce0| 74 68 65 6e 31 41 64 64 | 54 6f 46 69 6c 65 20 72 |then1Add|ToFile r|
|00003cf0| 65 70 6c 61 63 65 61 6c | 6c 28 72 2c 20 63 68 72 |eplaceal|l(r, chr|
|00003d00| 28 31 33 29 2b 63 68 72 | 28 31 30 29 2c 20 63 68 |(13)+chr|(10), ch|
|00003d10| 72 28 31 30 29 29 04 65 | 6c 73 65 0b 41 64 64 54 |r(10)).e|lse.AddT|
|00003d20| 6f 46 69 6c 65 20 72 06 | 65 6e 64 20 69 66 04 65 |oFile r.|end if.e|
|00003d30| 6c 73 65 11 68 65 61 64 | 65 72 73 3d 68 65 61 64 |lse.head|ers=head|
|00003d40| 65 72 73 2b 74 06 65 6e | 64 20 69 66 07 45 6e 64 |ers+t.en|d if.End|
|00003d50| 20 53 75 62 0c 50 61 72 | 73 65 48 65 61 64 65 72 | Sub.Par|seHeader|
|00003d60| 73 00 00 00 05 0e 05 0e | 34 12 53 75 62 20 50 61 |s.......|4.Sub Pa|
|00003d70| 72 73 65 48 65 61 64 65 | 72 73 28 29 3a 64 69 6d |rseHeade|rs():dim|
|00003d80| 20 74 2c 20 6e 2c 20 76 | 2c 20 6e 55 52 4c 20 61 | t, n, v|, nURL a|
|00003d90| 73 20 73 74 72 69 6e 67 | 2c 20 71 20 61 73 20 62 |s string|, q as b|
|00003da0| 6f 6f 6c 65 61 6e 2c 20 | 49 2c 20 70 20 61 73 20 |oolean, |I, p as |
|00003db0| 69 6e 74 65 67 65 72 19 | 64 69 6d 20 63 20 61 73 |integer.|dim c as|
|00003dc0| 20 74 65 78 74 6f 75 74 | 70 75 74 73 74 72 65 61 | textout|putstrea|
|00003dd0| 6d 00 12 69 66 20 6e 6f | 74 20 49 6e 69 74 65 64 |m..if no|t Inited|
|00003de0| 20 74 68 65 6e 0e 68 74 | 74 70 53 6f 63 6b 65 74 | then.ht|tpSocket|
|00003df0| 49 6e 69 74 06 65 6e 64 | 20 69 66 00 28 48 65 61 |Init.end| if.(Hea|
|00003e00| 64 65 72 73 3d 72 65 70 | 6c 61 63 65 61 6c 6c 28 |ders=rep|laceall(|
|00003e10| 68 65 61 64 65 72 73 2c | 20 63 68 72 28 31 30 29 |headers,| chr(10)|
|00003e20| 2c 20 22 22 29 00 2a 46 | 6f 72 20 49 20 3d 20 32 |, "").*F|or I = 2|
|00003e30| 20 74 6f 20 63 6f 75 6e | 74 46 69 65 6c 64 73 28 | to coun|tFields(|
|00003e40| 48 65 61 64 65 72 73 2c | 20 63 68 72 28 31 33 29 |Headers,| chr(13)|
|00003e50| 29 00 38 74 3d 72 65 70 | 6c 61 63 65 61 6c 6c 28 |).8t=rep|laceall(|
|00003e60| 6e 74 68 46 69 65 6c 64 | 28 48 65 61 64 65 72 73 |nthField|(Headers|
|00003e70| 2c 20 63 68 72 28 31 33 | 29 2c 20 49 29 2c 20 63 |, chr(13|), I), c|
|00003e80| 68 72 28 31 30 29 2c 20 | 22 22 29 15 6e 3d 6e 74 |hr(10), |"").n=nt|
|00003e90| 68 46 69 65 6c 64 28 74 | 2c 20 22 3a 22 2c 20 31 |hField(t|, ":", 1|
|00003ea0| 29 19 76 3d 6d 69 64 28 | 74 2c 20 69 6e 73 74 72 |).v=mid(|t, instr|
|00003eb0| 28 74 2c 20 22 3a 22 29 | 2b 31 29 12 48 65 61 64 |(t, ":")|+1).Head|
|00003ec0| 65 72 4e 61 6d 2e 41 70 | 70 65 6e 64 20 6e 12 48 |erNam.Ap|pend n.H|
|00003ed0| 65 61 64 65 72 56 61 6c | 2e 41 70 70 65 6e 64 20 |eaderVal|.Append |
|00003ee0| 76 0d 73 65 6c 65 63 74 | 20 63 61 73 65 20 6e 15 |v.select| case n.|
|00003ef0| 63 61 73 65 20 22 43 6f | 6e 74 65 6e 74 2d 4c 65 |case "Co|ntent-Le|
|00003f00| 6e 67 74 68 22 12 74 6f | 74 61 6c 6c 65 6e 67 74 |ngth".to|tallengt|
|00003f10| 68 3d 76 61 6c 28 76 29 | 13 63 61 73 65 20 22 43 |h=val(v)|.case "C|
|00003f20| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 22 10 66 69 6c |ontent-T|ype".fil|
|00003f30| 65 74 79 70 65 3d 74 72 | 69 6d 28 76 29 00 0f 63 |etype=tr|im(v)..c|
|00003f40| 61 73 65 20 22 4c 6f 63 | 61 74 69 6f 6e 22 06 6e |ase "Loc|ation".n|
|00003f50| 55 52 4c 3d 76 00 17 63 | 61 73 65 20 22 57 57 57 |URL=v..c|ase "WWW|
|00003f60| 2d 41 75 74 68 65 6e 74 | 69 63 61 74 65 22 10 6c |-Authent|icate".l|
|00003f70| 6f 67 69 6e 36 34 3d 73 | 74 52 28 49 2d 31 29 00 |ogin64=s|tR(I-1).|
|00003f80| 0a 65 6e 64 20 73 65 6c | 65 63 74 00 04 6e 65 78 |.end sel|ect..nex|
|00003f90| 74 00 0f 52 65 63 65 69 | 76 65 64 48 65 61 64 65 |t..Recei|vedHeade|
|00003fa0| 72 73 00 10 69 66 20 6e | 55 52 4c 3c 3e 22 22 20 |rs..if n|URL<>"" |
|00003fb0| 74 68 65 6e 08 6d 65 2e | 43 6c 6f 73 65 15 63 3d |then.me.|Close.c=|
|00003fc0| 66 69 6c 65 2e 43 72 65 | 61 74 65 54 65 78 74 66 |file.Cre|ateTextf|
|00003fd0| 69 6c 65 07 63 2e 63 6c | 6f 73 65 0f 6e 55 52 4c |ile.c.cl|ose.nURL|
|00003fe0| 3d 74 72 69 6d 28 6e 55 | 52 4c 29 19 6e 75 6d 72 |=trim(nU|RL).numr|
|00003ff0| 65 66 65 72 65 72 73 3d | 6e 75 6d 72 65 66 65 72 |eferers=|numrefer|
|00004000| 65 72 73 2b 31 0d 49 3d | 6e 75 6d 72 65 66 65 72 |ers+1.I=|numrefer|
|00004010| 65 72 73 0c 69 66 20 69 | 3c 3d 36 20 74 68 65 6e |ers.if i|<=6 then|
|00004020| 17 47 65 74 48 54 54 50 | 20 46 6f 72 6d 61 74 55 |.GetHTTP| FormatU|
|00004030| 52 4c 28 6e 55 52 4c 29 | 1f 4c 6f 63 61 74 69 6f |RL(nURL)|.Locatio|
|00004040| 6e 43 68 61 6e 67 65 64 | 20 46 6f 72 6d 61 74 55 |nChanged| FormatU|
|00004050| 52 4c 28 6e 55 52 4c 29 | 0d 6e 75 6d 72 65 66 65 |RL(nURL)|.numrefe|
|00004060| 72 65 72 73 3d 69 04 65 | 6c 73 65 09 43 61 6e 63 |rers=i.e|lse.Canc|
|00004070| 65 6c 6c 65 64 0d 6e 75 | 6d 72 65 66 65 72 65 72 |elled.nu|mreferer|
|00004080| 73 3d 30 06 65 6e 64 20 | 69 66 06 65 6e 64 20 69 |s=0.end |if.end i|
|00004090| 66 07 45 6e 64 20 53 75 | 62 09 41 64 64 54 6f 46 |f.End Su|b.AddToF|
|000040a0| 69 6c 65 0b 74 20 61 73 | 20 73 74 72 69 6e 67 00 |ile.t as| string.|
|000040b0| 00 05 0e 05 0e 1c 1a 53 | 75 62 20 41 64 64 54 6f |.......S|ub AddTo|
|000040c0| 46 69 6c 65 28 74 20 61 | 73 20 73 74 72 69 6e 67 |File(t a|s string|
|000040d0| 29 1f 64 69 6d 20 62 70 | 73 20 61 73 20 73 69 6e |).dim bp|s as sin|
|000040e0| 67 6c 65 2c 20 74 72 20 | 61 73 20 73 69 6e 67 6c |gle, tr |as singl|
|000040f0| 65 19 64 69 6d 20 66 20 | 61 73 20 74 65 78 74 6f |e.dim f |as texto|
|00004100| 75 74 70 75 74 73 74 72 | 65 61 6d 00 12 69 66 20 |utputstr|eam..if |
|00004110| 6e 6f 74 20 49 6e 69 74 | 65 64 20 74 68 65 6e 0e |not Init|ed then.|
|00004120| 68 74 74 70 53 6f 63 6b | 65 74 49 6e 69 74 06 65 |httpSock|etInit.e|
|00004130| 6e 64 20 69 66 00 0b 74 | 65 78 74 3d 74 65 78 74 |nd if..t|ext=text|
|00004140| 2b 74 00 16 66 69 6c 65 | 6c 65 6e 3d 66 69 6c 65 |+t..file|len=file|
|00004150| 6c 65 6e 2b 6c 65 6e 28 | 74 29 00 23 69 66 20 54 |len+len(|t).#if T|
|00004160| 69 63 6b 73 2d 4c 61 73 | 74 4d 44 3e 3d 4d 6f 72 |icks-Las|tMD>=Mor|
|00004170| 65 44 61 74 61 44 65 6c | 61 79 20 74 68 65 6e 2c |eDataDel|ay then,|
|00004180| 62 70 73 3d 28 66 69 6c | 65 6c 65 6e 2d 4c 61 73 |bps=(fil|elen-Las|
|00004190| 74 41 6d 6f 75 6e 74 29 | 2f 28 28 54 69 63 6b 73 |tAmount)|/((Ticks|
|000041a0| 2d 4c 61 73 74 4d 44 29 | 2f 36 30 29 12 4c 61 73 |-LastMD)|/60).Las|
|000041b0| 74 41 6d 6f 75 6e 74 3d | 66 69 6c 65 6c 65 6e 0c |tAmount=|filelen.|
|000041c0| 4c 61 73 74 4d 44 3d 74 | 69 63 6b 73 00 37 4d 6f |LastMD=t|icks.7Mo|
|000041d0| 72 65 44 61 74 61 20 66 | 69 6c 65 6c 65 6e 2c 20 |reData f|ilelen, |
|000041e0| 74 6f 74 61 6c 4c 65 6e | 67 74 68 2c 20 66 69 6c |totalLen|gth, fil|
|000041f0| 65 6c 65 6e 2f 74 6f 74 | 61 6c 4c 65 6e 67 74 68 |elen/tot|alLength|
|00004200| 2c 20 62 70 73 06 65 6e | 64 20 69 66 00 1c 69 66 |, bps.en|d if..if|
|00004210| 20 6c 65 6e 28 74 65 78 | 74 29 3e 42 75 66 66 65 | len(tex|t)>Buffe|
|00004220| 72 53 69 7a 65 20 74 68 | 65 6e 1f 2f 2f 20 57 72 |rSize th|en.// Wr|
|00004230| 69 74 65 20 69 6e 20 75 | 73 65 72 2d 64 65 66 69 |ite in u|ser-defi|
|00004240| 6e 65 64 20 63 68 75 6e | 6b 73 17 66 3d 66 69 6c |ned chun|ks.f=fil|
|00004250| 65 2e 41 70 70 65 6e 64 | 54 6f 54 65 78 74 46 69 |e.Append|ToTextFi|
|00004260| 6c 65 0c 66 2e 57 72 69 | 74 65 20 74 65 78 74 07 |le.f.Wri|te text.|
|00004270| 66 2e 43 6c 6f 73 65 07 | 74 65 78 74 3d 22 22 06 |f.Close.|text="".|
|00004280| 65 6e 64 20 69 66 07 45 | 6e 64 20 53 75 62 0a 47 |end if.E|nd Sub.G|
|00004290| 65 74 44 72 6f 70 4f 66 | 66 0b 74 20 61 73 20 73 |etDropOf|f.t as s|
|000042a0| 74 72 69 6e 67 07 69 6e | 74 65 67 65 72 00 04 0e |tring.in|teger...|
|000042b0| 04 0e 17 2b 46 75 6e 63 | 74 69 6f 6e 20 47 65 74 |...+Func|tion Get|
|000042c0| 44 72 6f 70 4f 66 66 28 | 74 20 61 73 20 73 74 72 |DropOff(|t as str|
|000042d0| 69 6e 67 29 20 41 73 20 | 69 6e 74 65 67 65 72 20 |ing) As |integer |
|000042e0| 64 69 6d 20 49 2c 20 6e | 20 61 73 20 69 6e 74 65 |dim I, n| as inte|
|000042f0| 67 65 72 2c 20 6c 20 61 | 73 20 73 74 72 69 6e 67 |ger, l a|s string|
|00004300| 00 12 69 66 20 6e 6f 74 | 20 49 6e 69 74 65 64 20 |..if not| Inited |
|00004310| 74 68 65 6e 0e 68 74 74 | 70 53 6f 63 6b 65 74 49 |then.htt|pSocketI|
|00004320| 6e 69 74 06 65 6e 64 20 | 69 66 00 03 6e 3d 30 00 |nit.end |if..n=0.|
|00004330| 0b 69 66 20 6e 3d 31 20 | 74 68 65 6e 24 46 6f 72 |.if n=1 |then$For|
|00004340| 20 49 20 3d 20 31 20 74 | 6f 20 63 6f 75 6e 74 46 | I = 1 t|o countF|
|00004350| 69 65 6c 64 73 28 74 2c | 20 63 68 72 28 31 33 29 |ields(t,| chr(13)|
|00004360| 29 19 6c 3d 6e 74 68 46 | 69 65 6c 64 28 74 2c 20 |).l=nthF|ield(t, |
|00004370| 63 68 72 28 31 33 29 2c | 20 49 29 24 69 66 20 6c |chr(13),| I)$if l|
|00004380| 65 66 74 28 6c 2c 20 31 | 34 29 3d 22 43 6f 6e 74 |eft(l, 1|4)="Cont|
|00004390| 65 6e 74 2d 54 79 70 65 | 3a 20 22 20 74 68 65 6e |ent-Type|: " then|
|000043a0| 00 1b 72 65 74 75 72 6e | 20 69 6e 73 74 72 28 74 |..return| instr(t|
|000043b0| 2c 20 6c 29 2b 6c 65 6e | 28 6c 29 2b 32 06 65 6e |, l)+len|(l)+2.en|
|000043c0| 64 20 69 66 04 6e 65 78 | 74 00 0f 65 6c 73 65 69 |d if.nex|t..elsei|
|000043d0| 66 20 6e 3d 30 20 74 68 | 65 6e 23 6e 3d 69 6e 73 |f n=0 th|en#n=ins|
|000043e0| 74 72 28 74 2c 20 63 68 | 72 28 31 30 29 2b 63 68 |tr(t, ch|r(10)+ch|
|000043f0| 72 28 31 33 29 2b 63 68 | 72 28 31 30 29 29 0a 72 |r(13)+ch|r(10)).r|
|00004400| 65 74 75 72 6e 20 6e 2b | 33 06 65 6e 64 20 69 66 |eturn n+|3.end if|
|00004410| 0c 45 6e 64 20 46 75 6e | 63 74 69 6f 6e 09 46 6f |.End Fun|ction.Fo|
|00004420| 72 6d 61 74 55 52 4c 0e | 74 55 52 4c 20 61 73 20 |rmatURL.|tURL as |
|00004430| 73 74 72 69 6e 67 06 73 | 74 72 69 6e 67 00 04 0e |string.s|tring...|
|00004440| 04 0e 17 2c 46 75 6e 63 | 74 69 6f 6e 20 46 6f 72 |...,Func|tion For|
|00004450| 6d 61 74 55 52 4c 28 74 | 55 52 4c 20 61 73 20 73 |matURL(t|URL as s|
|00004460| 74 72 69 6e 67 29 20 41 | 73 20 73 74 72 69 6e 67 |tring) A|s string|
|00004470| 1d 64 69 6d 20 55 52 4c | 2c 20 73 65 72 76 2c 20 |.dim URL|, serv, |
|00004480| 70 61 74 68 20 61 73 20 | 73 74 72 69 6e 67 00 12 |path as |string..|
|00004490| 69 66 20 6e 6f 74 20 49 | 6e 69 74 65 64 20 74 68 |if not I|nited th|
|000044a0| 65 6e 0e 68 74 74 70 53 | 6f 63 6b 65 74 49 6e 69 |en.httpS|ocketIni|
|000044b0| 74 06 65 6e 64 20 69 66 | 00 08 55 52 4c 3d 74 55 |t.end if|..URL=tU|
|000044c0| 52 4c 00 29 69 66 20 6c | 6f 77 65 72 63 61 73 65 |RL.)if l|owercase|
|000044d0| 28 6c 65 66 74 28 55 52 | 4c 2c 20 37 29 29 3d 22 |(left(UR|L, 7))="|
|000044e0| 68 74 74 70 3a 2f 2f 22 | 20 74 68 65 6e 0f 55 52 |http://"| then.UR|
|000044f0| 4c 3d 6d 69 64 28 55 52 | 4c 2c 20 38 29 06 65 6e |L=mid(UR|L, 8).en|
|00004500| 64 20 69 66 00 19 69 66 | 20 69 6e 73 74 72 28 55 |d if..if| instr(U|
|00004510| 52 4c 2c 20 22 2f 22 29 | 3e 30 20 74 68 65 6e 21 |RL, "/")|>0 then!|
|00004520| 73 65 72 76 3d 6c 65 66 | 74 28 55 52 4c 2c 20 69 |serv=lef|t(URL, i|
|00004530| 6e 73 74 72 28 55 52 4c | 2c 20 22 2f 22 29 2d 31 |nstr(URL|, "/")-1|
|00004540| 29 1e 70 61 74 68 3d 6d | 69 64 28 55 52 4c 2c 20 |).path=m|id(URL, |
|00004550| 69 6e 73 74 72 28 55 52 | 4c 2c 20 22 2f 22 29 29 |instr(UR|L, "/"))|
|00004560| 04 65 6c 73 65 08 73 65 | 72 76 3d 55 52 4c 08 70 |.else.se|rv=URL.p|
|00004570| 61 74 68 3d 22 2f 22 06 | 65 6e 64 20 69 66 00 1a |ath="/".|end if..|
|00004580| 72 65 74 75 72 6e 20 22 | 68 74 74 70 3a 2f 2f 22 |return "|http://"|
|00004590| 2b 73 65 72 76 2b 70 61 | 74 68 0c 45 6e 64 20 46 |+serv+pa|th.End F|
|000045a0| 75 6e 63 74 69 6f 6e 07 | 47 65 74 46 69 6c 65 0e |unction.|GetFile.|
|000045b0| 74 55 52 4c 20 61 73 20 | 73 74 72 69 6e 67 00 00 |tURL as |string..|
|000045c0| 06 00 06 00 1d 1b 53 75 | 62 20 47 65 74 46 69 6c |......Su|b GetFil|
|000045d0| 65 28 74 55 52 4c 20 61 | 73 20 73 74 72 69 6e 67 |e(tURL a|s string|
|000045e0| 29 21 64 69 6d 20 66 20 | 61 73 20 66 6f 6c 64 65 |)!dim f |as folde|
|000045f0| 72 69 74 65 6d 2c 20 49 | 20 61 73 20 69 6e 74 65 |ritem, I| as inte|
|00004600| 67 65 72 00 12 69 66 20 | 6e 6f 74 20 49 6e 69 74 |ger..if |not Init|
|00004610| 65 64 20 74 68 65 6e 0e | 68 74 74 70 53 6f 63 6b |ed then.|httpSock|
|00004620| 65 74 49 6e 69 74 06 65 | 6e 64 20 69 66 00 11 66 |etInit.e|nd if..f|
|00004630| 3d 54 65 6d 70 6f 72 61 | 72 79 46 6f 6c 64 65 72 |=Tempora|ryFolder|
|00004640| 05 49 20 3d 20 31 00 02 | 44 6f 2e 69 66 20 6e 6f |.I = 1..|Do.if no|
|00004650| 74 20 66 2e 43 68 69 6c | 64 28 22 52 42 20 48 54 |t f.Chil|d("RB HT|
|00004660| 54 50 20 23 22 2b 73 74 | 72 28 49 29 29 2e 45 78 |TP #"+st|r(I)).Ex|
|00004670| 69 73 74 73 20 74 68 65 | 6e 04 65 78 69 74 06 65 |ists the|n.exit.e|
|00004680| 6e 64 20 69 66 05 49 3d | 49 2b 31 04 6c 6f 6f 70 |nd if.I=|I+1.loop|
|00004690| 00 1d 66 3d 66 2e 43 68 | 69 6c 64 28 22 52 42 20 |..f=f.Ch|ild("RB |
|000046a0| 48 54 54 50 20 23 22 2b | 73 74 72 28 49 29 29 00 |HTTP #"+|str(I)).|
|000046b0| 06 46 69 6c 65 3d 46 00 | 18 49 66 20 4c 6f 67 69 |.File=F.|.If Logi|
|000046c0| 6e 41 6e 64 50 61 73 73 | 3c 3e 22 22 20 74 68 65 |nAndPass|<>"" the|
|000046d0| 6e 1f 4c 6f 67 69 6e 36 | 34 3d 47 65 74 42 61 73 |n.Login6|4=GetBas|
|000046e0| 65 36 34 28 4c 6f 67 69 | 6e 41 6e 64 50 61 73 73 |e64(Logi|nAndPass|
|000046f0| 29 0f 4c 6f 67 69 6e 41 | 6e 64 50 61 73 73 3d 22 |).LoginA|ndPass="|
|00004700| 22 06 65 6e 64 20 69 66 | 00 08 44 4c 54 79 70 65 |".end if|..DLType|
|00004710| 3d 31 0c 47 65 74 48 54 | 54 50 20 74 55 52 4c 07 |=1.GetHT|TP tURL.|
|00004720| 45 6e 64 20 53 75 62 08 | 44 6f 77 6e 6c 6f 61 64 |End Sub.|Download|
|00004730| 1e 55 52 4c 20 61 73 20 | 73 74 72 69 6e 67 2c 20 |.URL as |string, |
|00004740| 66 20 61 73 20 66 6f 6c | 64 65 72 69 74 65 6d 00 |f as fol|deritem.|
|00004750| 00 02 0e 02 0e 0e 2c 53 | 75 62 20 44 6f 77 6e 6c |......,S|ub Downl|
|00004760| 6f 61 64 28 55 52 4c 20 | 61 73 20 73 74 72 69 6e |oad(URL |as strin|
|00004770| 67 2c 20 66 20 61 73 20 | 66 6f 6c 64 65 72 69 74 |g, f as |folderit|
|00004780| 65 6d 29 12 69 66 20 6e | 6f 74 20 49 6e 69 74 65 |em).if n|ot Inite|
|00004790| 64 20 74 68 65 6e 0e 68 | 74 74 70 53 6f 63 6b 65 |d then.h|ttpSocke|
|000047a0| 74 49 6e 69 74 06 65 6e | 64 20 69 66 00 18 49 66 |tInit.en|d if..If|
|000047b0| 20 4c 6f 67 69 6e 41 6e | 64 50 61 73 73 3c 3e 22 | LoginAn|dPass<>"|
|000047c0| 22 20 74 68 65 6e 1f 4c | 6f 67 69 6e 36 34 3d 47 |" then.L|ogin64=G|
|000047d0| 65 74 42 61 73 65 36 34 | 28 4c 6f 67 69 6e 41 6e |etBase64|(LoginAn|
|000047e0| 64 50 61 73 73 29 0f 4c | 6f 67 69 6e 41 6e 64 50 |dPass).L|oginAndP|
|000047f0| 61 73 73 3d 22 22 06 65 | 6e 64 20 69 66 00 06 66 |ass="".e|nd if..f|
|00004800| 69 6c 65 3d 66 08 44 4c | 54 79 70 65 3d 30 0b 47 |ile=f.DL|Type=0.G|
|00004810| 65 74 48 54 54 50 20 55 | 52 4c 07 45 6e 64 20 53 |etHTTP U|RL.End S|
|00004820| 75 62 09 44 6f 43 6f 6e | 6e 65 63 74 1e 73 65 72 |ub.DoCon|nect.ser|
|00004830| 76 20 61 73 20 73 74 72 | 69 6e 67 2c 20 70 61 74 |v as str|ing, pat|
|00004840| 68 20 61 73 20 73 74 72 | 69 6e 67 00 00 05 0e 05 |h as str|ing.....|
|00004850| 0e a1 01 2d 53 75 62 20 | 44 6f 43 6f 6e 6e 65 63 |...-Sub |DoConnec|
|00004860| 74 28 73 65 72 76 20 61 | 73 20 73 74 72 69 6e 67 |t(serv a|s string|
|00004870| 2c 20 70 61 74 68 20 61 | 73 20 73 74 72 69 6e 67 |, path a|s string|
|00004880| 29 18 64 69 6d 20 63 72 | 6c 66 2c 20 68 6f 73 74 |).dim cr|lf, host|
|00004890| 20 61 73 20 73 74 72 69 | 6e 67 14 63 72 6c 66 3d | as stri|ng.crlf=|
|000048a0| 63 68 72 28 31 33 29 2b | 63 68 72 28 31 30 29 00 |chr(13)+|chr(10).|
|000048b0| 12 69 66 20 6e 6f 74 20 | 49 6e 69 74 65 64 20 74 |.if not |Inited t|
|000048c0| 68 65 6e 0e 68 74 74 70 | 53 6f 63 6b 65 74 49 6e |hen.http|SocketIn|
|000048d0| 69 74 06 65 6e 64 20 69 | 66 00 16 69 66 20 70 72 |it.end i|f..if pr|
|000048e0| 6f 78 79 73 65 72 76 65 | 72 3d 22 22 20 74 68 65 |oxyserve|r="" the|
|000048f0| 6e 00 1a 69 66 20 49 6e | 73 74 72 28 73 65 72 76 |n..if In|str(serv|
|00004900| 2c 20 22 3a 22 29 3e 30 | 20 74 68 65 6e 23 6d 65 |, ":")>0| then#me|
|00004910| 2e 50 6f 72 74 3d 76 61 | 6c 28 6e 74 68 46 69 65 |.Port=va|l(nthFie|
|00004920| 6c 64 28 73 65 72 76 2c | 20 22 3a 22 2c 20 32 29 |ld(serv,| ":", 2)|
|00004930| 29 21 6d 65 2e 41 64 64 | 72 65 73 73 3d 6e 74 68 |)!me.Add|ress=nth|
|00004940| 46 69 65 6c 64 28 73 65 | 72 76 2c 20 22 3a 22 2c |Field(se|rv, ":",|
|00004950| 20 31 29 20 68 6f 73 74 | 3d 6d 65 2e 41 64 64 72 | 1) host|=me.Addr|
|00004960| 65 73 73 2b 22 3a 22 2b | 73 74 72 28 6d 65 2e 70 |ess+":"+|str(me.p|
|00004970| 6f 72 74 29 04 65 6c 73 | 65 0a 6d 65 2e 50 6f 72 |ort).els|e.me.Por|
|00004980| 74 3d 38 30 0f 6d 65 2e | 41 64 64 72 65 73 73 3d |t=80.me.|Address=|
|00004990| 73 65 72 76 09 48 6f 73 | 74 3d 73 65 72 76 06 65 |serv.Hos|t=serv.e|
|000049a0| 6e 64 20 69 66 00 2b 27 | 69 66 20 73 65 72 76 3c |nd if.+'|if serv<|
|000049b0| 3e 63 75 72 53 65 72 76 | 65 72 20 6f 72 20 28 6e |>curServ|er or (n|
|000049c0| 6f 74 20 4b 65 65 70 41 | 6c 69 76 65 29 20 74 68 |ot KeepA|live) th|
|000049d0| 65 6e 0a 6d 65 2e 43 6f | 6e 6e 65 63 74 07 27 65 |en.me.Co|nnect.'e|
|000049e0| 6e 64 20 69 66 00 12 69 | 66 20 4d 65 74 68 6f 64 |nd if..i|f Method|
|000049f0| 3d 47 65 74 20 74 68 65 | 6e 14 69 66 20 50 6f 73 |=Get the|n.if Pos|
|00004a00| 74 44 61 74 61 3c 3e 22 | 22 20 74 68 65 6e 32 6d |tData<>"|" then2m|
|00004a10| 65 2e 77 72 69 74 65 20 | 22 47 45 54 20 22 2b 70 |e.write |"GET "+p|
|00004a20| 61 74 68 2b 22 3f 22 2b | 50 6f 73 74 44 61 74 61 |ath+"?"+|PostData|
|00004a30| 2b 22 20 48 54 54 50 2f | 31 2e 31 22 2b 63 72 6c |+" HTTP/|1.1"+crl|
|00004a40| 66 0b 50 6f 73 74 44 61 | 74 61 3d 22 22 04 65 6c |f.PostDa|ta="".el|
|00004a50| 73 65 25 6d 65 2e 77 72 | 69 74 65 20 22 47 45 54 |se%me.wr|ite "GET|
|00004a60| 20 22 2b 70 61 74 68 2b | 22 20 48 54 54 50 2f 31 | "+path+|" HTTP/1|
|00004a70| 2e 31 22 2b 63 72 6c 66 | 06 65 6e 64 20 69 66 17 |.1"+crlf|.end if.|
|00004a80| 65 6c 73 65 69 66 20 4d | 65 74 68 6f 64 3d 50 6f |elseif M|ethod=Po|
|00004a90| 73 74 20 74 68 65 6e 27 | 6d 65 2e 77 72 69 74 65 |st then'|me.write|
|00004aa0| 20 22 50 4f 53 54 20 22 | 2b 70 61 74 68 2b 22 3f | "POST "|+path+"?|
|00004ab0| 20 48 54 54 50 2f 31 2e | 31 22 2b 63 72 6c 66 06 | HTTP/1.|1"+crlf.|
|00004ac0| 65 6e 64 20 69 66 00 12 | 27 69 66 20 4b 65 65 70 |end if..|'if Keep|
|00004ad0| 41 6c 69 76 65 20 74 68 | 65 6e 27 27 6d 65 2e 57 |Alive th|en''me.W|
|00004ae0| 72 69 74 65 20 22 43 6f | 6e 6e 65 63 74 69 6f 6e |rite "Co|nnection|
|00004af0| 3a 20 4b 65 65 70 2d 41 | 6c 69 76 65 22 2b 63 72 |: Keep-A|live"+cr|
|00004b00| 6c 66 07 27 65 6e 64 20 | 69 66 00 32 6d 65 2e 77 |lf.'end |if.2me.w|
|00004b10| 72 69 74 65 20 22 55 73 | 65 72 2d 41 67 65 6e 74 |rite "Us|er-Agent|
|00004b20| 3a 20 22 2b 43 6c 69 65 | 6e 74 2b 22 20 28 4d 61 |: "+Clie|nt+" (Ma|
|00004b30| 63 69 6e 74 6f 73 68 29 | 22 2b 63 72 6c 66 1b 6d |cintosh)|"+crlf.m|
|00004b40| 65 2e 77 72 69 74 65 20 | 22 48 6f 73 74 3a 20 22 |e.write |"Host: "|
|00004b50| 2b 48 6f 73 74 2b 63 72 | 6c 66 13 69 66 20 4c 6f |+Host+cr|lf.if Lo|
|00004b60| 67 69 6e 36 34 3c 3e 22 | 22 20 74 68 65 6e 2d 6d |gin64<>"|" then-m|
|00004b70| 65 2e 57 72 69 74 65 20 | 22 41 75 74 68 6f 72 69 |e.Write |"Authori|
|00004b80| 7a 61 74 69 6f 6e 3a 20 | 42 61 73 69 63 20 22 2b |zation: |Basic "+|
|00004b90| 4c 6f 67 69 6e 36 34 2b | 63 72 6c 66 06 65 6e 64 |Login64+|crlf.end|
|00004ba0| 20 69 66 27 69 66 20 4d | 65 74 68 6f 64 3d 50 6f | if'if M|ethod=Po|
|00004bb0| 73 74 20 61 6e 64 20 6c | 65 6e 28 50 6f 73 74 44 |st and l|en(PostD|
|00004bc0| 61 74 61 29 3e 30 20 74 | 68 65 6e 08 50 6f 73 74 |ata)>0 t|hen.Post|
|00004bd0| 46 6f 72 6d 06 65 6e 64 | 20 69 66 0d 6d 65 2e 77 |Form.end| if.me.w|
|00004be0| 72 69 74 65 20 63 72 6c | 66 0a 4c 6f 67 69 6e 36 |rite crl|f.Login6|
|00004bf0| 34 3d 22 22 04 65 6c 73 | 65 00 14 69 66 20 50 72 |4="".els|e..if Pr|
|00004c00| 6f 78 79 50 6f 72 74 3c | 3e 30 20 74 68 65 6e 11 |oxyPort<|>0 then.|
|00004c10| 6d 65 2e 50 6f 72 74 3d | 50 72 6f 78 79 50 6f 72 |me.Port=|ProxyPor|
|00004c20| 74 16 6d 65 2e 41 64 64 | 72 65 73 73 3d 50 72 6f |t.me.Add|ress=Pro|
|00004c30| 78 79 53 65 72 76 65 72 | 04 65 6c 73 65 0a 6d 65 |xyServer|.else.me|
|00004c40| 2e 50 6f 72 74 3d 38 30 | 16 6d 65 2e 41 64 64 72 |.Port=80|.me.Addr|
|00004c50| 65 73 73 3d 50 72 6f 78 | 79 53 65 72 76 65 72 06 |ess=Prox|yServer.|
|00004c60| 65 6e 64 20 69 66 00 2b | 27 69 66 20 53 65 72 76 |end if.+|'if Serv|
|00004c70| 3c 3e 63 75 72 53 65 72 | 76 65 72 20 6f 72 20 28 |<>curSer|ver or (|
|00004c80| 6e 6f 74 20 4b 65 65 70 | 41 6c 69 76 65 29 20 74 |not Keep|Alive) t|
|00004c90| 68 65 6e 0a 6d 65 2e 43 | 6f 6e 6e 65 63 74 05 27 |hen.me.C|onnect.'|
|00004ca0| 62 65 65 70 07 27 65 6e | 64 20 69 66 00 12 69 66 |beep.'en|d if..if|
|00004cb0| 20 4d 65 74 68 6f 64 3d | 47 65 74 20 74 68 65 6e | Method=|Get then|
|00004cc0| 14 69 66 20 50 6f 73 74 | 44 61 74 61 3c 3e 22 22 |.if Post|Data<>""|
|00004cd0| 20 74 68 65 6e 3e 6d 65 | 2e 77 72 69 74 65 20 22 | then>me|.write "|
|00004ce0| 47 45 54 20 68 74 74 70 | 3a 2f 2f 22 2b 73 65 72 |GET http|://"+ser|
|00004cf0| 76 2b 70 61 74 68 2b 22 | 3f 22 2b 50 6f 73 74 44 |v+path+"|?"+PostD|
|00004d00| 61 74 61 2b 22 20 48 54 | 54 50 2f 31 2e 31 22 2b |ata+" HT|TP/1.1"+|
|00004d10| 63 72 6c 66 0b 50 6f 73 | 74 44 61 74 61 3d 22 22 |crlf.Pos|tData=""|
|00004d20| 04 65 6c 73 65 31 6d 65 | 2e 77 72 69 74 65 20 22 |.else1me|.write "|
|00004d30| 47 45 54 20 68 74 74 70 | 3a 2f 2f 22 2b 73 65 72 |GET http|://"+ser|
|00004d40| 76 2b 70 61 74 68 2b 22 | 20 48 54 54 50 2f 31 2e |v+path+"| HTTP/1.|
|00004d50| 31 22 2b 63 72 6c 66 06 | 65 6e 64 20 69 66 31 6d |1"+crlf.|end if1m|
|00004d60| 65 2e 77 72 69 74 65 20 | 22 47 45 54 20 68 74 74 |e.write |"GET htt|
|00004d70| 70 3a 2f 2f 22 2b 73 65 | 72 76 2b 70 61 74 68 2b |p://"+se|rv+path+|
|00004d80| 22 20 48 54 54 50 2f 31 | 2e 31 22 2b 63 72 6c 66 |" HTTP/1|.1"+crlf|
|00004d90| 04 65 6c 73 65 33 6d 65 | 2e 57 72 69 74 65 20 22 |.else3me|.Write "|
|00004da0| 50 4f 53 54 20 68 74 74 | 70 3a 2f 2f 22 2b 73 65 |POST htt|p://"+se|
|00004db0| 72 76 2b 70 61 74 68 2b | 22 3f 20 48 54 54 50 2f |rv+path+|"? HTTP/|
|00004dc0| 31 2e 31 22 2b 63 72 6c | 66 06 65 6e 64 20 69 66 |1.1"+crl|f.end if|
|00004dd0| 00 12 27 69 66 20 4b 65 | 65 70 41 6c 69 76 65 20 |..'if Ke|epAlive |
|00004de0| 74 68 65 6e 27 27 6d 65 | 2e 57 72 69 74 65 20 22 |then''me|.Write "|
|00004df0| 43 6f 6e 6e 65 63 74 69 | 6f 6e 3a 20 4b 65 65 70 |Connecti|on: Keep|
|00004e00| 2d 41 6c 69 76 65 22 2b | 63 72 6c 66 07 27 65 6e |-Alive"+|crlf.'en|
|00004e10| 64 20 69 66 00 32 6d 65 | 2e 77 72 69 74 65 20 22 |d if.2me|.write "|
|00004e20| 55 73 65 72 2d 41 67 65 | 6e 74 3a 20 22 2b 43 6c |User-Age|nt: "+Cl|
|00004e30| 69 65 6e 74 2b 22 20 28 | 4d 61 63 69 6e 74 6f 73 |ient+" (|Macintos|
|00004e40| 68 29 22 2b 63 72 6c 66 | 00 00 13 69 66 20 6c 6f |h)"+crlf|...if lo|
|00004e50| 67 69 6e 36 34 3c 3e 22 | 22 20 74 68 65 6e 2d 6d |gin64<>"|" then-m|
|00004e60| 65 2e 57 72 69 74 65 20 | 22 41 75 74 68 6f 72 69 |e.Write |"Authori|
|00004e70| 7a 61 74 69 6f 6e 3a 20 | 42 61 73 69 63 20 22 2b |zation: |Basic "+|
|00004e80| 4c 6f 67 69 6e 36 34 2b | 63 72 6c 66 06 65 6e 64 |Login64+|crlf.end|
|00004e90| 20 69 66 00 27 69 66 20 | 4d 65 74 68 6f 64 3d 50 | if.'if |Method=P|
|00004ea0| 6f 73 74 20 61 6e 64 20 | 6c 65 6e 28 50 6f 73 74 |ost and |len(Post|
|00004eb0| 44 61 74 61 29 3e 30 20 | 74 68 65 6e 08 50 6f 73 |Data)>0 |then.Pos|
|00004ec0| 74 46 6f 72 6d 06 65 6e | 64 20 69 66 0d 6d 65 2e |tForm.en|d if.me.|
|00004ed0| 77 72 69 74 65 20 63 72 | 6c 66 0a 4c 6f 67 69 6e |write cr|lf.Login|
|00004ee0| 36 34 3d 22 22 06 65 6e | 64 20 69 66 00 0a 6c 6f |64="".en|d if..lo|
|00004ef0| 67 69 6e 36 34 3d 22 22 | 0e 63 75 72 53 65 72 76 |gin64=""|.curServ|
|00004f00| 65 72 3d 53 65 72 76 07 | 45 6e 64 20 53 75 62 09 |er=Serv.|End Sub.|
|00004f10| 47 65 74 52 65 6c 55 52 | 4c 23 62 61 73 65 55 52 |GetRelUR|L#baseUR|
|00004f20| 4c 20 61 73 20 73 74 72 | 69 6e 67 2c 20 72 65 6c |L as str|ing, rel|
|00004f30| 55 52 4c 20 61 73 20 73 | 74 72 69 6e 67 06 73 74 |URL as s|tring.st|
|00004f40| 72 69 6e 67 00 04 0e 04 | 0e 24 81 01 46 75 6e 63 |ring....|.$..Func|
|00004f50| 74 69 6f 6e 20 47 65 74 | 52 65 6c 55 52 4c 28 62 |tion Get|RelURL(b|
|00004f60| 61 73 65 55 52 4c 20 61 | 73 20 73 74 72 69 6e 67 |aseURL a|s string|
|00004f70| 2c 20 72 65 6c 55 52 4c | 20 61 73 20 73 74 72 69 |, relURL| as stri|
|00004f80| 6e 67 29 20 41 73 20 73 | 74 72 69 6e 67 20 64 69 |ng) As s|tring di|
|00004f90| 6d 20 49 20 61 73 20 69 | 6e 74 65 67 65 72 2c 20 |m I as i|nteger, |
|00004fa0| 62 2c 20 6c 20 61 73 20 | 73 74 72 69 6e 67 00 12 |b, l as |string..|
|00004fb0| 69 66 20 6e 6f 74 20 49 | 6e 69 74 65 64 20 74 68 |if not I|nited th|
|00004fc0| 65 6e 0e 68 74 74 70 53 | 6f 63 6b 65 74 49 6e 69 |en.httpS|ocketIni|
|00004fd0| 74 06 65 6e 64 20 69 66 | 00 1d 69 66 20 69 6e 73 |t.end if|..if ins|
|00004fe0| 74 72 28 72 65 6c 55 52 | 4c 2c 20 22 2e 2e 22 29 |tr(relUR|L, "..")|
|00004ff0| 3d 30 20 74 68 65 6e 1d | 49 66 20 52 69 67 68 74 |=0 then.|If Right|
|00005000| 28 62 61 73 65 55 52 4c | 2c 20 31 29 3d 22 2f 22 |(baseURL|, 1)="/"|
|00005010| 20 74 68 65 6e 15 72 65 | 74 75 72 6e 20 62 61 73 | then.re|turn bas|
|00005020| 65 55 52 4c 2b 72 65 6c | 55 52 4c 04 65 6c 73 65 |eURL+rel|URL.else|
|00005030| 20 72 65 74 75 72 6e 20 | 54 72 69 6d 54 6f 44 69 | return |TrimToDi|
|00005040| 72 28 62 61 73 65 55 52 | 4c 29 2b 72 65 6c 55 52 |r(baseUR|L)+relUR|
|00005050| 4c 06 65 6e 64 20 69 66 | 00 04 65 6c 73 65 09 62 |L.end if|..else.b|
|00005060| 3d 62 61 73 65 55 52 4c | 00 17 69 66 20 72 69 67 |=baseURL|..if rig|
|00005070| 68 74 28 62 2c 20 31 29 | 3d 22 2f 22 20 74 68 65 |ht(b, 1)|="/" the|
|00005080| 6e 0e 62 3d 54 72 69 6d | 54 6f 44 69 72 28 62 29 |n.b=Trim|ToDir(b)|
|00005090| 06 65 6e 64 20 69 66 00 | 25 66 6f 72 20 49 20 3d |.end if.|%for I =|
|000050a0| 20 31 20 74 6f 20 63 6f | 75 6e 74 66 69 65 6c 64 | 1 to co|untfield|
|000050b0| 73 28 72 65 6c 55 52 4c | 2c 20 22 2f 22 29 1a 6c |s(relURL|, "/").l|
|000050c0| 3d 6e 74 68 46 69 65 6c | 64 28 72 65 6c 55 52 4c |=nthFiel|d(relURL|
|000050d0| 2c 20 22 2f 22 2c 20 49 | 29 0e 69 66 20 6c 3d 22 |, "/", I|).if l="|
|000050e0| 2e 2e 22 20 74 68 65 6e | 0e 62 3d 54 72 69 6d 54 |.." then|.b=TrimT|
|000050f0| 6f 44 69 72 28 62 29 27 | 65 6c 73 65 69 66 20 49 |oDir(b)'|elseif I|
|00005100| 3c 3e 63 6f 75 6e 74 46 | 69 65 6c 64 73 28 72 65 |<>countF|ields(re|
|00005110| 6c 55 52 4c 2c 20 22 2f | 22 29 20 74 68 65 6e 09 |lURL, "/|") then.|
|00005120| 62 3d 62 2b 6c 2b 22 2f | 22 04 65 6c 73 65 05 62 |b=b+l+"/|".else.b|
|00005130| 3d 62 2b 6c 06 65 6e 64 | 20 69 66 04 6e 65 78 74 |=b+l.end| if.next|
|00005140| 08 72 65 74 75 72 6e 20 | 62 00 06 65 6e 64 20 69 |.return |b..end i|
|00005150| 66 00 0c 45 6e 64 20 46 | 75 6e 63 74 69 6f 6e 09 |f..End F|unction.|
|00005160| 54 72 69 6d 54 6f 44 69 | 72 0b 74 20 61 73 20 73 |TrimToDi|r.t as s|
|00005170| 74 72 69 6e 67 06 73 74 | 72 69 6e 67 00 04 0e 04 |tring.st|ring....|
|00005180| 0e 0e 29 46 75 6e 63 74 | 69 6f 6e 20 54 72 69 6d |..)Funct|ion Trim|
|00005190| 54 6f 44 69 72 28 74 20 | 61 73 20 73 74 72 69 6e |ToDir(t |as strin|
|000051a0| 67 29 20 41 73 20 73 74 | 72 69 6e 67 0f 64 69 6d |g) As st|ring.dim|
|000051b0| 20 62 20 61 73 20 73 74 | 72 69 6e 67 00 12 69 66 | b as st|ring..if|
|000051c0| 20 6e 6f 74 20 49 6e 69 | 74 65 64 20 74 68 65 6e | not Ini|ted then|
|000051d0| 0e 68 74 74 70 53 6f 63 | 6b 65 74 49 6e 69 74 06 |.httpSoc|ketInit.|
|000051e0| 65 6e 64 20 69 66 00 13 | 62 3d 6c 65 66 74 28 74 |end if..|b=left(t|
|000051f0| 2c 20 6c 65 6e 28 74 29 | 2d 31 29 20 77 68 69 6c |, len(t)|-1) whil|
|00005200| 65 20 72 69 67 68 74 28 | 62 2c 20 31 29 3c 3e 22 |e right(|b, 1)<>"|
|00005210| 2f 22 20 61 6e 64 20 62 | 3c 3e 22 22 13 62 3d 6c |/" and b|<>"".b=l|
|00005220| 65 66 74 28 62 2c 20 6c | 65 6e 28 62 29 2d 31 29 |eft(b, l|en(b)-1)|
|00005230| 04 77 65 6e 64 00 08 72 | 65 74 75 72 6e 20 62 0c |.wend..r|eturn b.|
|00005240| 45 6e 64 20 46 75 6e 63 | 74 69 6f 6e 0d 53 65 74 |End Func|tion.Set|
|00005250| 43 6c 69 65 6e 74 4e 61 | 6d 65 21 6e 61 6d 65 20 |ClientNa|me!name |
|00005260| 61 73 20 73 74 72 69 6e | 67 2c 20 76 65 72 73 69 |as strin|g, versi|
|00005270| 6f 6e 20 61 73 20 73 69 | 6e 67 6c 65 00 00 02 0e |on as si|ngle....|
|00005280| 02 0e 0a 34 53 75 62 20 | 53 65 74 43 6c 69 65 6e |...4Sub |SetClien|
|00005290| 74 4e 61 6d 65 28 6e 61 | 6d 65 20 61 73 20 73 74 |tName(na|me as st|
|000052a0| 72 69 6e 67 2c 20 76 65 | 72 73 69 6f 6e 20 61 73 |ring, ve|rsion as|
|000052b0| 20 73 69 6e 67 6c 65 29 | 12 69 66 20 6e 6f 74 20 | single)|.if not |
|000052c0| 49 6e 69 74 65 64 20 74 | 68 65 6e 0e 68 74 74 70 |Inited t|hen.http|
|000052d0| 53 6f 63 6b 65 74 49 6e | 69 74 06 65 6e 64 20 69 |SocketIn|it.end i|
|000052e0| 66 00 20 43 6c 69 65 6e | 74 3d 52 65 70 6c 61 63 |f. Clien|t=Replac|
|000052f0| 65 41 6c 6c 28 6e 61 6d | 65 2c 20 22 20 22 2c 20 |eAll(nam|e, " ", |
|00005300| 22 22 29 20 43 6c 69 65 | 6e 74 3d 52 65 70 6c 61 |"") Clie|nt=Repla|
|00005310| 63 65 61 6c 6c 28 6e 61 | 6d 65 2c 20 22 2f 22 2c |ceall(na|me, "/",|
|00005320| 20 22 22 29 11 43 6c 69 | 65 6e 74 3d 43 6c 69 65 | "").Cli|ent=Clie|
|00005330| 6e 74 2b 22 2f 22 2f 43 | 6c 69 65 6e 74 3d 43 6c |nt+"/"/C|lient=Cl|
|00005340| 69 65 6e 74 2b 72 65 70 | 6c 61 63 65 61 6c 6c 28 |ient+rep|laceall(|
|00005350| 73 74 72 28 76 65 72 73 | 69 6f 6e 29 2c 20 22 2e |str(vers|ion), ".|
|00005360| 22 2c 20 22 22 29 07 45 | 6e 64 20 53 75 62 09 44 |", "").E|nd Sub.D|
|00005370| 6f 47 65 74 50 61 73 73 | 0c 6e 20 61 73 20 69 6e |oGetPass|.n as in|
|00005380| 74 65 67 65 72 07 69 6e | 74 65 67 65 72 00 04 0e |teger.in|teger...|
|00005390| 04 0e 1b 2b 46 75 6e 63 | 74 69 6f 6e 20 44 6f 47 |...+Func|tion DoG|
|000053a0| 65 74 50 61 73 73 28 6e | 20 61 73 20 69 6e 74 65 |etPass(n| as inte|
|000053b0| 67 65 72 29 20 41 73 20 | 69 6e 74 65 67 65 72 12 |ger) As |integer.|
|000053c0| 64 69 6d 20 73 2c 20 72 | 20 61 73 20 73 74 72 69 |dim s, r| as stri|
|000053d0| 6e 67 00 12 69 66 20 6e | 6f 74 20 49 6e 69 74 65 |ng..if n|ot Inite|
|000053e0| 64 20 74 68 65 6e 0e 68 | 74 74 70 53 6f 63 6b 65 |d then.h|ttpSocke|
|000053f0| 74 49 6e 69 74 06 65 6e | 64 20 69 66 00 14 72 3d |tInit.en|d if..r=|
|00005400| 74 72 69 6d 28 48 65 61 | 64 65 72 56 61 6c 28 6e |trim(Hea|derVal(n|
|00005410| 29 29 00 26 69 66 20 6c | 6f 77 65 72 63 61 73 65 |)).&if l|owercase|
|00005420| 28 6c 65 66 74 28 72 2c | 20 35 29 29 3c 3e 22 42 |(left(r,| 5))<>"B|
|00005430| 61 73 69 63 22 20 74 68 | 65 6e 20 2f 2f 20 55 6e |asic" th|en // Un|
|00005440| 6b 6e 6f 77 6e 20 61 75 | 74 68 65 6e 74 69 63 61 |known au|thentica|
|00005450| 74 69 6f 6e 20 73 63 68 | 65 6d 65 09 72 65 74 75 |tion sch|eme.retu|
|00005460| 72 6e 20 2d 31 06 65 6e | 64 20 69 66 00 1e 72 3d |rn -1.en|d if..r=|
|00005470| 6d 69 64 28 72 2c 20 69 | 6e 73 74 72 28 72 2c 20 |mid(r, i|nstr(r, |
|00005480| 22 72 65 61 6c 6d 3d 22 | 29 2b 37 29 1c 72 3d 72 |"realm="|)+7).r=r|
|00005490| 65 70 6c 61 63 65 61 6c | 6c 28 72 2c 20 63 68 72 |eplaceal|l(r, chr|
|000054a0| 28 33 34 29 2c 20 22 22 | 29 00 13 73 3d 50 61 73 |(34), ""|)..s=Pas|
|000054b0| 73 77 6f 72 64 4e 65 65 | 64 65 64 28 72 29 00 28 |swordNee|ded(r).(|
|000054c0| 69 66 20 73 3d 22 22 20 | 6f 72 20 73 3d 22 3a 22 |if s="" |or s=":"|
|000054d0| 20 6f 72 20 69 6e 73 74 | 72 28 73 2c 20 22 3a 22 | or inst|r(s, ":"|
|000054e0| 29 3d 30 20 74 68 65 6e | 09 43 61 6e 63 65 6c 6c |)=0 then|.Cancell|
|000054f0| 65 64 09 72 65 74 75 72 | 6e 20 2d 31 06 65 6e 64 |ed.retur|n -1.end|
|00005500| 20 69 66 00 14 4c 6f 67 | 69 6e 36 34 3d 47 65 74 | if..Log|in64=Get|
|00005510| 62 61 73 65 36 34 28 73 | 29 00 0c 45 6e 64 20 46 |base64(s|)..End F|
|00005520| 75 6e 63 74 69 6f 6e 09 | 47 65 74 42 61 73 65 36 |unction.|GetBase6|
|00005530| 34 0d 74 78 74 20 61 73 | 20 73 74 72 69 6e 67 06 |4.txt as| string.|
|00005540| 73 74 72 69 6e 67 00 04 | 0e 04 0e 1d 2b 46 75 6e |string..|....+Fun|
|00005550| 63 74 69 6f 6e 20 47 65 | 74 42 61 73 65 36 34 28 |ction Ge|tBase64(|
|00005560| 74 78 74 20 61 73 20 73 | 74 72 69 6e 67 29 20 41 |txt as s|tring) A|
|00005570| 73 20 73 74 72 69 6e 67 | 2c 64 69 6d 20 73 2c 20 |s string|,dim s, |
|00005580| 72 2c 20 6f 28 30 29 2c | 20 70 20 61 73 20 73 74 |r, o(0),| p as st|
|00005590| 72 69 6e 67 2c 20 49 2c | 20 78 20 61 73 20 69 6e |ring, I,| x as in|
|000055a0| 74 65 67 65 72 00 12 69 | 66 20 6e 6f 74 20 49 6e |teger..i|f not In|
|000055b0| 69 74 65 64 20 74 68 65 | 6e 0e 68 74 74 70 53 6f |ited the|n.httpSo|
|000055c0| 63 6b 65 74 49 6e 69 74 | 06 65 6e 64 20 69 66 00 |cketInit|.end if.|
|000055d0| 05 73 3d 74 78 74 00 13 | 66 6f 72 20 49 20 3d 20 |.s=txt..|for I = |
|000055e0| 31 20 74 6f 20 6c 65 6e | 28 73 29 1e 72 3d 72 2b |1 to len|(s).r=r+|
|000055f0| 20 47 65 74 62 69 6e 28 | 61 73 63 28 6d 69 64 28 | Getbin(|asc(mid(|
|00005600| 73 2c 20 49 2c 20 31 29 | 29 29 04 6e 65 78 74 00 |s, I, 1)|)).next.|
|00005610| 1a 66 6f 72 20 69 20 3d | 20 31 20 74 6f 20 6c 65 |.for i =| 1 to le|
|00005620| 6e 28 72 29 20 73 74 65 | 70 20 36 12 69 66 20 6c |n(r) ste|p 6.if l|
|00005630| 65 6e 28 72 29 2d 49 3c | 36 20 74 68 65 6e 17 6f |en(r)-I<|6 then.o|
|00005640| 2e 41 70 70 65 6e 64 20 | 22 30 30 22 2b 6d 69 64 |.Append |"00"+mid|
|00005650| 28 72 2c 20 49 29 15 78 | 3d 38 2d 6c 65 6e 28 6f |(r, I).x|=8-len(o|
|00005660| 28 75 62 6f 75 6e 64 28 | 6f 29 29 29 2b 6f 28 75 |(ubound(|o)))+o(u|
|00005670| 62 6f 75 6e 64 28 6f 29 | 29 3d 6f 28 75 62 6f 75 |bound(o)|)=o(ubou|
|00005680| 6e 64 28 6f 29 29 2b 47 | 65 74 53 74 72 50 61 74 |nd(o))+G|etStrPat|
|00005690| 28 78 2c 20 22 30 22 29 | 04 65 6c 73 65 1a 6f 2e |(x, "0")|.else.o.|
|000056a0| 41 70 70 65 6e 64 20 22 | 30 30 22 2b 6d 69 64 28 |Append "|00"+mid(|
|000056b0| 72 2c 20 49 2c 20 36 29 | 06 65 6e 64 20 69 66 04 |r, I, 6)|.end if.|
|000056c0| 6e 65 78 74 00 16 66 6f | 72 20 49 20 3d 20 31 20 |next..fo|r I = 1 |
|000056d0| 74 6f 20 75 62 6f 75 6e | 64 28 6f 29 1b 70 3d 70 |to uboun|d(o).p=p|
|000056e0| 2b 67 65 74 63 68 61 72 | 28 76 61 6c 28 22 26 62 |+getchar|(val("&b|
|000056f0| 22 2b 6f 28 49 29 29 29 | 04 6e 65 78 74 00 08 72 |"+o(I)))|.next..r|
|00005700| 65 74 75 72 6e 20 70 0c | 45 6e 64 20 46 75 6e 63 |eturn p.|End Func|
|00005710| 74 69 6f 6e 09 47 65 74 | 53 74 72 50 61 74 1b 6e |tion.Get|StrPat.n|
|00005720| 75 6d 20 61 73 20 69 6e | 74 65 67 65 72 2c 20 73 |um as in|teger, s|
|00005730| 20 61 73 20 73 74 72 69 | 6e 67 06 73 74 72 69 6e | as stri|ng.strin|
|00005740| 67 00 04 0e 04 0e 0c 39 | 46 75 6e 63 74 69 6f 6e |g......9|Function|
|00005750| 20 47 65 74 53 74 72 50 | 61 74 28 6e 75 6d 20 61 | GetStrP|at(num a|
|00005760| 73 20 69 6e 74 65 67 65 | 72 2c 20 73 20 61 73 20 |s intege|r, s as |
|00005770| 73 74 72 69 6e 67 29 20 | 41 73 20 73 74 72 69 6e |string) |As strin|
|00005780| 67 1f 64 69 6d 20 49 20 | 61 73 20 69 6e 74 65 67 |g.dim I |as integ|
|00005790| 65 72 2c 20 72 65 74 20 | 61 73 20 73 74 72 69 6e |er, ret |as strin|
|000057a0| 67 00 12 69 66 20 6e 6f | 74 20 49 6e 69 74 65 64 |g..if no|t Inited|
|000057b0| 20 74 68 65 6e 0e 68 74 | 74 70 53 6f 63 6b 65 74 | then.ht|tpSocket|
|000057c0| 49 6e 69 74 06 65 6e 64 | 20 69 66 00 10 66 6f 72 |Init.end| if..for|
|000057d0| 20 49 20 3d 20 31 20 74 | 6f 20 6e 75 6d 09 72 65 | I = 1 t|o num.re|
|000057e0| 74 3d 72 65 74 2b 73 04 | 6e 65 78 74 0a 72 65 74 |t=ret+s.|next.ret|
|000057f0| 75 72 6e 20 72 65 74 0c | 45 6e 64 20 46 75 6e 63 |urn ret.|End Func|
|00005800| 74 69 6f 6e 07 47 65 74 | 43 68 61 72 0c 6e 20 61 |tion.Get|Char.n a|
|00005810| 73 20 69 6e 74 65 67 65 | 72 06 73 74 72 69 6e 67 |s intege|r.string|
|00005820| 00 02 0e 02 0e 11 28 46 | 75 6e 63 74 69 6f 6e 20 |......(F|unction |
|00005830| 47 65 74 43 68 61 72 28 | 6e 20 61 73 20 69 6e 74 |GetChar(|n as int|
|00005840| 65 67 65 72 29 20 41 73 | 20 73 74 72 69 6e 67 12 |eger) As| string.|
|00005850| 69 66 20 6e 6f 74 20 49 | 6e 69 74 65 64 20 74 68 |if not I|nited th|
|00005860| 65 6e 0e 68 74 74 70 53 | 6f 63 6b 65 74 49 6e 69 |en.httpS|ocketIni|
|00005870| 74 06 65 6e 64 20 69 66 | 00 0d 69 66 20 6e 3c 3d |t.end if|..if n<=|
|00005880| 32 35 20 74 68 65 6e 17 | 72 65 74 75 72 6e 20 63 |25 then.|return c|
|00005890| 68 72 28 6e 2b 36 35 29 | 20 2f 2f 20 41 2d 5a 11 |hr(n+65)| // A-Z.|
|000058a0| 65 6c 73 65 69 66 20 6e | 3c 3d 35 31 20 74 68 65 |elseif n|<=51 the|
|000058b0| 6e 17 72 65 74 75 72 6e | 20 63 68 72 28 6e 2b 37 |n.return| chr(n+7|
|000058c0| 31 29 20 2f 2f 20 61 2d | 7a 11 65 6c 73 65 69 66 |1) // a-|z.elseif|
|000058d0| 20 6e 3c 3d 36 31 20 74 | 68 65 6e 17 72 65 74 75 | n<=61 t|hen.retu|
|000058e0| 72 6e 20 63 68 72 28 6e | 2d 34 29 20 20 2f 2f 20 |rn chr(n|-4) // |
|000058f0| 30 2d 39 10 65 6c 73 65 | 69 66 20 6e 3d 36 32 20 |0-9.else|if n=62 |
|00005900| 74 68 65 6e 15 72 65 74 | 75 72 6e 20 63 68 72 28 |then.ret|urn chr(|
|00005910| 34 33 29 20 20 20 2f 2f | 20 2b 10 65 6c 73 65 69 |43) //| +.elsei|
|00005920| 66 20 6e 3d 36 33 20 74 | 68 65 6e 15 72 65 74 75 |f n=63 t|hen.retu|
|00005930| 72 6e 20 63 68 72 28 34 | 37 29 20 20 20 2f 2f 20 |rn chr(4|7) // |
|00005940| 2f 06 65 6e 64 20 69 66 | 0c 45 6e 64 20 46 75 6e |/.end if|.End Fun|
|00005950| 63 74 69 6f 6e 06 47 65 | 74 42 69 6e 0c 6d 20 61 |ction.Ge|tBin.m a|
|00005960| 73 20 69 6e 74 65 67 65 | 72 06 73 74 72 69 6e 67 |s intege|r.string|
|00005970| 00 04 0e 04 0e 13 27 46 | 75 6e 63 74 69 6f 6e 20 |......'F|unction |
|00005980| 47 65 74 42 69 6e 28 6d | 20 61 73 20 69 6e 74 65 |GetBin(m| as inte|
|00005990| 67 65 72 29 20 41 73 20 | 73 74 72 69 6e 67 20 64 |ger) As |string d|
|000059a0| 69 6d 20 6e 2c 20 49 20 | 61 73 20 69 6e 74 65 67 |im n, I |as integ|
|000059b0| 65 72 2c 20 73 20 61 73 | 20 73 74 72 69 6e 67 00 |er, s as| string.|
|000059c0| 12 69 66 20 6e 6f 74 20 | 49 6e 69 74 65 64 20 74 |.if not |Inited t|
|000059d0| 68 65 6e 0e 68 74 74 70 | 53 6f 63 6b 65 74 49 6e |hen.http|SocketIn|
|000059e0| 69 74 06 65 6e 64 20 69 | 66 00 03 6e 3d 6d 00 12 |it.end i|f..n=m..|
|000059f0| 66 6f 72 20 49 20 3d 20 | 37 20 64 6f 77 6e 74 6f |for I = |7 downto|
|00005a00| 20 30 14 69 66 20 6e 3e | 3d 50 6f 77 28 32 2c 20 | 0.if n>|=Pow(2, |
|00005a10| 49 29 20 74 68 65 6e 0c | 6e 3d 6e 2d 50 6f 77 28 |I) then.|n=n-Pow(|
|00005a20| 32 2c 49 29 07 73 3d 73 | 2b 22 31 22 04 65 6c 73 |2,I).s=s|+"1".els|
|00005a30| 65 07 73 3d 73 2b 22 30 | 22 06 65 6e 64 20 69 66 |e.s=s+"0|".end if|
|00005a40| 04 6e 65 78 74 08 72 65 | 74 75 72 6e 20 73 0c 45 |.next.re|turn s.E|
|00005a50| 6e 64 20 46 75 6e 63 74 | 69 6f 6e 0b 53 65 74 46 |nd Funct|ion.SetF|
|00005a60| 69 6c 65 54 79 70 65 23 | 6d 69 6d 65 6e 61 6d 65 |ileType#|mimename|
|00005a70| 20 61 73 20 73 74 72 69 | 6e 67 2c 20 66 20 61 73 | as stri|ng, f as|
|00005a80| 20 66 6f 6c 64 65 72 69 | 74 65 6d 00 00 04 0e 04 | folderi|tem.....|
|00005a90| 0e 11 34 53 75 62 20 53 | 65 74 46 69 6c 65 54 79 |..4Sub S|etFileTy|
|00005aa0| 70 65 28 6d 69 6d 65 6e | 61 6d 65 20 61 73 20 73 |pe(mimen|ame as s|
|00005ab0| 74 72 69 6e 67 2c 20 66 | 20 61 73 20 66 6f 6c 64 |tring, f| as fold|
|00005ac0| 65 72 69 74 65 6d 29 10 | 64 69 6d 20 69 20 61 73 |eritem).|dim i as|
|00005ad0| 20 69 6e 74 65 67 65 72 | 00 12 69 66 20 6e 6f 74 | integer|..if not|
|00005ae0| 20 49 6e 69 74 65 64 20 | 74 68 65 6e 0e 68 74 74 | Inited |then.htt|
|00005af0| 70 53 6f 63 6b 65 74 49 | 6e 69 74 06 65 6e 64 20 |pSocketI|nit.end |
|00005b00| 69 66 00 17 66 6f 72 20 | 69 3d 31 20 74 6f 20 75 |if..for |i=1 to u|
|00005b10| 62 6f 75 6e 64 28 6d 69 | 6d 65 29 32 69 66 20 73 |bound(mi|me)2if s|
|00005b20| 74 72 63 6f 6d 70 28 6c | 6f 77 65 72 63 61 73 65 |trcomp(l|owercase|
|00005b30| 28 6d 69 6d 65 6e 61 6d | 65 29 2c 20 6d 69 6d 65 |(mimenam|e), mime|
|00005b40| 28 69 29 2c 20 30 29 3d | 30 20 74 68 65 6e 16 66 |(i), 0)=|0 then.f|
|00005b50| 2e 6d 61 63 74 79 70 65 | 3d 20 6d 69 6d 65 74 79 |.mactype|= mimety|
|00005b60| 70 65 28 69 29 1c 66 2e | 6d 61 63 63 72 65 61 74 |pe(i).f.|maccreat|
|00005b70| 6f 72 3d 20 6d 69 6d 65 | 63 72 65 61 74 6f 72 28 |or= mime|creator(|
|00005b80| 69 29 06 72 65 74 75 72 | 6e 06 65 6e 64 20 69 66 |i).retur|n.end if|
|00005b90| 04 6e 65 78 74 11 66 2e | 6d 61 63 74 79 70 65 3d |.next.f.|mactype=|
|00005ba0| 20 22 54 45 58 54 22 14 | 66 2e 4d 61 63 43 72 65 | "TEXT".|f.MacCre|
|00005bb0| 61 74 6f 72 3d 20 22 74 | 74 78 74 22 07 45 6e 64 |ator= "t|txt".End|
|00005bc0| 20 53 75 62 07 41 64 64 | 4d 69 6d 65 32 6d 69 6d | Sub.Add|Mime2mim|
|00005bd0| 72 20 61 73 20 73 74 72 | 69 6e 67 2c 20 6d 74 79 |r as str|ing, mty|
|00005be0| 70 65 20 61 73 20 73 74 | 72 69 6e 67 2c 20 63 72 |pe as st|ring, cr|
|00005bf0| 65 61 74 6f 72 20 61 73 | 20 73 74 72 69 6e 67 00 |eator as| string.|
|00005c00| 00 02 0e 02 0e 09 3f 53 | 75 62 20 41 64 64 4d 69 |......?S|ub AddMi|
|00005c10| 6d 65 28 6d 69 6d 72 20 | 61 73 20 73 74 72 69 6e |me(mimr |as strin|
|00005c20| 67 2c 20 6d 74 79 70 65 | 20 61 73 20 73 74 72 69 |g, mtype| as stri|
|00005c30| 6e 67 2c 20 63 72 65 61 | 74 6f 72 20 61 73 20 73 |ng, crea|tor as s|
|00005c40| 74 72 69 6e 67 29 12 69 | 66 20 6e 6f 74 20 49 6e |tring).i|f not In|
|00005c50| 69 74 65 64 20 74 68 65 | 6e 0e 68 74 74 70 53 6f |ited the|n.httpSo|
|00005c60| 63 6b 65 74 49 6e 69 74 | 06 65 6e 64 20 69 66 00 |cketInit|.end if.|
|00005c70| 1b 4d 69 6d 65 2e 41 70 | 70 65 6e 64 20 6c 6f 77 |.Mime.Ap|pend low|
|00005c80| 65 72 63 61 73 65 28 6d | 69 6d 72 29 15 6d 69 6d |ercase(m|imr).mim|
|00005c90| 65 74 79 70 65 2e 61 70 | 70 65 6e 64 20 6d 74 79 |etype.ap|pend mty|
|00005ca0| 70 65 1a 6d 69 6d 65 63 | 72 65 61 74 6f 72 2e 61 |pe.mimec|reator.a|
|00005cb0| 70 70 65 6e 64 20 63 72 | 65 61 74 6f 72 07 45 6e |ppend cr|eator.En|
|00005cc0| 64 20 53 75 62 0e 44 6f | 46 69 6c 65 46 69 6e 69 |d Sub.Do|FileFini|
|00005cd0| 73 68 65 64 00 00 00 05 | 0e 05 0e 32 14 53 75 62 |shed....|...2.Sub|
|00005ce0| 20 44 6f 46 69 6c 65 46 | 69 6e 69 73 68 65 64 28 | DoFileF|inished(|
|00005cf0| 29 32 64 69 6d 20 74 65 | 6d 70 32 2c 20 69 2c 20 |)2dim te|mp2, i, |
|00005d00| 6e 20 61 73 20 69 6e 74 | 65 67 65 72 2c 20 73 74 |n as int|eger, st|
|00005d10| 20 61 73 20 54 65 78 74 | 4f 75 74 70 75 74 53 74 | as Text|OutputSt|
|00005d20| 72 65 61 6d 20 64 69 6d | 20 74 65 6d 70 20 61 73 |ream dim| temp as|
|00005d30| 20 73 74 72 69 6e 67 2c | 20 62 20 61 73 20 62 6f | string,| b as bo|
|00005d40| 6f 6c 65 61 6e 00 12 69 | 66 20 6e 6f 74 20 49 6e |olean..i|f not In|
|00005d50| 69 74 65 64 20 74 68 65 | 6e 0e 68 74 74 70 53 6f |ited the|n.httpSo|
|00005d60| 63 6b 65 74 49 6e 69 74 | 06 65 6e 64 20 69 66 00 |cketInit|.end if.|
|00005d70| 11 2f 2f 20 49 74 27 73 | 20 66 69 6e 69 73 68 65 |.// It's| finishe|
|00005d80| 64 21 13 69 66 20 6c 6f | 67 69 6e 36 34 3c 3e 22 |d!.if lo|gin64<>"|
|00005d90| 22 20 74 68 65 6e 10 69 | 66 20 70 61 73 73 6c 61 |" then.i|f passla|
|00005da0| 73 74 20 74 68 65 6e 16 | 62 3d 4c 6f 67 69 6e 46 |st then.|b=LoginF|
|00005db0| 61 69 6c 65 64 28 63 75 | 72 53 69 74 65 29 0d 70 |ailed(cu|rSite).p|
|00005dc0| 61 73 73 6c 61 73 74 3d | 74 72 75 65 04 65 6c 73 |asslast=|true.els|
|00005dd0| 65 06 62 3d 74 72 75 65 | 0d 70 61 73 73 6c 61 73 |e.b=true|.passlas|
|00005de0| 74 3d 74 72 75 65 06 65 | 6e 64 20 69 66 00 09 69 |t=true.e|nd if..i|
|00005df0| 66 20 62 20 74 68 65 6e | 1d 74 65 6d 70 32 3d 44 |f b then|.temp2=D|
|00005e00| 6f 47 65 74 50 61 73 73 | 28 76 61 6c 28 6c 6f 67 |oGetPass|(val(log|
|00005e10| 69 6e 36 34 29 29 0f 69 | 66 20 74 65 6d 70 32 3d |in64)).i|f temp2=|
|00005e20| 30 20 74 68 65 6e 16 73 | 74 3d 66 69 6c 65 2e 43 |0 then.s|t=file.C|
|00005e30| 72 65 61 74 65 54 65 78 | 74 46 69 6c 65 08 73 74 |reateTex|tFile.st|
|00005e40| 2e 63 6c 6f 73 65 0f 47 | 65 74 48 54 54 50 20 63 |.close.G|etHTTP c|
|00005e50| 75 72 53 69 74 65 06 72 | 65 74 75 72 6e 06 65 6e |urSite.r|eturn.en|
|00005e60| 64 20 69 66 00 04 65 6c | 73 65 0e 70 61 73 73 6c |d if..el|se.passl|
|00005e70| 61 73 74 3d 66 61 6c 73 | 65 06 65 6e 64 20 69 66 |ast=fals|e.end if|
|00005e80| 00 06 65 6e 64 20 69 66 | 00 10 69 66 20 44 4c 54 |..end if|..if DLT|
|00005e90| 79 70 65 3d 31 20 74 68 | 65 6e 08 44 4c 54 79 70 |ype=1 th|en.DLTyp|
|00005ea0| 65 3d 30 0e 70 61 73 73 | 6c 61 73 74 3d 66 61 6c |e=0.pass|last=fal|
|00005eb0| 73 65 00 21 69 66 20 6c | 65 66 74 28 66 69 6c 65 |se.!if l|eft(file|
|00005ec0| 74 79 70 65 2c 20 35 29 | 3d 22 69 6d 61 67 65 22 |type, 5)|="image"|
|00005ed0| 20 74 68 65 6e 33 44 4c | 46 69 6e 69 73 68 65 64 | then3DL|Finished|
|00005ee0| 20 66 69 6c 65 2c 20 74 | 65 78 74 2c 20 66 69 6c | file, t|ext, fil|
|00005ef0| 65 2e 4f 70 65 6e 41 73 | 50 69 63 74 75 72 65 2c |e.OpenAs|Picture,|
|00005f00| 20 66 69 6c 65 74 79 70 | 65 04 65 6c 73 65 3b 44 | filetyp|e.else;D|
|00005f10| 4c 46 69 6e 69 73 68 65 | 64 20 66 69 6c 65 2c 20 |LFinishe|d file, |
|00005f20| 66 69 6c 65 2e 4f 70 65 | 6e 41 73 54 65 78 74 46 |file.Ope|nAsTextF|
|00005f30| 69 6c 65 2e 52 65 61 64 | 41 6c 6c 2c 20 6e 69 6c |ile.Read|All, nil|
|00005f40| 2c 20 66 69 6c 65 74 79 | 70 65 06 65 6e 64 20 69 |, filety|pe.end i|
|00005f50| 66 01 20 04 65 6c 73 65 | 0e 70 61 73 73 6c 61 73 |f. .else|.passlas|
|00005f60| 74 3d 66 61 6c 73 65 22 | 44 4c 66 69 6e 69 73 68 |t=false"|DLfinish|
|00005f70| 65 64 20 66 69 6c 65 2c | 20 22 22 2c 20 6e 69 6c |ed file,| "", nil|
|00005f80| 2c 20 66 69 6c 65 74 79 | 70 65 06 65 6e 64 20 69 |, filety|pe.end i|
|00005f90| 66 00 07 74 65 78 74 3d | 22 22 07 45 6e 64 20 53 |f..text=|"".End S|
|00005fa0| 75 62 0a 46 6f 72 6d 61 | 74 53 69 7a 65 0d 61 6d |ub.Forma|tSize.am|
|00005fb0| 74 20 61 73 20 73 69 6e | 67 6c 65 06 73 74 72 69 |t as sin|gle.stri|
|00005fc0| 6e 67 00 04 0e 04 0e 1f | 2c 46 75 6e 63 74 69 6f |ng......|,Functio|
|00005fd0| 6e 20 46 6f 72 6d 61 74 | 53 69 7a 65 28 61 6d 74 |n Format|Size(amt|
|00005fe0| 20 61 73 20 73 69 6e 67 | 6c 65 29 20 41 73 20 73 | as sing|le) As s|
|00005ff0| 74 72 69 6e 67 14 64 69 | 6d 20 72 65 74 2c 20 72 |tring.di|m ret, r|
|00006000| 20 61 73 20 73 74 72 69 | 6e 67 00 12 69 66 20 6e | as stri|ng..if n|
|00006010| 6f 74 20 49 6e 69 74 65 | 64 20 74 68 65 6e 0e 68 |ot Inite|d then.h|
|00006020| 74 74 70 53 6f 63 6b 65 | 74 49 6e 69 74 06 65 6e |ttpSocke|tInit.en|
|00006030| 64 20 69 66 00 10 69 66 | 20 61 6d 74 3c 31 30 32 |d if..if| amt<102|
|00006040| 34 20 74 68 65 6e 13 72 | 65 74 75 72 6e 20 73 74 |4 then.r|eturn st|
|00006050| 72 28 61 6d 74 29 2b 22 | 42 22 19 65 6c 73 65 69 |r(amt)+"|B".elsei|
|00006060| 66 20 61 6d 74 3c 28 31 | 30 34 38 35 37 36 29 20 |f amt<(1|048576) |
|00006070| 74 68 65 6e 11 72 20 3d | 20 73 74 72 28 61 6d 74 |then.r =| str(amt|
|00006080| 2f 31 30 32 34 29 17 69 | 66 20 69 6e 73 74 72 28 |/1024).i|f instr(|
|00006090| 72 2c 20 22 2e 22 29 3e | 30 20 74 68 65 6e 1b 72 |r, ".")>|0 then.r|
|000060a0| 65 74 3d 6e 74 68 46 69 | 65 6c 64 28 72 2c 20 22 |et=nthFi|eld(r, "|
|000060b0| 2e 22 2c 20 31 29 2b 22 | 2e 22 24 72 65 74 3d 72 |.", 1)+"|."$ret=r|
|000060c0| 65 74 2b 6c 65 66 74 28 | 6e 74 68 46 69 65 6c 64 |et+left(|nthField|
|000060d0| 28 72 2c 20 22 2e 22 2c | 20 32 29 2c 20 31 29 04 |(r, ".",| 2), 1).|
|000060e0| 65 6c 73 65 0a 72 65 74 | 3d 72 2b 22 2e 30 22 06 |else.ret|=r+".0".|
|000060f0| 65 6e 64 20 69 66 0b 72 | 65 74 3d 72 65 74 2b 22 |end if.r|et=ret+"|
|00006100| 4b 22 0a 72 65 74 75 72 | 6e 20 72 65 74 04 65 6c |K".retur|n ret.el|
|00006110| 73 65 14 72 20 3d 20 73 | 74 72 28 61 6d 74 2f 31 |se.r = s|tr(amt/1|
|00006120| 30 34 38 35 37 36 29 17 | 69 66 20 69 6e 73 74 72 |048576).|if instr|
|00006130| 28 72 2c 20 22 2e 22 29 | 3e 30 20 74 68 65 6e 1b |(r, ".")|>0 then.|
|00006140| 72 65 74 3d 6e 74 68 46 | 69 65 6c 64 28 72 2c 20 |ret=nthF|ield(r, |
|00006150| 22 2e 22 2c 20 31 29 2b | 22 2e 22 24 72 65 74 3d |".", 1)+|"."$ret=|
|00006160| 72 65 74 2b 6c 65 66 74 | 28 6e 74 68 46 69 65 6c |ret+left|(nthFiel|
|00006170| 64 28 72 2c 20 22 2e 22 | 2c 20 32 29 2c 20 31 29 |d(r, "."|, 2), 1)|
|00006180| 04 65 6c 73 65 0a 72 65 | 74 3d 72 2b 22 2e 30 22 |.else.re|t=r+".0"|
|00006190| 06 65 6e 64 20 69 66 0b | 72 65 74 3d 72 65 74 2b |.end if.|ret=ret+|
|000061a0| 22 4d 22 0a 72 65 74 75 | 72 6e 20 72 65 74 06 65 |"M".retu|rn ret.e|
|000061b0| 6e 64 20 69 66 0c 45 6e | 64 20 46 75 6e 63 74 69 |nd if.En|d Functi|
|000061c0| 6f 6e 08 50 6f 73 74 46 | 6f 72 6d 00 00 00 04 0e |on.PostF|orm.....|
|000061d0| 04 0e 10 0e 53 75 62 20 | 50 6f 73 74 46 6f 72 6d |....Sub |PostForm|
|000061e0| 28 29 12 64 69 6d 20 63 | 72 6c 66 20 61 73 20 73 |().dim c|rlf as s|
|000061f0| 74 72 69 6e 67 00 12 69 | 66 20 6e 6f 74 20 49 6e |tring..i|f not In|
|00006200| 69 74 65 64 20 74 68 65 | 6e 0e 68 74 74 70 53 6f |ited the|n.httpSo|
|00006210| 63 6b 65 74 49 6e 69 74 | 06 65 6e 64 20 69 66 00 |cketInit|.end if.|
|00006220| 14 63 72 6c 66 3d 63 68 | 72 28 31 33 29 2b 63 68 |.crlf=ch|r(13)+ch|
|00006230| 72 28 31 30 29 2a 6d 65 | 2e 57 72 69 74 65 20 22 |r(10)*me|.Write "|
|00006240| 43 6f 6e 74 65 6e 74 2d | 74 79 70 65 3a 20 22 2b |Content-|type: "+|
|00006250| 50 6f 73 74 45 6e 63 54 | 79 70 65 2b 63 72 6c 66 |PostEncT|ype+crlf|
|00006260| 33 6d 65 2e 57 72 69 74 | 65 20 22 43 6f 6e 74 65 |3me.Writ|e "Conte|
|00006270| 6e 74 2d 6c 65 6e 67 74 | 68 3a 20 22 2b 73 74 72 |nt-lengt|h: "+str|
|00006280| 28 6c 65 6e 28 70 6f 73 | 74 64 61 74 61 29 29 2b |(len(pos|tdata))+|
|00006290| 63 72 6c 66 0d 27 6d 65 | 2e 57 72 69 74 65 20 22 |crlf.'me|.Write "|
|000062a0| 20 22 0d 6d 65 2e 57 72 | 69 74 65 20 63 72 6c 66 | ".me.Wr|ite crlf|
|000062b0| 11 6d 65 2e 57 72 69 74 | 65 20 50 6f 73 74 44 61 |.me.Writ|e PostDa|
|000062c0| 74 61 0b 50 6f 73 74 44 | 61 74 61 3d 22 22 0a 4d |ta.PostD|ata="".M|
|000062d0| 65 74 68 6f 64 3d 47 65 | 74 07 45 6e 64 20 53 75 |ethod=Ge|t.End Su|
|000062e0| 62 09 55 52 4c 45 6e 63 | 6f 64 65 24 6e 61 6d 28 |b.URLEnc|ode$nam(|
|000062f0| 29 20 61 73 20 73 74 72 | 69 6e 67 2c 20 63 6f 6e |) as str|ing, con|
|00006300| 74 65 6e 74 28 29 20 61 | 73 20 73 74 72 69 6e 67 |tent() a|s string|
|00006310| 06 73 74 72 69 6e 67 00 | 06 0e 06 0e 1b 82 01 46 |.string.|.......F|
|00006320| 75 6e 63 74 69 6f 6e 20 | 55 52 4c 45 6e 63 6f 64 |unction |URLEncod|
|00006330| 65 28 6e 61 6d 28 29 20 | 61 73 20 73 74 72 69 6e |e(nam() |as strin|
|00006340| 67 2c 20 63 6f 6e 74 65 | 6e 74 28 29 20 61 73 20 |g, conte|nt() as |
|00006350| 73 74 72 69 6e 67 29 20 | 41 73 20 73 74 72 69 6e |string) |As strin|
|00006360| 67 12 64 69 6d 20 73 2c | 61 31 20 61 73 20 73 74 |g.dim s,|a1 as st|
|00006370| 72 69 6e 67 11 64 69 6d | 20 72 65 70 20 61 73 20 |ring.dim| rep as |
|00006380| 73 74 72 69 6e 67 10 64 | 69 6d 20 69 20 61 73 20 |string.d|im i as |
|00006390| 69 6e 74 65 67 65 72 00 | 12 69 66 20 6e 6f 74 20 |integer.|.if not |
|000063a0| 49 6e 69 74 65 64 20 74 | 68 65 6e 0e 68 74 74 70 |Inited t|hen.http|
|000063b0| 53 6f 63 6b 65 74 49 6e | 69 74 06 65 6e 64 20 69 |SocketIn|it.end i|
|000063c0| 66 00 16 66 6f 72 20 69 | 3d 31 20 74 6f 20 75 62 |f..for i|=1 to ub|
|000063d0| 6f 75 6e 64 28 6e 61 6d | 29 2b 61 31 3d 72 65 70 |ound(nam|)+a1=rep|
|000063e0| 6c 61 63 65 61 6c 6c 28 | 6e 61 6d 28 69 29 2c 22 |laceall(|nam(i),"|
|000063f0| 25 22 2c 22 25 22 2b 68 | 65 78 28 61 73 63 28 22 |%","%"+h|ex(asc("|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.