Jump to content











Photo
- - - - -

BLExactServer


  • Please log in to reply
14 replies to this topic

#1 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 10 February 2010 - 08:40 PM

Posted Image

BLExactServer is a Download Utility for Experienced Users who are familiar with winbuilder projects.

Main Goal:
To maintain MultiAdmined projects easier.
(and to encourage users to take part or create MultiAdmined projects)

2nd Goal:
To help Experienced Users keep update of alive projects easier (without downloading all project again).
ps: This maybe required for many reasons, slow connection, boring times or limited connection (in case of Blue Life, he has limited to 4 GB/Month connection).....

Temporary Goal:
To make initial download from server easier so you can go to drink cofee and watch tv etc. when download occurs. (BUG ID 235)


How it works, what it does:
BLExactServer downloads project info (updates.ini) from server and compares with 1) current available files 2) the md5 of files.
As a result:
Files moved to another location or removed from server are also locally moved (previous files backedup to a different location).
Files updated without version change also updated due to md5 match. (previous files backedup to a different location).
==>And finally you update exact of the server which declared by Project Administrator. If there is mismatch with the declaration of the Project Administrator (updates.ini) you will get an error screen in the end.


More Info about some available options of BLExactServer
*To avoid server misconnection, there is connection attempt settings
*"MD5 fix for Ascii files" (optional, default enabled) : BLExactServer tries* to fix files that are uploaded to server with "ASCII transfer type" (Usual Admin fault).
If trial* success than files updated with fixing (previous files backedup to a different location), there is no need to download them again (and again...:cheers:)
If trial* unsuccess than no change made on local files.
*"Before Start Processing Open Files" (optional, default disabled) : It is a "Pause Stop" before BLExactServer start processing (download, move etc) to see what will be done by BLExactServer.



***: Obviously you must not use that folder to build your project if you have plans to maintain exact server in future.
BLExactServer is to maintain local backup/upload/admin folder.
BLExactServer is NOT a replacement to winbuilder download options, but only it will be more useful to make initial download of a project.
BLExactServer intentionally does NOT have winbuilder download mechanism version option in order to avoid confusions.
BLExactServer contains additional features which are already requested at BUG ID 230 + BUG ID 235 + fix for reported bug BUG ID 238 (md5 part) + unrequested md5-ascii fix + unrequested different backupfolder + unrequested all download level option + requested download at once availability.



Turkish+
Kısa a�ıklama:
Tecr�beli kullanıcılar i�in, Proje Serverındakileri aynen indirmek ve daha once indirilmiş dosyalarin uzerine sorunsuzca g�ncelleme yapmak i�in download programı. Şu anda wb da olmayan �zellikleri sayesinde projeyi en baştan indirmeye gerek olmuyor ve indirme sırasında sorun �ıkmıyor (baglantı kopma ekranı vs vs), ayrıca eski dosyalar ayri klasorde saklanıyor.
Turkish-

****:
Please test, I hope all clear, Any bug report will be appreciated. :cheers:


*******:
Another project with "Blue Life" to ease upload of files for Project Administrators also available genVirginLocalFolder
Now with BLExactServer (for download) + genVirginLocalFolder (for upload) , Life is easier.

BLExactServer all codes written by "Blue Life", I (Lancelot) only informed required stuff and info for such a task.
Source codes available, Feel free to use the codes or ideas, only please inform here when you finish your project.

Alternate Download link (boot-land attached file download malfunctions ;))
http://lancelot.winb...ver_20100213.7z

;)

Attached Files



#2 homes32

homes32

    Gold Member

  • .script developer
  • 1030 posts
  • Location:Minnesota
  •  
    United States

Posted 10 February 2010 - 09:47 PM

cool. 1 thing i noticed right off its that there doesn't seem to be a way to stop the download once you start. I suggest that you hook the esc key to bring up a Are you sure you want to stop downloads Yes|NO msgbox

#3 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 10 February 2010 - 09:54 PM

Hi homes32,

yes you can stop, just use the taskmanager icon, "right click ---> exit blexactserver.exe"
well, "yes-no" not exists to keep design as simple as possible, but you can continue from where you stoped without trouble ;)

do we need "yes-no" question "Are you sure you want to exit blexactserver?" when user manually use "right click taskmanager icon ---> exit blexactserver.exe" ? :cheers:

edit:
Thinking again, I guess pause download is a good idea, I will ask blue life if it is easy to implement.

#4 homes32

homes32

    Gold Member

  • .script developer
  • 1030 posts
  • Location:Minnesota
  •  
    United States

Posted 10 February 2010 - 10:10 PM

Hi homes32,

yes you can stop, just use the taskmanager icon, "right click ---> exit blexactserver.exe"
well, "yes-no" not exists to keep design as simple as possible, but you can continue from where you stoped without trouble ;)

do we need "yes-no" question "Are you sure you want to exit blexactserver?" when user manually use "right click taskmanager icon ---> exit blexactserver.exe" ? :cheers:

I don't really think its needed when killing process from task manager as it is pretty certain that if you are exiting that way that you want to quit. but generally it is good practice for programs to have an easy way to exit them without resorting to Ctrl-Alt-Del


some quick and dirty code
HotKeySet("{Esc}","AbortDownload")



Func AbortDownload()



If Not IsDeclared("iMsgBoxAnswer") Then Local $iMsgBoxAnswer

$iMsgBoxAnswer = MsgBox(262436,"Blue Life Exact Server","Are you sure you want to abort download and exit?")

Select

	Case $iMsgBoxAnswer = 6&#59;Yes

	Exit

	Case $iMsgBoxAnswer = 7&#59;No

	Return&#59; do nothing

EndSelect

EndFunc


#5 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 10 February 2010 - 10:15 PM

hi homes32,

Please feel free to put dirty codes you like with any ideas, source code available (check blexactserver.exe --> right click properties --> Version ==> Other version information ==> source code , nice isn't it :cheers: ) , than I can easly update to post 1 ;)

#6 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 10 February 2010 - 10:45 PM

Pass on my thanks to Blue Life!

Regards,
Galapo.

#7 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 10 February 2010 - 11:01 PM

Pass on my thanks to Blue Life!

I will Boss. ;)

Further development (with not written ideas) requires lots of time which both me and blue life do not have much.......

I guess with current what are left are tests - fixes with available servers (I test some of them before publish....) and ideas to increase the ease of use. (thanks to homes32 so far).
:cheers:

#8 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 10 February 2010 - 11:48 PM

What a nice project.

Wouldn't this be better placed on the Project forge to avoid seeing it get buried under all the other development posts?

My congrats to BlueLife and Lancelot.

:cheers:

#9 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 11 February 2010 - 12:03 AM

Wouldn't this be better placed on the Project forge to avoid seeing it get buried under all the other development posts?

Done Big Boss :cheers:

edit:
nextversion: download mechanism will be improved for big files and other things related to download, homes32 request, ...

#10 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 11 February 2010 - 06:23 AM

Not sure what is happening for me. But the same file has to be downloaded repeatedly before it is finally done. The progress bar get somewhere completed, then exists, and then it is reported that the same file is again being download. Progress bar then gets a bit further on than before. Then it closes again and the cycle starts again for about 5 - 10 times until the last time where the progress bar gets right across and the download is complete.

Regards,
Galapo.

#11 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 12 February 2010 - 09:18 PM

New release on post #1
*Fixed big file download bug (reported by Galapo)
*Added stop option (requested by homes32)
*Other visual enhancements and minor fixes.

I made all tests I can imagine, now works perfect and verry nicely. I hope you like. :cheers:

#12 Blue Life

Blue Life

    Member

  • Members
  • 44 posts
  •  
    Turkey

Posted 12 February 2010 - 09:21 PM

Thanks Lancelot for Sharing and tutorial.

#13 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 12 February 2010 - 09:36 PM

Thanks for the new version!

Regards,
Galapo.

#14 homes32

homes32

    Gold Member

  • .script developer
  • 1030 posts
  • Location:Minnesota
  •  
    United States

Posted 12 February 2010 - 10:19 PM

looks very nice. thanks!

#15 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 13 February 2010 - 03:52 PM

New release on post #1
*tiny bugy fix with downloading empty files. (same bugy also exists with wb physical difference, now reporting :cheers:)
now perfect ;)
:cheers:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users