This API is only applicable to SQL Server instance.

Create the account and password for file server logon and the path information for files to be uploaded. The user can upload data files based on the preceding information. When the upload is completed, the user can call the data import interface to migrate external data. The restrictions are as follows:

  • Instance status: active.

  • Database status: active.

  • Up to 20 files can be created for a single database every day. A 24-hour period is considered as a single day. For example, if the last creation time was 2012-03-15 18:30:12, the next creation time must be later than 2012-03-16 18:30:12.

Request parameters

Name Type Required Description
Action String Yes Required parameter. Value: CreateUploadPathForSQLServer.
DBInstanceId String Yes Instance ID.
DBName String Yes Name of a database.

Response parameters

Name Type Description
<Public Return Parameters> For more information, see Public parameters.
InternetFtpServer String File server on the Internet.
InternetPort Integer Port number on the file server on the Internet.
IntranetFtpServer String IP address of the server on the intranet.
IntranetPort Integer Port number on the server on the Intranet.
UserName String Account used to log on to the file server.
Password String Password used to log on to the file server.
FileName String File name, with the extension.

Example CreateUploadPathForSQLServer
&<Public request parameters>

Response example

XML format


JSON format

       "InternetFtpServer ":""