Skip to main content

How to Import Files via SFTP?

SFTP INTEGRATION

Import documents from an SFTP server

Connect Docparser to your SFTP server to automatically import documents from a remote folder into your parser.

✓ Secure SSH transfer ✓ Password or private key authentication ✓ Automatic document imports
i

Before you begin

You will need your SFTP hostname, username, authentication credentials, and the path to the folder containing the documents you want to import.

1

Enter your server details

Start by entering the connection details for your SFTP server. These details are normally provided by your SFTP administrator or hosting provider.

Host

The hostname or IP address of your SFTP server.

sftp.example.com
Port

The port used to connect to your SFTP server. Standard SFTP connections normally use port 22.

22
2

Choose the remote folder

Enter the folder on your SFTP server that contains the documents you want Docparser to import.

Example folder path /invoices/

You can choose whether this path starts from the SFTP user's home folder or from the root of the server.

Server root folder

Use this when your SFTP provider requires an absolute path beginning from the server's root directory.

Only select this option when your SFTP account has access to the specified absolute path.
3

Enter your username

Enter the username Docparser should use when connecting to your SFTP server.

Username

username
4

Choose an authentication method

Docparser supports both password and SSH private key authentication.

•••

Password

Select Password and enter the password associated with your SFTP account.

</>

Private key (SSH)

Select Private key (SSH) if your SFTP server uses key-based authentication.

Passphrase-protected private keys are also supported.

5

Save and test your connection

Once your connection details are complete, click Save and Test.

Docparser will attempt to connect to the SFTP server using the credentials and folder settings you provided.

Save and Test
TROUBLESHOOTING

Having trouble connecting?

Connection failed

Check that the hostname and port are correct and that the SFTP server accepts external connections.

Authentication failed

Verify your username and password or confirm that you are using the correct SSH private key.

Folder not found

Check the remote folder path and whether it should start from the SFTP home folder or server root.

Documents aren't importing

Confirm that the configured SFTP user has permission to access and read files from the selected folder.

Was this article helpful?
1 out of 1 found this helpful

Still stuck?

Send us your parser name and a sample document.

Submit a request