Update:
So I've figured out that the problem occurs when trying to download ForgeModLoader, I have manually downloaded the one for minecraft v.1.5.2 but with little success when implementing it manually on the server.
Is there any way to download the whole server, bypassing the necessary setup?