To be able to enjoy the web you need a more recent and safe browser. For more information, check the Internet Explorer updates.
 You cannot register this service. Contact Support

API dinahosting

All the commands you need
If you have doubts, we help you for free

api.cta__h1

List of commands

List of errors

Librería de archivos

Dinahosting HTTP_Request libary files
Introduce el texto mostrado en la imagen

Hosting_Ftp_Account_Create

Creates a new FTP account.
1.0 -> 1.1: Minor improvements.
1.1 -> 1.2: Folder parameter is now optional (may be left empty or missing).
1.2 -> 1.3: Turned into a delayed execution command.
Please note this command has a delayed execution and it'll return SUCCESS_PENDING code on success and a ticket id (integer) on the data field.
Version: 1.3
Special errors:
COMMAND_PENDING_PREVIOUS_EXECUTION If there is a previous pending create for this FTP account.
OBJECT_STATUS_PROHIBITS_OP Account name is forbidden.
UNIMPLEMENTED_OBJECT_SERVICE If hosting can't manage FTP ( hosting setup forbids FTP ).

Parameters:

  • hosting (string): Hosting name. The parameter is required.
  • account (string): FTP account name. The parameter is required. Parameter length must be between 1 and 35 characters. It can contain only alphanumeric, underscore, dot or dash chars. String must start with a alphanumeric char.
  • password (string): Account password. The parameter is required. Parameter length must be between 6 and 71 characters.
  • folder (string): Remote folder. If missing or empty, the FTP account will use a default folder (like /www/). The parameter is optional. Parameter length must be between 0 and 150 characters.Parameter length must be between 1 and 255 characters. It should be a valid unix path.

Response data type.

int

Code generator.

Hosting name.

FTP account name.

Account password.

Remote folder. If missing or empty, the FTP account will use a default folder (like /www/).

 
 

Simulator

Los datos de respuesta no son reales.

Hosting name.

FTP account name.

Account password.

Remote folder. If missing or empty, the FTP account will use a default folder (like /www/).