Per poder gaudir de la web necessites un navegador més recent i segur. Per més informació, revisa les actualitzacions d'Internet Explorer.
 No es pot donar d'alta aquest servei. Contacta amb Suport

API dinahosting

Totes les ordres que necessites
Si tens dubtes, t'ajudem gratis

api.cta__h1

Llista de comandaments

Llista d'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.

Tipus de dades de resposta

int

Generador de codi

Hosting name.

FTP account name.

Account password.

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

 
 

Simulador

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/).