How to use SFTP Commands to Copy Files to/from a Server
Вставка
- Опубліковано 27 сер 2024
- 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
SFTP is actually SSH File Transfer Protocol. Secure FTP is called FTPS (FTP with TLS)
Good call! Thank you for pointing that out
Lol, its the small things.
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
we all do have that enquiry 😃
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.
You're welcome. STFP is the way to go, not only because it's secure, but also because of the recursive capability :)
@@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
very beautiful and straight forward. I need more of such tutorials. God bless you Sir
Thank you for your kind words and thank you so much for subscribing to my channel
Sorry sir you dropped this 👑. Appreciate the tutorial
Thank you so much for this video. It was really clear and straightforward.
Thank you so much for this video. It was exactly what I was looking for.
Thank you! This is very good and straightforward
I really like the way you present simple easy and informative thanks for sharing
Thats a very good tutorial :D
Thanks :)
Nicely explained!! Thank you :-)
You are welcome!
Very nice explain. 👏🏿
Thanks my dude.
Anyone know how to include hidden files in SFTP directory Gets from Remote Server to local backup?
Thanks, this is super helpful!
Glad it was helpful Christopher
this is very helpful. thank you!!
You're welcome
Awesome Tony :)
Thanks! 😀
you're a legend
Please help me with command to copy files in background.I have big file sizes
Thank you so much❤❤
You're welcome 😊
Good tutorial
Thanks
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.
This video might clear things up for you ua-cam.com/video/j2vBT3T79Pg/v-deo.html
Great video!
Thanks!
is there a way with sftp to download the file only if the folder exists?
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.
SFTP connectivity must be through exchange of keys not through password, if it’s password then SFTP and FTP doesn’t bring much change.
So helpful!!
Thanks Scotty
Thanks brother!!
You bet!
Awesome, going to subscribe it ;)
can you do this for iphone root files
Лучший!
How to pass date parameter in sftp put command. Could anyone knows please reply
On Windows, where can I find the downloaded files?
Hi Tony, Is there any method/Command to pause the download or upload of a file.
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!
Have you tried this and it failed? Piping to sftp should work
@@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.
nice
Hi, I need one help, how to transfer a file using SFTP call
Does this tutorial not help?
AWESOME.
Thanks!
THANK YOU!!!!!!!!!
You're welcome Chris
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
I don't think I understand your question
Now how to automate that to send files daily at a certain time?
A cronjob will do it for you ua-cam.com/video/z35ZPELo5_Y/v-deo.html
Anyone can tell me command for folder transfer on sftp server
can u do it with powershell instead of cmd, just to know
Not sure about PowerShell
Yes PowerShell is windows version of ssh
@@therevanchistv I don't doubt it, I just don't have experience with it
my cheat code at work
could you make a script to move file from ftp to local dir
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 ?
Better Bandai
How I download file in ASCII mode?
I used 👉 sftp -b $GETHBBATCHFILE $USER_SFT_IN@$HOST
But it's downloading in Binary mode.