English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   News (https://eab.abime.net/forumdisplay.php?f=29)
-   -   Amiga FTP Library (https://eab.abime.net/showthread.php?t=75402)

Foul 13 October 2014 23:55

Amiga FTP Library
 
http://i39.servimg.com/u/f39/16/40/49/27/amigaf10.png

Hi all!

I'm here to present you my little project : I'm always bored to find a particular version of a library when installing of upgrading my system. I recently had the idea to store them on my own server, all Classic Amiga Libraries, to join them in one place.

It may be convenient for all Classic Amiga Users or even maybe later for other systems (OS4 / Morphos, etc...).

I started a little explorer in PHP on a personal FTP and i would like any ideas that could improve this ... I don't know PHP, I had a script i changed a bit with my little HTML knowledge ;)

i'm open to any good idea of course !

The site : http://amiga.foul.fr --> https://amiga.foul.fr


If you want to upload newer or missing library here is the FTP :

email me : foulweb at gmail dot com

(Sorry for my English, is't not my native language ;)

Peter 14 October 2014 00:30

I think this is a great idea - thanks for sharing.

tolkien 14 October 2014 18:32

Sure I think It's a good idea. I'm a maniac of library versions!

Amiten 14 October 2014 19:06

Cool!!! thanks For share with us , Best of luck for your project. :great

all the best
Amiten

yssing 21 October 2014 17:17

It's a great idea. What do you want the php to do? I can easily write some php for you.

Foul 21 October 2014 19:25

Quote:

Originally Posted by yssing (Post 982089)
It's a great idea. What do you want the php to do? I can easily write some php for you.

Thank you, the test would be the version of the file directly shawn like "type" or "date".. without changing the library name, but many of the libraries not show it. I must read with an hex editor the version inside the file... so not very easy...

If you have some ideas.. i'm open of course..

Thank you anyway for your help :great

yssing 21 October 2014 22:52

<?php

$handle = fopen("uploads/something.library", "r");
if ($handle) {
while (!feof($handle)) {
$hex = bin2hex(fread ($handle , 4 ));
print $hex."\n";
}
fclose($handle);
}
?>

http://php.net/manual/en/function.bin2hex.php

php has a method for doing just that :)

What I would do to save the different versions of the library would be either:
1) Save the library in the database as a blob, that way you can SQL to most operations afterwards.
2) Zip pack the library and name the file with the name of the library and then the version eg. somelib_v45_12.zip and then save the name and URL in the database.
3) Create a folder for library and in that flder create subfolders containing the library versions and save the resulting URL and name in the database.

I would always save metadata in the database, it makes it easy and fast to search for information about the libraries.

Foul 22 October 2014 13:21

Will test that ASAP :)

ma693541 23 October 2014 11:51

Foul, look at the datestamp for the trueaga_4.3beta.library. The year show a future yearstamp, 2030.

jbenam 23 October 2014 12:06

Excellent idea Foul, sometimes I need to look for some strange/rare libraries and I don't ever know where to find them :D

Quote:

Originally Posted by ma693541 (Post 982354)
Foul, look at the datestamp for the trueaga_4.3beta.library. The year show a future yearstamp, 2030.

2030? We finally know the Natami's release date, then! :laughing

Foul 23 October 2014 12:49

Corrected : Thx !

time to upload yours ! :)

James 14 January 2015 01:16

1 Attachment(s)
Nice idea, but needs a bit more work to be really useful...

agl_4.2.library is the QuarkTex (WinUAE only) version.
rtg_40.4024.library and rtg_40.4029.library should be moved to the Picasso96 drawer.
cddb_44.999.library is the FreeDB version and will not work on it's own.
rexxsupport_37.9(WB2.04).library is actually 34.9 the same as all the others. Why duplicate the same library multiple times for WB1 WB2 e.t.c. ? It may cause confusion - just have one copy with the WB version it first appeared in, with a + to show it is also used in newer versions. The date stamps are also misleading in many cases.
There is a rexxsupport_37.9.library reported in LibGuide, but it may be an error... I have rexxsupport_36.9.library and it is the same size as the reported 37.9.
Have lots of newer libs. Will upload...
There are a couple of updated 68k libs from the OS4 betas. Would you be OK about hosting these?
There is a doomsound_38.0.library as reported in LibGuide but it is actually an old version of hereticsound.library and does not work with Doom or the latest Heretic. I can supply it, but it will need to be clearly labelled and is of little use... But may help to prevent later confusion.

Update:
Also guigfx_20.0.library is actually the fpu version, I have the complete set of these libraries.
Having trouble connecting to your FTP so have uploaded some of them here.

Attachment 42837

LHA ignored all the files with brackets, will add these and some new MUI libraries later...
I also have the patched version of popupmenu_10.10.1.library, but have not included it, as I think the author did not want it distributed...???

Foul 14 January 2015 04:10

Thank you for reporting!

I will upload and correct all asap :)

LuMan 14 January 2015 10:39

Great work, Foul. This is looking really good. I'm always missing important libraries (or outdated ones), so this is a great repository for getting hold of them. Well done :)

Foul 14 January 2015 13:35

agl_4.2.library corrected
rtg_40.4024.library and rtg_40.4029.library moved to Picasso96
cddb_44.999.library is the only one found and not removed
rexxsupport.library and other double library removed

guigfx_20.0.library don't mention any fpu option ($VER: guigfx.library 20.0 (26.04.2003)) but modified anyway...

Newest Libraries Updated...

edit : FTP access ok !

Thx :great

HanSolo 18 February 2015 15:01

I have some libraries to upload but cant conntct to your FTP.

kriz 18 February 2015 19:11

Web site works but unable to connect to ftp here aswell .. Nice site and idea btw , cool :)

Schlachtwerk 18 February 2015 21:03

Quote:

Originally Posted by kriz (Post 1004726)
Web site works but unable to connect to ftp here aswell .. Nice site and idea btw , cool :)

Same here

Michael 19 February 2015 05:10

Nice. Something I had planned to do a few years ago too :) Since LibGuide times...

But from my point of view it would have been better to sort the files in separate dirs by CPU, and have the older versions of same libs numbered by version, while keeping the optimum/current lib in ready to use form. And the php script should get the $VER: version string from the file.

Foul 19 February 2015 12:30

don't know why but sometime ftp upload is down :( must reboot my server each time...

Another way: post the libs here and i will upload them ;)


All times are GMT +2. The time now is 19:51.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.05449 seconds with 11 queries