To be able to enjoy the web you need a more recent and safe browser. For more information, check the Internet Explorer updates.
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad
 You cannot register this service. Contact Support
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad

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_Import_ApplyForFtp

Apply for a database import to your hosting.
1.0 -> 1.1: Removed unused parameter.
1.1 -> 1.2: Parameters "create" and "destinationPassword" are now deprecated.
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.2
Special errors:
OBJECT_EXISTS If destination ftp account cannot be created because already exists.
OBJECT_NOT_EXISTS If destination ftp account doesn't exists.
PARAMETER_VALUE_POLICY_ERROR When create parameter value is true. Must be false.

Parameters:

  • hosting (string): Destination hosting name. The parameter is required.
  • originUser (string): Origin user 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.
  • originPassword (string): Origin user password. The parameter is required. Parameter length must be between 3 and 35 characters.
  • originServer (string): Origin server hostname. Port is 21. The parameter is required.
  • originDirectory (string): Destination directory. The parameter is optional. Parameter length must be between 1 and 255 characters. It should be a valid unix path.
  • create (bool): Deprecated parameter. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • destinationUser (string): Destination new user name. If it's empty, we'll use originUser as the destination user name on creation. The parameter is optional. 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.
  • destinationPassword (string): Deprecated parameter. The parameter is optional.
  • notificationMail (string): Email address for a notification. The parameter is optional. Parameter value must be a valid email address.

Response data type.

int

Code generator.

Destination hosting name.

Origin user name.

Origin user password.

Origin server hostname. Port is 21.

Destination directory.

Deprecated parameter.

Destination new user name. If it's empty, we'll use originUser as the destination user name on creation.

Deprecated parameter.

Email address for a notification.

 
 

Simulator

Los datos de respuesta no son reales.

Destination hosting name.

Origin user name.

Origin user password.

Origin server hostname. Port is 21.

Destination directory.

Deprecated parameter.

Destination new user name. If it's empty, we'll use originUser as the destination user name on creation.

Deprecated parameter.

Email address for a notification.