I have found a possible answer on XDA Developers forums
Beside account and developer status…one need to request to AFH support for the ftp access and wait till you get your ftp username:password from AFH support
At google cloud cd or go to directory where the file you want to upload to AFH
curl -ftp-pasv -T ROMNAME.zip ftp://USERNAME:PASSWORD@uploads.androidfilehost.com
Login at AFH > File manager > Device > Manage files > Folder > Files > Import ftp > select server (wait till fetch finish) > select the file > Add to queue > click the Start Upload button > done
I’ve requested and been given ftp access at AFH. I’m running a build (for Sony karin_windy) at the moment. If it succeeds I’ll try sending it from the OVH instance direct to AFH. I’ll let you know how I get on.
[Later] It works very well.
curl --ftp-pasv -T *.zip ftp://petefoth:*****************@uploads.androidfilehost.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 742M 0 0 100 742M 0 27.0M 0:00:27 0:00:27 --:--:-- 27.0M
742MB in 27 seconds! I am v. happy with this outcome
If you’re building ROMs remotely, then get ftp access from AFH!