This API is only applicable to SQL Server instances.

This API is used to create the account and password for file server logon and the path for files to be uploaded. You can upload data files based on the preceding information. When the upload is completed, you can call the data import API 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 or not 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 Internet
InternetPort Integer Port number on the file server on Internet
IntranetFtpServer String IP address of the server on the intranet
IntranetPort Integer Port number on the server on 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 an extension

Example CreateUploadPathForSQLServer
&<Public request parameters>

Response example

XML format


JSON format

       "InternetFtpServer ":""