Facebook
License Data Upload - Financial Ads Licensing - Documentation - Meta for Developers

Introduction

This document outlines the flow the regulator needs to follow to upload the license documentation to the Meta SFTP solution. This will allow regulators to have their own access to their own workspace within Meta servers where they will be able to upload the license CSV files, which will then be used to store that information in the Meta database.

Getting Started

There are multiple ways in which you as a regulatory body can upload license documentation to Meta servers. This document will outline all the steps required to be followed in both options, which will allow you to upload the file to the Meta servers.

Option 1: Via Terminal on your Windows/Mac/Linux device

Step 1: Logging into the workspace

Login to your workspace using the SFTP user ID and password received in your email as a secure message.

From a command line/terminal:

sftp 1234567890@sftp.fb.com
1234567890@sftp.fb.com's password:
Connected to sftp.fb.com.
sftp> pwd

Step 2: Copy file from Local Directory to SFTP

# Check your local working directory:
sftp> lpwd
Local working directory: /Users/your_username/Downloads

# Check the remote working directory:
sftp> pwd
Remote working directory: /share_folder_name

# Navigate to your local directory containing the files:
sftp> lcd Users/your_username/Downloads

# Upload the file to the SFTP server:
sftp> put local_filename.xyz /share_folder_name
# Uploading local_filename.xyz to /share_folder_name/filename.xyz
# local_filename.xyz    100%   54MB 654.9KB/s   01:12

Option 2: Via FileZilla

FileZilla is just one of many SFTP clients available. Vendors can use any SFTP client that supports the SFTP protocol. These provide a user-friendly interface for drag-and-drop uploads. The initial effort for this setup can be a little tricky but for future uses it can serve as an easy-to-use solution.

Step 1: Install FileZilla

You can go to https://filezilla-project.org/ and install FileZilla.

Step 2: Connect to SFTP Server

  1. Open the Site Manager- Click the "File" menu -> "Site Manager".
  2. Add a New Site- Click "New Site" and give it a name (e.g., "Meta SFTP").
  3. Enter Connection Details:
    • Host:Enter your SFTP server address.
    • Port:Enter 22 (default for SFTP).
    • Protocol:Select "SFTP - SSH File Transfer Protocol".
    • Logon Type:Choose "Normal" (for username/password) or "Key file" (for SSH key).
    • Username:Enter your SFTP username.
    • Password:Enter your SFTP password.
    • Key file:Browse and select your SSH key file (if using key authentication).
  4. Connect- Click "Connect" to establish the connection.

Step 3: Upload Files

  1. Navigate to Local Directory- Use the left pane to browse your local files.
  2. Navigate to Remote Directory- Use the right pane to browse the remote SFTP directories.
  3. Upload- Drag and drop files from the left pane (local) to the right pane (remote). Wait for the transfer to complete (progress shown at the bottom).
Build a Mobile Site
View Site in Mobile | Classic
Share by: