From the course: Learning SFTP

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Using SFTP at the command line

Using SFTP at the command line - FTP Tutorial

From the course: Learning SFTP

Using SFTP at the command line

- [Instructor] Now that we're connected to our server and we've reviewed the commands available in the SFTP command line interface, let's use this interface to work with some files. First, let's get an idea of where we're working both locally and remotely. To do that, I'll write LPWD to find my current local working directory. And here I can see that it's my user's home directory. I want to be working inside of my exercise files directory and I put those files on my desktop, so I'll change over there by typing LCD desktop and then I'll write LCD exercise files to move into my exercise files directory. Because this directory name has a space in it, I need to use quotes around it. Now when I type LPWD, I see that my current working directory is what I want it to be. Now let's check where we're working on the server side. I'll write PWD, and I can see that I'm working in my user's home directory there as well. That's fine for now, but if we needed to change that, we'd use the CD command,…

Contents