filmov
tv
SFTP in python with pysftp along with examples
![preview_player](https://i.ytimg.com/vi/IQh0K_6ecrU/maxresdefault.jpg)
Показать описание
Please subscribe, like and share this video
00:00 - Intro
00:12 - SFTP server setup
01:20 - install pysftp
01:42 - connect to sftp server
04:17 - ignore known hosts check
05:23 - password based authentication
05:35 - cwd (change working directory)
06:59 - listdir (list of filenames)
08:17 - listdir_attr (list of file metadatas)
09:26 - put (upload single file)
11:34 - put_d and put_r (upload folder contents)
13:17 - get (download single file)
15:25 - get_d (download folder contents)
16:16 - get_r (download folder with subfolders also)
16:56 - stat (get metadata of a single file)
18:36 - rmdir (delete empty remote folder)
19:25 - delete non empty remote folder
21:07 - other important functions
21:14 - makedirs (create folder in sftp server)
22:07 - get size of file in bytes
22:14 - rename (rename a file in server)
22:48 - remove (delete a single file)
23:14 - Outro
#pysftp #ssh #paramiko #sftp #sftp #openssh #dev #tutorial #learning #beginners #taming_python
Комментарии