English Amiga Board


Go Back   English Amiga Board > Other Projects > project.EAB File Server

 
 
Thread Tools
Old 31 October 2017, 17:53   #1601
Turran
Registered User

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 43
Posts: 916
Its php, yes, with bash at the end that actually triggers the command. Yeah, that will work, but there are a lot of other cases where it will crap out as well. The current filter is basically [0-9][aA-zZ] is OK, as well as "-" and "_".

So I need a big ass regexp to replace all non alphanum minus "-" and "_" to be replaced.

I think I'll try the "chose an alternate name" route... I'll see what I can do.

Last edited by Turran; 31 October 2017 at 19:13.
Turran is offline  
AdSense AdSense  
Old 31 October 2017, 18:56   #1602
Turran
Registered User

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 43
Posts: 916
Well, I went the easy route.
If a username contains any other chars other than alphanumerical ones, it will be stripped of those chars before adding the user.

The user will be informed of this in a big fat bold text.

It stores the original username in the userfile on the FTP so we can always check the EAB forum name (from now on).

The only way this can go wrong if the user "-abc123-" register an account (named abc123) and another user called "!abc123^-<<" tries to register as well. He wont be able to as "abc123" already exists.

Last edited by Turran; 31 October 2017 at 19:12.
Turran is offline  
Old 31 October 2017, 19:08   #1603
Turran
Registered User

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 43
Posts: 916
To sum up where we are right now and what have been changed..
  • The anonymous ftp user have been changed to 50kb/sec max download speed.
  • The anonymous ftp user have been changed from 40 logins max to 20.
  • If anonymous users want to download faster, we have a google drive link: https://drive.google.com/drive/folde...XRvNkVOelNNRk0
  • You can register an account, previously called an "upload account", to get access to full speed and upload rights, but...
  • Registered accounts are limited to 50GB/week download.
  • To register an account, you must have an EAB Forum account that has at least 15 forum posts to its name. The last post must be no older than 5 days old.
  • If you already have an "upload account" from earlier, you do not have to do anything.
  • The mirror is untouched right now. Up to DannyBoy if he wants to make changes =)
  • All "generic" limiters on the FTP server removed for better speeds with a high number of concurrent users.
  • Disabled ident lookup on the FTP server for faster logins!

Last edited by Turran; 31 October 2017 at 19:21.
Turran is offline  
Old 31 October 2017, 19:42   #1604
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 18,279
Quote:
Originally Posted by Turran View Post
To sum up where we are right now and what have been changed..
  • The anonymous ftp user have been changed to 50kb/sec max download speed.
  • The anonymous ftp user have been changed from 40 logins max to 20.
  • If anonymous users want to download faster, we have a google drive link: https://drive.google.com/drive/folde...XRvNkVOelNNRk0
  • You can register an account, previously called an "upload account", to get access to full speed and upload rights, but...
  • Registered accounts are limited to 50GB/week download.
  • To register an account, you must have an EAB Forum account that has at least 15 forum posts to its name. The last post must be no older than 5 days old.
  • If you already have an "upload account" from earlier, you do not have to do anything.
  • The mirror is untouched right now. Up to DannyBoy if he wants to make changes =)
  • All "generic" limiters on the FTP server removed for better speeds with a high number of concurrent users.
  • Disabled ident lookup on the FTP server for faster logins!
thanks for your huge work on maintaining and improving the FTP for us, Turran!
Akira is offline  
Old 31 October 2017, 21:40   #1605
DannyBoy
Registered User
 
Join Date: Jul 2013
Location: Helsinki / Finland
Age: 36
Posts: 86
You've been busy as hell
Quote:
The mirror is untouched right now. Up to DannyBoy if he wants to make changes =)
If someone insists we can look into this, but then someone else might need to spoonfed me a solution I think it's fine as is though. Mirror is just kinda like google drive.. except.. it's not.. quite
DannyBoy is offline  
Old 31 October 2017, 22:00   #1606
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 41
Posts: 9,660
Quote:
Originally Posted by Turran View Post
To sum up where we are right now and what have been changed..

  • The anonymous ftp user have been changed to 50kb/sec max download speed.
  • The anonymous ftp user have been changed from 40 logins max to 20.
  • If anonymous users want to download faster, we have a google drive link: https://drive.google.com/drive/folde...XRvNkVOelNNRk0
  • You can register an account, previously called an "upload account", to get access to full speed and upload rights, but...
  • Registered accounts are limited to 50GB/week download.
  • To register an account, you must have an EAB Forum account that has at least 15 forum posts to its name. The last post must be no older than 5 days old.
  • If you already have an "upload account" from earlier, you do not have to do anything.
  • The mirror is untouched right now. Up to DannyBoy if he wants to make changes =)
  • All "generic" limiters on the FTP server removed for better speeds with a high number of concurrent users.
  • Disabled ident lookup on the FTP server for faster logins!
Yes indeed, to re-iterate Akira's post...

Well done indeed Turran (and modrobert for the scripts). You've done a sterling job!!!

...I'm sure it's been a lot of work but you've provided a solution that should suit everyone i.e:

a) Given "real" EAB members great speeds / access and an easy way to create an FTP account; according to certain criteria.
b) Provided many alternative solutions for non-EAB members, *cough*, other leechers, and all without removing their ability to still access / download our content.
DamienD is online now  
Old 31 October 2017, 22:29   #1607
MartinW
Registered User

 
Join Date: Mar 2017
Location: United Kingdom
Posts: 151
Quote:
Originally Posted by DamienD View Post
Well done indeed Turran (and modrobert for the scripts). You've done a sterling job!!!
+1

Short of directly using or otherwise syncing the forums user directory on the FTP this is a pretty good approach that also gives anonymous people somewhere to go at a reasonable speed if they take the time to go and find out the 'where'. If they don't well, they'll have to suffer the slow speed.

I will probably grab an account if that's OK, even though I don't use it too often. I find myself looking every now and again and downloaded a couple of manuals a few days ago. I wish I could contribute with something to upload but unless I suddenly find a secret stash of Amiga stuff somewhere, everything I have has already come off the internet so will likely already be up there.
MartinW is offline  
Old 01 November 2017, 11:08   #1608
modrobert
old bearded fool

modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 50
Posts: 424
I have updated the previous release post with eab_post_count.py v1.12.

Code:
eab_post_count.py v1.12 by modrobert in 2017
Function: Returns the number of posts for a given EAB forum user.
Syntax  : eab_post_count.py -u <username> [-i] [-l YYYY-MM-DD]
Options : -h this help text.
        : -i ignore case sensivity in user name.
          -l last post after YYYY-MM-DD required.
          -u followed by user name.
Result  : 0 = user found, 1 = user not found, 2 = EAB down, 3 = other fail.
After briefly being unable to access the EAB forum it occurred to me something was missing.

Changelog v1.12:
* Added exit/result code 2 when the EAB website is down by properly dealing with the exception.
* Added result code 3 for other fail like bad arguments etc.
modrobert is offline  
Old 01 November 2017, 15:30   #1609
Turran
Registered User

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 43
Posts: 916
Quote:
Originally Posted by modrobert View Post
I have updated the previous release post with eab_post_count.py v1.12.
Updated. Tested. Works.
Thanks =)
Turran is offline  
Old 01 November 2017, 16:07   #1610
Turran
Registered User

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 43
Posts: 916
Quote:
Originally Posted by MartinW View Post
+1

I will probably grab an account if that's OK,
Thanks, and of course its ok. If its not, the registration form will say so now =)
Turran is offline  
Old 01 November 2017, 19:14   #1611
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 801
Quote:
Originally Posted by Magix View Post
The file server is available at:

Code:
host: grandis.nu
port: 21
user: ftp
pass: any
ftp://ftp:amiga@grandis.nu

You can use this search: http://grandis.nu:81/eabsearch
first post needs to be edited, as ftp://ftp:amiga@grandis.nu does not work anymore.
there is ftp://username:password@grandis.nu/
honx is online now  
Old 01 November 2017, 19:17   #1612
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 41
Posts: 9,660
Quote:
Originally Posted by honx View Post
first post needs to be edited, as ftp://ftp:amiga@grandis.nu does not work anymore.
there is ftp://usernameassword@grandis.nu/
No, this still works but:

Quote:
Originally Posted by Turran View Post
  • The anonymous ftp user have been changed to 50kb/sec max download speed.
  • The anonymous ftp user have been changed from 40 logins max to 20.
...your issue here was that there were already 20 anonymous ftp users connected so no more allowed.
DamienD is online now  
Old 01 November 2017, 19:23   #1613
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 801
Quote:
Originally Posted by DamienD View Post
No, this still works but:


...your issue here was that there were already 20 anonymous ftp users connected so no more allowed.
now it works, some minutes ago had same error about simultanous downloads.
so i assume this link of interest also is affected by this new connection limit...
honx is online now  
Old 01 November 2017, 19:24   #1614
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 41
Posts: 9,660
Quote:
Originally Posted by honx View Post
now it works, a few minutes ago i got same error about simultanous downloads.
What; you got the same error when using your own / brand new account?

Quote:
Originally Posted by honx View Post
so i assume this link also is affected by this new connection limit...
No.
DamienD is online now  
Old 01 November 2017, 19:26   #1615
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 801
Quote:
Originally Posted by DamienD View Post
What; you got the same error when using your own / brand new account?
no, i did not use new ftp://username:password@grandis.nu/.
i used ftp://ftp:amiga@grandis.nu from first post instead.
so i assume i haven't been logged in this way...
honx is online now  
Old 01 November 2017, 19:28   #1616
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 41
Posts: 9,660
Oh man, is it really that difficult to understand?

You now have an account; use it

Again, start a web browser and type the following in the address bar:
Code:
ftp://username:password@grandis.nu/
...but replace in the above:

Your username = honx
Your password = <whatever you set when you created the account>
DamienD is online now  
Old 01 November 2017, 19:30   #1617
honx
Registered User

honx's Avatar
 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 801
Quote:
Originally Posted by DamienD View Post
Oh man, is it really that difficult to understand?

You now have an account; use it :agree

Again, start a web browser and type the following in the address bar:
Code:
ftp://username:password@grandis.nu/
Your username = honx
Your password = <whatever you set when you created the account>
that's why i posted:
Quote:
Originally Posted by honx View Post
first post needs to be edited, as ftp://ftp:amiga@grandis.nu does not work anymore.
there is ftp://username:password@grandis.nu/
:D :)
honx is online now  
Old 01 November 2017, 21:02   #1618
Turran
Registered User

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 43
Posts: 916
We should remove it all together and tell people to grab Filezilla or something instead.

And we should change it to reflect that all members (with 15 posts, last one no older than 5 days) are encouraged to register their own accounts instead.
Right now it only says to create an "upload account".

The post linked in the first post to create an upload account was updated yesterday, but I can't update the first post =)
http://eab.abime.net/showpost.php?p=...&postcount=780
Turran is offline  
Old 01 November 2017, 21:10   #1619
Devlin
Sorcerian

Devlin's Avatar
 
Join Date: Nov 2005
Location: Bradford, UK
Age: 31
Posts: 232
The sign up page told me my account is not eligible because i'd not posted. Once I'm regged it's not going to become invalid because I lurk more than post?
Devlin is offline  
Old 01 November 2017, 21:20   #1620
Turran
Registered User

Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 43
Posts: 916
Quote:
Originally Posted by Devlin View Post
The sign up page told me my account is not eligible because i'd not posted. Once I'm regged it's not going to become invalid because I lurk more than post?
Edit: Now I get it. No, it will not become inactive. Just log on to the FTP once with your new account to "verify it" and its fine forever (which you've already done =) ).
Turran is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
While EAB file server is down... Retroplay project.EAB File Server 23 31 December 2013 01:48
Setting up an EAB file server account. fatman2021 project.EAB 1 26 August 2013 09:24
Is EAB file server deleted ? Ribdevil project.EAB File Server 13 03 February 2012 20:28
EAB File Server structure update TCD project.EAB File Server 38 18 November 2010 07:49
EAB File Server team reinforcement TCD project.EAB File Server 9 22 August 2010 21:39

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 18:39.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.22578 seconds with 14 queries