Fixed bugs: fixed size of resources, added error message compatible with UberFTP if a resource is not available.