About Intellectual Property IP Training IP Outreach IP for… IP and... IP in... Patent & Technology Information Trademark Information Industrial Design Information Geographical Indication Information Plant Variety Information (UPOV) IP Laws, Treaties & Judgements IP Resources IP Reports Patent Protection Trademark Protection Industrial Design Protection Geographical Indication Protection Plant Variety Protection (UPOV) IP Dispute Resolution IP Office Business Solutions Paying for IP Services Negotiation & Decision-Making Development Cooperation Innovation Support Public-Private Partnerships The Organization Working with WIPO Accountability Patents Trademarks Industrial Designs Geographical Indications Copyright Trade Secrets WIPO Academy Workshops & Seminars World IP Day WIPO Magazine Raising Awareness Case Studies & Success Stories IP News WIPO Awards Business Universities Indigenous Peoples Judiciaries Genetic Resources, Traditional Knowledge and Traditional Cultural Expressions Economics Gender Equality Global Health Climate Change Competition Policy Sustainable Development Goals Enforcement Frontier Technologies Mobile Applications Sports Tourism PATENTSCOPE Patent Analytics International Patent Classification ARDI – Research for Innovation ASPI – Specialized Patent Information Global Brand Database Madrid Monitor Article 6ter Express Database Nice Classification Vienna Classification Global Design Database International Designs Bulletin Hague Express Database Locarno Classification Lisbon Express Database Global Brand Database for GIs PLUTO Plant Variety Database GENIE Database WIPO-Administered Treaties WIPO Lex - IP Laws, Treaties & Judgments WIPO Standards IP Statistics WIPO Pearl (Terminology) WIPO Publications Country IP Profiles WIPO Knowledge Center WIPO Technology Trends Global Innovation Index World Intellectual Property Report PCT – The International Patent System ePCT Budapest – The International Microorganism Deposit System Madrid – The International Trademark System eMadrid Article 6ter (armorial bearings, flags, state emblems) Hague – The International Design System eHague Lisbon – The International System of Appellations of Origin and Geographical Indications eLisbon UPOV PRISMA Mediation Arbitration Expert Determination Domain Name Disputes Centralized Access to Search and Examination (CASE) Digital Access Service (DAS) WIPO Pay Current Account at WIPO WIPO Assemblies Standing Committees Calendar of Meetings WIPO Official Documents Development Agenda Technical Assistance IP Training Institutions COVID-19 Support National IP Strategies Policy & Legislative Advice Cooperation Hub Technology and Innovation Support Centers (TISC) Technology Transfer Inventor Assistance Program WIPO GREEN WIPO's Pat-INFORMED Accessible Books Consortium WIPO for Creators WIPO ALERT Member States Observers Director General Activities by Unit External Offices Job Vacancies Procurement Results & Budget Financial Reporting Oversight

Installing and Using lftp

Installation

Before installing lftp, the OpenSSH suite of utilities must be installed. It is also necessary to have configured your local account to support public key authentication with the PCT-EDI server. Once you can successfully connect to the PCT-EDI server using "sftp" and public key authentication as above, you may install lftp. As with OpenSSH, lftp should be installed by an experienced Unix systems administrator. Source code and precompiled binaries, along with installation instructions, may be found at http://lftp.yar.ru/

The local configuration and use instructions below assume the presence of a working, correct lftp installation.

Configuration and Use

  • Lftp requires the use of an unprotected private key file in the user ".ssh" directory. If your current OpenSSH private key is protected, you may unprotect it with the "ssh-keygen" application. First, cd to the ".ssh" directory. Then, type "ssh-keygen –p" and follow the instructions as shown below. Enter your account name as the file name. You will be prompted for your existing passphrase. You may then change the passphrase to empty.

  • You may now connect to the PCT-EDI system. Type "lftp". You will see the lftp prompt. Then, type "open –u xx,xx sftp://pctftp.wipo.int". This specifies an SFTP connection to pctftp.wipo.int, with the username xx. Note that the second "xx" after the –u flag is the account password. No password is needed for this account, as we are using public key authentication. The second "xx" is simply a filler to prevent lftp from asking for a password.

    After entering the "open" command you will once again see the lftp prompt. Simply type "ls" to make the connection and show a directory listing.


  • You may now use lftp however you like. The lftp man page contains extensive information on the various lftp features.