How do I access the SFTP server and retrieve my reports?
You can retrieve the reports using any SFTP client. This page provides examples for retrieving SFTP reports using WinSCP or a Linux command line.
Using WinSCP
Before you begin, make sure WinSCP is downloaded and installed on your computer, and you've created an SFTP user ID and password.
- Click New.
- Create a login to a new site with the following information:
- Protocol: SFTP
- Host name: reports.paypal.com for the live environment or reports.sandbox.paypal.com for the sandbox environment.
- Port number: 22
- Username: The SFTP username you were assigned when you created the account.
- Password: The password for the SFTP user that you created. The password isn't automatically generated and is set separately from your PayPal account password.
- Select Login. After you log in to the server, your local files are shown in the left pane and the SFTP server files are shown in the right pane.
- In the right pane, select ppreports > outgoing and move any reports over to your local files.
- To log off and end the session, select Session > Disconnect.
Using Linux command line
The following instructions were performed on a Linux machine running Red Hat version 9. Check the help for the sftp command on your installation if the following commands don't work.
- From the command prompt, type sftp username@reports.paypal.com.
- Enter the password that you created for the SFTP user.
- After you're logged in to the server, navigate to the report directory using the following command: cd ppreports/outgoing
- Type ls to list the files in the directory.
- Download report files using get FILENAME. For example, get STL-20230711.01.002.CSV.
- Note: Files are downloaded to the local machine directory you were in before you ran the SFTP command.
- To log off and end the session, type exit.
Note: Command line SFTP supports wild card operators. For example:
- To download all settlement reports on the server, type get STL-*
- To download all reports for July 2023, type get STL-202307*