Submit data feeds via SFTP or FTP

What are SFTP and FTP?

FTP stands for File Transfer Protocol and SFTP stands for SSH File Transfer Protocol. Both are common ways for users to download or upload files to the Internet. With SFTP, data is securely transferred using encryption and no clear text file data is transferred.

If choosing between SFTP or FTP, we strongly recommend that you use SFTP because it’s a more secure way to transfer files.

Before you begin

You'll need to first register your feed in order to submit data feeds. Please note that when submitting via SFTP or FTP, your file must be under one gigabyte (GB) in size, in either the compressed or uncompressed format. If your file is larger than this, split your file into multiple, smaller files before uploading.

If you need more help using SFTP or FTP after reading this article, please consult our troubleshooting guide.

Create an SFTP or FTP account

To create an SFTP or FTP account:

  1. From your Merchant Center account, click the Settings link, then click SFTP and FTP.
  2. Decide whether you will use SFTP or FTP. If you’d like to use FTP, expand the “Create an FTP account” section.
  3. An SFTP or FTP account username will be automatically generated. Click Generate passwordto generate a password and enable your account.
  4. A popup box will appear that contains your automatically generated password.
    • Please Note: Your password will not be shown again for security reasons. As a result, you should securely store your password before dismissing the popup box.
  5. Click Dismiss to return to the SFTP and FTP Settings page.

Note: First password generation may not take effect for several hours. If you can't log in to our SFTP or FTP server right away, please try again later.

Change your SFTP or FTP password

If you need to change your SFTP or FTP password, you can do so by generating a secure password within Merchant Center. To change your SFTP or FTP password:

  1. Click the Settings link, then click SFTP and FTP.
  2. In the SFTP or FTP section, click Generate new password.
  3. A popup box will appear asking you to confirm that you want to change your password. If you want to continue, click Confirm.
  4. Another popup box will appear that contains your newly generated password.
    • Please Note: Your password will not be shown again for security reasons. As a result, you should securely store your password before dismissing the popup box.
  5. Click Dismiss to return to the SFTP and FTP Settings page.

Note: You may only generate a new Google Merchant Center SFTP or FTP password; you won't be able to retrieve any lost or forgotten passwords.

Upload your file via SFTP

While you can use many methods to upload a file via SFTP, we've included instructions for the most common types below. If you haven't used SFTP before, we recommend Option 1 below as it's easiest to configure.

With all of the options, you’ll need the following information:

  • Host name: partnerupload.google.com this is our SFTP server where you will send your feed.
  • User: the SFTP username you can find in your Google Merchant Center SFTP settings.
  • SFTP server port: 19321 this is the port used to by the Google Merchant Center SFTP server.
  • SFTP server fingerprint: 28:47:22:31:c8:36:04:db:31:0d:80:ec:9b:e3:49:c0 this is the identifying server fingerprint key for partnerupload.google.com.
  • Password: the SFTP password you generated in your Google Merchant Center account. Note that this will be different from your Merchant Center password or any FTP password. Your SFTP password is set up under the SFTP Settings (Settings > SFTP and FTP) in your account.
Note: If you’re setting up scheduled fetches within Merchant Center, you cannot use Google’s SFTP Server (sftp://partnerupload.google.com) as your file URL.

Option 1: Transfer your data feed using an SFTP program

Transfer your data feed using an SFTP program

To use this method, you'll need to have an SFTP program, also known as an SFTP client, installed on your computer. If you don't already have an SFTP client, you can download one from the web. The following SFTP clients are free to try. (Depending on your usage, you may have to pay for these programs after your trial runs out.) Click on one of these links to download the program from the web.

After you have downloaded and installed your SFTP program, you will need to configure it so that you can connect to our SFTP server. Your SFTP client will need the following settings:

  • Host name:partnerupload.google.com This is our SFTP server where you will send your feed.
  • User: the SFTP username you can find in your Google Merchant Center SFTP settings.
  • Password: the SFTP password generated in your Google Merchant Center account. Note that this will be different from your Merchant Center password or any FTP password. Your SFTP password is set up under the SFTP Settings (Settings > SFTP and FTP) in your account.
  • Logontype: should be set to normal, not anonymous. You may have to change this setting before you will be able to enter your username and password.
Note: SFTP clients will have different interfaces. You may need to select the connection as SFTP or you may need to prefix the host name address with the ‘sftp://’ protocol (e.g., sftp://partnerupload.google.com). Refer to your to your SFTP client's documentation for instructions.

Option 2: SFTP your data using the command line

Windows: SFTP your data using Command Prompt
  1. From the Start menu, select Programs, then select Accessories, then select Command Prompt. Or from the Start menu, select Programs, then select MS-DOS Prompt. (If neither of these works: From the Start menu, select Search, then select For Files or Folders, then type in the word prompt. Double-click the file named "Command Prompt.")
  2. In the window that appears, type sftp -P 19321 {your sftp username}@partnerupload.google.com and hit Enter.
    • Provide the username you set up in Merchant Center (which can be found by clicking Settings then SFTP and FTP in your account).
    • “-P 19321” designates the correct port for the Google Merchant Center SFTP server.
  3. If this is your first time connecting to partnerupload.google.com, you may see the following prompt: “The authenticity of host '[partnerupload.google.com]:19321' can't be established. RSA key fingerprint is 28:47:22:31:c8:36:04:db:31:0d:80:ec:9b:e3:49:c0. Are you sure you want to continue connecting (yes/no)?” After verifying that the fingerprint key displayed in your session matches the one above, enter ‘y’.
  4. You'll be prompted to enter a password. Provide the SFTP password you generated in Merchant Center. Note that this will be different from your Merchant Center and any FTP password and is set up under the SFTP Settings (Settings > SFTP and FTP) in your account.
  5. Send the file via SFTP by typing put {your directory, including filename} and hitting Enter. For example, if you had a feed named "datafeed.txt" located in your Documents folder, you'd type "put C:\Users\username\Documents\datafeed.txt".
  6. After a few moments, you should see a status update appear which will show you the progress of your upload, and then confirm when the upload is complete. Once completed, you can exit the program.
Note: If you make a mistake along the way, you may get a blank prompt or an error message. If so, start over with the first step and continue until you're able to complete the transfer of your file.
Mac: SFTP your data using Terminal
  1. Open a Terminal window. You can do this by hitting Command + Spacebar, searching for "Terminal", and then selecting it in the box that appears.
  2. In the Terminal window that appears, type sftp -P 19321 {your sftp username}@partnerupload.google.com and hit Enter.
    • Provide the username you set up in Merchant Center (which can be found by clicking Settings then SFTP and FTP in your account).
    • “-P 19321” designates the correct port for the Google Merchant Center SFTP server.
  3. If this is your first time connecting to partnerupload.google.com, you may see the following prompt: “The authenticity of host '[partnerupload.google.com]:19321' can't be established. RSA key fingerprint is 28:47:22:31:c8:36:04:db:31:0d:80:ec:9b:e3:49:c0. Are you sure you want to continue connecting (yes/no)?” After verifying that the fingerprint key displayed in your session matches the one above, enter ‘y’.
  4. You'll be prompted to enter a password. Provide the SFTP password you generated in Merchant Center. Note that this will be different from your Merchant Center and any FTP password, and is set up under the SFTP Settings (Settings > SFTP and FTP) in your account.
  5. Send the file via SFTP by typing put {your directory, including filename} and hitting Enter. For example, if you had a feed named "datafeed.txt" located in your Documents folder, you'd type "put /Users/username/Documents/datafeed.txt".
  6. After a few moments, you should see a status update appear which will show you the progress of your upload, and then confirm when the upload is complete. Once completed, you can exit the program.

Note: If you make a mistake along the way, you may get a blank prompt or an error message. If so, start over with the first step and continue until you're able to complete the transfer of your file.

Linux: SFTP your data using the command line
  1. Open the Terminal.
  2. In the terminal window that appears, type sftp -P 19321 {your sftp username}@partnerupload.google.com and hit Enter.
    • Provide the username you set up in Merchant Center (which can be found by clicking Settings then SFTP and FTP in your account).
    • “-P 19321” designates the correct port for the Google Merchant Center SFTP server.
  3. If this is your first time connecting to partnerupload.google.com, you may see the following prompt: “The authenticity of host '[partnerupload.google.com]:19321' can't be established. RSA key fingerprint is 28:47:22:31:c8:36:04:db:31:0d:80:ec:9b:e3:49:c0. Are you sure you want to continue connecting (yes/no)?” After verifying that the fingerprint key displayed in your session matches the one above, enter ‘y’.
  4. You'll be prompted to enter a password. Provide the SFTP password you generated in Merchant Center. Note that this will be different from your Merchant Center and any FTP password, and is set up under the SFTP Settings (Settings > SFTP and FTP) in your account.
  5. Send the file via SFTP by typing put {your directory, including filename} and hitting Enter. For example, if you had a feed named "datafeed.txt" located in your Documents folder, you'd type "put /home/username/Documents/datafeed.txt".
  6. After a few moments, you should see a status update appear which will show you the progress of your upload, and then confirm when the upload is complete. Once completed, you can exit the program.

Note: If you make a mistake along the way, you may get a blank prompt or an error message. If so, start over with the first step and continue until you are able to complete the transfer of your file.

Upload your file via FTP

While you can use most methods in order to upload a file via FTP, we've included instructions for the most common types below. If you have not used FTP before, we recommend Option 1 below as it's easiest to configure.

Note: If you’re setting up scheduled fetches within Merchant Center, you cannot use Google’s FTP Server (ftp://uploads.google.com) as your file URL.

Option 1: FTP your data feed using an FTP program

FTP your data feed using an FTP program

To use this method, you'll need to have an FTP program, also known as an FTP client, installed on your computer. If you don't already have an FTP client, you can download one from the web. The following FTP clients are free to try. (Depending on your usage, you may have to pay for these programs after your trial runs out.) Click on one of these links to download the program from the web.

After you've downloaded and installed your FTP program, you will need to configure it so that you can connect to our FTP server. Your FTP client will need the following settings:

  • Host name: uploads.google.com This is our FTP server where you will send your feed.
  • User: the FTP username you can find in your Google Merchant Center FTP settings
  • Password: the FTP password you generated in your Google Merchant Center account. Note that this will be different from your Merchant Center password or any SFTP password. Your FTP password is set up under the FTP Settings (Settings > SFTP and FTP) in your account.
  • Logontype: should be set to normal, not anonymous. You may have to change this setting before you will be able to enter your username and password.
Note: Some FTP clients have different interfaces. Refer to your to your FTP client's documentation for instructions.

Option 2: FTP your data using the command line

Windows: FTP your data using Command Prompt
  1. From the Start menu, select Programs, then select Accessories, then select Command Prompt. Or from the Start menu, select Programs, then select MS-DOS Prompt. (If neither of these works: From the Start menu, select Search, then select For Files or Folders, then type in the word prompt. Double-click the file named "Command Prompt.")
  2. In the window that appears, type ftp uploads.google.com and hit Enter.
  3. You'll be prompted to enter a username. Provide the username from your Merchant Center account (which can be found by clicking Settings, then SFTP and FTP and expand the FTP settings section).
  4. You'll be prompted to enter a password. Provide the FTP password you generated in Merchant Center. Note that this will be different from your Merchant Center password and any SFTP password, and is set up under the FTP Settings (Settings > SFTP and FTP > Expand the FTP settings section) in your account.
  5. Send the file via FTP by typing put {your directory, including filename} and hitting Enter. For example, if you had a feed named "datafeed.txt" located in your Documents folder, you'd type "put C:\Users\username\Documents\datafeed.txt".
  6. After a few moments, you should see a status update appear which will show you the progress of your upload, and then confirm when the upload is complete. Once completed, you can exit the program.

Note: If you make a mistake along the way, you may get a blank prompt or an error message. If so, start over with the first step and continue until you're able to complete the transfer of your file.

Mac: FTP your data using Terminal
  1. Open a Terminal window. You can do this by hitting Command + Spacebar, searching for "Terminal", and then selecting it in the box that appears.
  2. In the Terminal window that appears, type ftp uploads.google.com and hit Enter.
  3. You'll be prompted to enter a username. Provide the username from your Merchant Center account (which can be found by clicking Settings, then SFTP and FTP and expand the FTP settings section).
  4. You'll be prompted to enter a password. Provide the FTP password you generated in Merchant Center. Note that this will be different from your Merchant Center password and any SFTP password, and is set up under FTP Settings (Settings > SFTP and FTP > Expand the FTP settings section) in your account.
  5. Navigate to the directory where your file is located on your computer by typing lcd {your directory}, and hitting Enter. For example, if your file is located in your Documents folder, you'd type "lcd /Users/username/Documents".
  6. Send the file via FTP by typing put {your filename} and hitting Enter. For example, if your filename was "datafeed.txt", you'd type "put datafeed.txt".
  7. After a few moments, you should see a status update appear which will show you the progress of your upload, and then confirm when the upload is complete. Once completed, you can exit the program.

Note: If you make a mistake along the way, you may get a blank prompt or an error message. If so, start over with the first step and continue until you're able to complete the transfer of your file.

Linux: FTP your data using the command line
  1. Open the Terminal.
  2. In the terminal window, type ftp uploads.google.com and hit Enter.
  3. You'll be prompted to enter a username. Provide the username you set up in Merchant Center (which can be set up or found by clicking Settings then FTP in your account).
  4. You'll be prompted to enter a password. Provide the FTP password you generated in Merchant Center. Note that this will be different from your Merchant Center password and any SFTP password, and is set up under the FTP Settings (Settings > SFTP and FTP > Expand the FTP settings section) in your account.
  5. Navigate to the directory where your file is located on your computer by typing lcd {your directory}, and hitting Enter. For example, if your file is located in your Documents folder, you'd type "lcd /home/username/Documents".
  6. Send the file via FTP by typing put {your filename} and hitting Enter. For example, if your filename was "datafeed.txt", you'd type "put datafeed.txt".
  7. After a few moments, you should see a status update appear which will show you the progress of your upload, and then confirm when the upload is complete. Once completed, you can exit the program.

Note: If you make a mistake along the way, you may get a blank prompt or an error message. If so, start over with the first step and continue until you're able to complete the transfer of your file.

Was this article helpful?