English Amiga Board


Go Back   English Amiga Board > Requests > request.Apps

 
 
Thread Tools
Old 01 August 2016, 01:30   #21
Korodny
Zone Friend
 
Join Date: Sep 2001
Location: Germany
Posts: 812
Quote:
Originally Posted by Sir_Lucas View Post
I think it's possible to download anything via FTP from Aminet - just ftp.aminet.net.
Not ftp.aminet.net, just aminet.net

Downloading stuff is not a problem. We we're discussing other things, like having recent uploads displayed after connecting to the server, searching for files and getting files listed the same way they're listed in the web interface (one line per file containing filename, size, path and short description) instead of looking at a list of files in a directory.
Korodny is offline  
Old 01 August 2016, 02:09   #22
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,185
Quote:
Originally Posted by carloratm View Post
Hi all,
I did a quick search on the forum and did not found anything similar, so I am going to try.

What about a command line client to aminet for 68k amiga ?

I was thinking at something that allows you to *search* and *download* packages directly from aminet website...

I am not a developer, so I am not able to say if that is *at least* possible.
I am pretty sure that aminet does not have an API, so it would be some dirty html parsing...
I am just thinking loud...

what do you think guys?
Thoughts, ideas?

cheers,
Hi: I've just seen this thread. I've only read the first post thought.

My answer is AmiKit Real. You've got an icon on screen, "Aminet". You just click on it and it opens -with internet connection- the FTP site where you can download whatever. This is a 16 colors screenshot:



BTW I made another similar icon-script that isn't included -and won't be- in the AKReal distro that makes the same with the EAB File Server. You can find it here:

http://eab.abime.net/showpost.php?p=...&postcount=884

EDIT: BTW, hey, I didn't know we already can watch Youtube videos here!! That's great

Last edited by Retrofan; 01 August 2016 at 02:26.
Retrofan is offline  
Old 01 August 2016, 17:03   #23
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
Accessing Aminet using FTP is not the problem — I do that all the time. Finding where your file is — that is the problem. You can of course keep a local copy of the INDEX file, but searching that takes time even on a 68040.
idrougge is offline  
Old 02 August 2016, 10:36   #24
jPV
Registered User
 
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 1,006
Quote:
Originally Posted by Retrofan View Post
My answer is AmiKit Real. You've got an icon on screen, "Aminet". You just click on it and it opens -with internet connection- the FTP site where you can download whatever. This is a 16 colors screenshot:

BTW I made another similar icon-script that isn't included -and won't be- in the AKReal distro that makes the same with the EAB File Server. You can find it here:
Hmm.. is AmiKit using a script for the FTP too? As it seems to be using Magellan2, you don't need any scripts for getting FTP sites on desktop. You can just drag&drop any FTP site from Opus FTP addressbook to desktop and save layout, and that's it, you'll get connected to the wanted FTP site whenever you click the icon.
jPV is offline  
Old 02 August 2016, 16:40   #25
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
If the Aminet WWW server could install an additional HTTP endpoint that returns search results in a structured, easily parsable format, a command line client would be easy to do.
idrougge is offline  
Old 04 August 2016, 00:34   #26
Korodny
Zone Friend
 
Join Date: Sep 2001
Location: Germany
Posts: 812
Quote:
Originally Posted by idrougge View Post
If the Aminet WWW server could install an additional HTTP endpoint that returns search results in a structured, easily parsable format, a command line client would be easy to do.
The following ADT files are accessible via HTTP (*):

http://aminet.net/info/adt/tree
http://aminet.net/info/adt/ADT_RECENT_14
http://aminet.net/info/adt/ADT_RECENT_60

GZipped versions are available as well, just append .gz to the filename.

listing files inside a particular directory could be done using the search engine (just like the normal web interface does), same for actual search results. We can easily tailor the format of the search results, one such custom job already exists, just append &format=pre to any search results:

http://aminet.net/search?query=test&format=pre

(this one was done for amiga-news.de's 'Weekly Aminet uploads' news items). We could also provide a completely custom results page (i.e. minus header/footer etc.).

(*) there's also http://aminet.net/info/adt/ADT_LOCAL for the complete index of files, but I wouldn't use that one in a lightweight client, plus it seems to have a small bug right now
Korodny is offline  
Old 04 August 2016, 02:55   #27
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
Something like JSON should be nicely parsable.
idrougge is offline  
Old 04 August 2016, 16:56   #28
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
Or just the old ADT format. The first field is a UNIX timestamp, right?
idrougge is offline  
Old 04 August 2016, 20:16   #29
Korodny
Zone Friend
 
Join Date: Sep 2001
Location: Germany
Posts: 812
Quote:
Originally Posted by idrougge View Post
Or just the old ADT format.
Thinking about it, we might have to define a new format - old ADT doesn't support "Architecture:". As I said, we're happy to provide whatever is required.

Quote:
The first field is a UNIX timestamp, right?
Yes. From left to right:

time, path, filename, filesize, readmesize, (L)ocal or (R)emote (ignore that one), short
Korodny is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
HDD from command line brolly support.WinUAE 2 29 March 2012 22:46
Winuae command line help synchro support.WinUAE 1 20 February 2012 02:20
is there new command line ? turrican3 support.WinUAE 1 15 April 2007 12:21
command line? Drake1009 support.WinUAE 7 14 August 2004 17:17
Command Line. ruttolibero support.WinUAE 1 25 July 2003 15:05

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:44.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08740 seconds with 15 queries