1.Introduction
Description: An extension to use SSHv2 with JSch
Latest Version: 1
Released: 2021-02-28T18:30:00Z
Last Updated: 2021-02-28T18:30:00Z
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 dir success | boolean
newWorkingDir | text
AfterDelete
Event raised after 'Delete' method with result success | boolean
Connected
Event indicating that connection to FTP server was successful and you are now logged inDisconnected
Event indicating that you are now logged out and disconnected from serverGotDirList
Event invoked after getting dir list from server dirNames | list
GotDownloadResult
Event invoked after getting previous download result success | boolean
response | text
GotError
Event invoked when any error occurs errorMessage | text
GotFileList
Event invoked after getting file list from server fileNames | list
GotUploadResult
Event invoked after getting previous upload result success | boolean
response | text
OnDownloadProgress
Event raised when downloading progress changes progress | number
OnUploadProgress
Event raised when uploading progress changes progress | number
ChangeWorkingDirectory
Changes current working dir and raises 'AfterChangeWorkingDirectory' event with result toDir | text
Connect
Tries to connect and login to the SFTP server using provided username and password host | text
username | text
password | text
port | number
strictHostCheck | boolean
CreateDir
Creates a new dir on server remoteDirName | text
CurrentWorkingDir
Returns current working directoryReturn type : text
Delete
Tries to delete given dir/file from the server remotePath | text
isFile | boolean
Disconnect
Tries to close the connection to the SFTP serverDownloadFile
Downloads file from server to given file pathUse absolute file path
remoteFileName | text
localFileName | text
HomeDir
Returns Home pathReturn type : text
IsConnected
Returns whether connection is open or notReturn type : boolean
ListDirs
Tries to get dir list dir | text
ListFiles
Tries to get files list dir | text
UploadFile
Uploads file on the server from given file pathUse absolute file path
localFileName | text
remoteFileName | text
4.Buy
Extension's Price: $6 or INR 350
Let me know if you are interested by dropping a PM
I am thankful to @TIMAI2 Sir for beta testing the extension.
Hope it helps!