1.Introduction
Description: SFTP (Secure File Transfer Protocol) is a secure way to transfer files between a client and a server. It is similar to FTP (File Transfer Protocol) but is more secure as it uses SSH (Secure Shell) to encrypt the data being transferred. Using SFTPClient extension you can use SSHv2 in your app (JSch lib used ) . It allows to connect to an SFTP server, and perform various operations like uploading and downloading files, creating and deleting directories, etc.
Latest Version: 1
Released: March 1, 2021
Last Updated: March 1, 2021
Permissions: android.permission.INTERNET,android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE
2.Blocks





3. Documentation
AfterChangeWorkingDirectory | Event invoked after ‘ChangeWorkingDirectory’ method with result and new working dirsuccess | boolean newWorkingDir | text |
AfterDelete | Event raised after ‘Delete’ method with resultsuccess | boolean |
Connected | Event indicating that connection to FTP server was successful and you are now logged in |
Disconnected | Event indicating that you are now logged out and disconnected from server |
GotDirList | Event invoked after getting dir list from serverdirNames | list |
GotDownloadResult | Event invoked after getting previous download resultsuccess | boolean response | text |
GotError | Event invoked when any error occurserrorMessage | text |
GotFileList | Event invoked after getting file list from serverfileNames | list |
GotUploadResult | Event invoked after getting previous upload resultsuccess | boolean response | text |
OnDownloadProgress | Event raised when downloading progress changesprogress | number |
OnUploadProgress | Event raised when uploading progress changesprogress | number |
ChangeWorkingDirectory | Changes current working dir and raises ‘AfterChangeWorkingDirectory’ event with resulttoDir | text |
Connect | Tries to connect and login to the SFTP server using provided username and passwordhost | text username | text password | text port | number strictHostCheck | boolean |
CreateDir | Creates a new dir on serverremoteDirName | text |
CurrentWorkingDir | Returns current working directory |
Delete | Tries to delete given dir/file from the serverremotePath | text isFile | boolean |
Disconnect | Tries to close the connection to the SFTP server |
DownloadFile | Downloads file from server to given file path Use absolute file path remoteFileName | text localFileName | text |
HomeDir | Returns Home path |
IsConnected | Returns whether connection is open or not |
ListDirs | Tries to get dir listdir | text |
ListFiles | Tries to get files listdir | text |
UploadFile | Uploads file on the server from given file path Use absolute file path localFileName | text remoteFileName | text |
4.Buy
Extension’s Price: $6 or INR 350
You can purchase extension by paying via PayPal and Upi. Please let me know your email address after payment so that I can send you aix and related files.
Terms and Conditions
- You are buying a digital product and agree to the No Return, No Refund Policy.
- You can use the extension in as many projects as you like and pass the generated apk files to as much end users as you like, also of course you can publish your apk files to Google Play and other services
- This is a single user license for you as App Inventor developer, which means, the extension (aix file) is only for you to use. You are not allowed to pass the extension (aix file) to someone else.
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
If you face any issue or have any question, you can always contact me.
Hope it helps!