Тёмный

How to use SFTP Commands to Copy Files to/from a Server 

Tony Teaches Tech
Подписаться 111 тыс.
Просмотров 141 тыс.
50% 1

Learn how to use SFTP on the command line to copy files and folders to and from an SFTP server. This tutorial will work on any operating system where the SFTP command is installed including Windows, Linux, and Mac.
Find more at tonyteaches.tech
Check out my vlog channel ‪@TonyFlorida‬
#sftp

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 76   
@zer0r00t
@zer0r00t 3 года назад
SFTP is actually SSH File Transfer Protocol. Secure FTP is called FTPS (FTP with TLS)
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Good call! Thank you for pointing that out
@petertijani563
@petertijani563 2 года назад
Lol, its the small things.
@socrayhte
@socrayhte Год назад
Pretty straightforward video. Now I would like to make enquiry about moving files from one remote server to another remote server without having to download the files to your PC
@yacn
@yacn 3 месяца назад
we all do have that enquiry 😃
@user-tt6nc6mo7k
@user-tt6nc6mo7k 3 года назад
After watching your video on FTP I thought SFTP was also not capable of recursively moving files. These short and straight forward videos are very helpful, thanks.
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You're welcome. STFP is the way to go, not only because it's secure, but also because of the recursive capability :)
@herawati6017
@herawati6017 Год назад
@@TonyTeachesTech hi i see you are good in fstp where u From i need discuss something with you about my database and maybe we can convert the database into Crypto currency
@dzorgbesisimon1441
@dzorgbesisimon1441 7 месяцев назад
very beautiful and straight forward. I need more of such tutorials. God bless you Sir
@TonyTeachesTech
@TonyTeachesTech 7 месяцев назад
Thank you for your kind words and thank you so much for subscribing to my channel
@Cha0sWarfare
@Cha0sWarfare 3 месяца назад
Sorry sir you dropped this 👑. Appreciate the tutorial
@tusharadhatrao4749
@tusharadhatrao4749 Год назад
Thank you so much for this video. It was really clear and straightforward.
@sergiogalvez6231
@sergiogalvez6231 2 года назад
Thank you so much for this video. It was exactly what I was looking for.
@ifebusolaogunbayo2823
@ifebusolaogunbayo2823 Год назад
Thank you! This is very good and straightforward
@seekingcode
@seekingcode 2 года назад
Thanks, this is super helpful!
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Glad it was helpful Christopher
@tejasdevraj329
@tejasdevraj329 2 года назад
Nicely explained!! Thank you :-)
@TonyTeachesTech
@TonyTeachesTech 2 года назад
You are welcome!
@balthasarbh
@balthasarbh Год назад
Thats a very good tutorial :D
@TonyTeachesTech
@TonyTeachesTech Год назад
Thanks :)
@pengsovanrothnak7149
@pengsovanrothnak7149 Год назад
Very nice explain. 👏🏿
@liviataslim7796
@liviataslim7796 3 года назад
this is very helpful. thank you!!
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You're welcome
@thefreshprince-t4m
@thefreshprince-t4m 10 месяцев назад
Thanks my dude.
@somacruz8272
@somacruz8272 Год назад
you're a legend
@rezamohammadi2494
@rezamohammadi2494 7 месяцев назад
Thank you so much❤❤
@TonyTeachesTech
@TonyTeachesTech 7 месяцев назад
You're welcome 😊
@andredinizo
@andredinizo 2 года назад
Great video!
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Thanks!
@rakeshpanigrahi577
@rakeshpanigrahi577 2 года назад
Awesome Tony :)
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Thanks! 😀
@scottyp02
@scottyp02 Год назад
So helpful!!
@TonyTeachesTech
@TonyTeachesTech Год назад
Thanks Scotty
@mikewashington4188
@mikewashington4188 2 года назад
Thanks brother!!
@TonyTeachesTech
@TonyTeachesTech 2 года назад
You bet!
@replikvltyoutube3727
@replikvltyoutube3727 2 года назад
Good tutorial
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Thanks
@jihadabdulrazaq338
@jihadabdulrazaq338 2 года назад
Awesome, going to subscribe it ;)
@Kass_Drags
@Kass_Drags 3 месяца назад
Лучший!
@hammerod
@hammerod 11 месяцев назад
SFTP connectivity must be through exchange of keys not through password, if it’s password then SFTP and FTP doesn’t bring much change.
@VroomvroomNY
@VroomvroomNY 2 года назад
THANK YOU!!!!!!!!!
@TonyTeachesTech
@TonyTeachesTech 2 года назад
You're welcome Chris
@kenjohnsiosan9707
@kenjohnsiosan9707 2 года назад
AWESOME.
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Thanks!
@abdulrehmanbutt
@abdulrehmanbutt 2 года назад
I really like the way you present simple easy and informative thanks for sharing
@chrisfetchkoproductions7256
@chrisfetchkoproductions7256 7 месяцев назад
Anyone know how to include hidden files in SFTP directory Gets from Remote Server to local backup?
@DHAVAL518
@DHAVAL518 Год назад
Please help me with command to copy files in background.I have big file sizes
@zamtyty
@zamtyty 2 года назад
my cheat code at work
@ericheatmiser2099
@ericheatmiser2099 Месяц назад
Right on step one where you enter the username and host it fails. Host key verification failed. On to the next video that won't work. Wasted over 3 hours already. Each video generates a different error but NONE of the solutions work. Writing an entire application will take less time than trying to get command line sftp to authenticate/work. My credentials work on every ftp client I've tried just can't get the command line to work at all.
@corgirun7892
@corgirun7892 Год назад
nice
@davidhume5399
@davidhume5399 3 года назад
Is this independent of determining and putting in place the public and private keys associated with SFTP? That is, it makes sense that the public key is separate from the script as it is on the server side and their business. However, what about the private key on the local box (client)? Would it be configured with the sftp before the script is run, or is the key provided along with the connection - or after the connection by a command? Thank you.
@TonyTeachesTech
@TonyTeachesTech 3 года назад
This video might clear things up for you ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-j2vBT3T79Pg.html
@balajivijaykumar8829
@balajivijaykumar8829 2 года назад
Hi Tony, Is there any method/Command to pause the download or upload of a file.
@Javier-g7c
@Javier-g7c 8 месяцев назад
can you do this for iphone root files
@abhilashrao3338
@abhilashrao3338 Год назад
How to pass date parameter in sftp put command. Could anyone knows please reply
@bharathgullapalli2724
@bharathgullapalli2724 Год назад
is there a way with sftp to download the file only if the folder exists?
@hragarabaghian1908
@hragarabaghian1908 Год назад
On Windows, where can I find the downloaded files?
@AlJapairai
@AlJapairai 2 года назад
Now how to automate that to send files daily at a certain time?
@TonyTeachesTech
@TonyTeachesTech 2 года назад
A cronjob will do it for you ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-z35ZPELo5_Y.html
@DIFFERENTCREATOR
@DIFFERENTCREATOR 2 года назад
Anyone can tell me command for folder transfer on sftp server
@punkypappa1381
@punkypappa1381 2 года назад
Hi Tony. In old school ftp I could pipe an ls results to a file, then use that content to decide what I want to copy from the remote to my local. It seems sftp doesn't allow piping an ls to a file. Am I missing something? Is there a way to do it. I can provide more background if my question isn't clear. Thanks!
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Have you tried this and it failed? Piping to sftp should work
@punkypappa1381
@punkypappa1381 2 года назад
@@TonyTeachesTech thanks for reaching out. I haven’t tried it yet because I’m working on a different project. But I’ll be back to it soon.
@fatah5390
@fatah5390 2 года назад
could you make a script to move file from ftp to local dir
@rreddybofficial
@rreddybofficial 2 года назад
Hi, I need one help, how to transfer a file using SFTP call
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Does this tutorial not help?
@janlaurencik7171
@janlaurencik7171 3 года назад
Hey Tony can I ask you how select files in sftp witch I want to upload to new server I need to skip .htacess and wp-config.php when I want to upload files from computer to server and I don`t know how to do it can you help me or give me peace of advice
@TonyTeachesTech
@TonyTeachesTech 3 года назад
I don't think I understand your question
@bandi642
@bandi642 3 года назад
can u do it with powershell instead of cmd, just to know
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Not sure about PowerShell
@therevanchistv
@therevanchistv 3 года назад
Yes PowerShell is windows version of ssh
@TonyTeachesTech
@TonyTeachesTech 3 года назад
@@therevanchistv I don't doubt it, I just don't have experience with it
@joeyconsensus6199
@joeyconsensus6199 2 года назад
I use sftp with file manager krusader But i have to specify the ip address of the other linux clients How can i setup DHCP on my main linux PC so i can use sftp without specifying the individual pc clients ip address ?
@ThatOneBellaTheWolfHater
@ThatOneBellaTheWolfHater 6 месяцев назад
Better Bandai
@pareshbidkar5848
@pareshbidkar5848 2 года назад
How I download file in ASCII mode? I used 👉 sftp -b $GETHBBATCHFILE $USER_SFT_IN@$HOST But it's downloading in Binary mode.
Далее
FTP (File Transfer Protocol), SFTP, TFTP Explained.
7:54
Linux: SSH & SFTP
13:59
Просмотров 13 тыс.
Living life on the edge 😳 #wrc
00:17
Просмотров 4,8 млн
I Built a SECRET Lamborghini Dealership!
33:02
Просмотров 9 млн
Linux File System/Structure Explained!
15:59
Просмотров 4,1 млн
A Look at SSH(in) and SFTP(in)
28:52
Просмотров 4,4 тыс.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
What Is SFTP?
3:51
Просмотров 94 тыс.
18 Weird and Wonderful ways I use Docker
26:18
Просмотров 232 тыс.
SSH from Windows to Linux (+ Transfer Files via SFTP)
12:02