An example VS Code extension demonstrating how to use the Zowe Explorer extension API. It implements Zowe CLI FTP plugin support for the USS explorer. You can then create Zowe CLI FTP profiles and add them to the USS Zowe Explorer to use the FTP protocol for accessing files instead of zOSMF.
This example will ony work with version 1.2.0 or newer of the Zowe Explorer.
This example is using the Zowe FTP CLI plugin as a dependency to provide FTP capabilities.
zowe profiles create zftp <profile name> -H <host> -u <user> -p <password> -P <port>
This repo uses Yarn for building.
zowe-explorer-ftp-extension
repo:
git clone git@github.com:zowe/zowe-explorer-ftp-extension.git
yarn && yarn package
Preferences > Extensions
menu or just run this extension from VS Code that has the Zowe Explorer built from the AI branch running with the <F5>
key.<F5>
out of the development workspace as described above.+
icon and you will see your Zowe FTP profile listed in the drop-down.TBD, but the rough steps would be:
src/api/ZoweExplorerAPI.ts
IMvs
, IUss
, IJes
interfaces.registerFtpApi()
in extension.ts
that queries the Zowe Explorer API and calls the registration method.