> **Source:** https://knowledge.leegality.com/document-execution/leegality-features/document-level/sftp > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # Transfer Completed Document using SFTP SFTP, or Secure File Transfer Protocol, is a file transfer mechanism that uses secure shell encryption to provide a high level of security for sending and receiving file transfers. It builds on the File Transfer Protocol (FTP) and includes Secure Shell (SSH) security components. SFTP transfers files securely using SSH and encrypted FTP commands to avoid password sniffing and exposing sensitive information in plain text. Since the client needs to be authenticated by the server, SFTP also protects against man-in-the-middle attacks. Secure File Transfer Protocol helps in providing secure file access, file transfer, and file management of signed documents and audit trails. > **Info — Note** > > Note: The transfer of this zip file is triggered within 15 mins upon document completion. ## Steps to activate SFTP 1. Once the document is created or while creating the workflow, on the invitee page click on **Signing journey options**. 2. Toggle on **Transfer Completed Document using SFTP**. 3. Choose an **SFTP Profile** from the drop-down. > **Info — Note** > > The completed document and audit trail will be transferred to the selected SFTP profile once the document is completed. If SFTP is configured for a document, once all signatories sign the document, the completed document and audit trail will be transferred via SFTP as a single zip file. An email/SMS notification will be triggered if the transfer via SFTP fails. ## Name Format of Transferred Document > **Info** > > - Zip file: IRN_DocumentID.zip > - Signed Document: 1_Document Name.pdf > - Audit Trail: 1_Audit Trail.pdf The Document Name and Audit Trail are indexed to prevent the transfer of duplicate documents.