Fork me on GitHub

Project Notes

#218

About SSH File Transfer Protocol

Notes

Running SFTP Server on MacOS

MacOS has SFTP support built-in, but disabled by default.

macos_sharing

Use sftp to make a connection:

$ sftp paulgallagher@labarrossa
Password:
Connected to paulgallagher@labarrossa.
sftp> ls Downloads
...
sftp>

Common FTP Commands

Command Description
bye, close, quit Terminates an FTP connection.
cd Changes the current working directory on the FTP host server.
cwd Changes the current directory to the specified remote directory.
dir Requests a directory of files uploaded or available for download.
get Downloads a single file.
ls Requests a list of file names uploaded or available for download.
mget Interactively downloads multiple files.
mput Interactively uploads multiple files.
open Starts an FTP connection.
pasv Tells the server to enter passive mode, in which the server waits for the client to establish a connection rather than attempting to connect to a port the client specifies.
put Uploads a single file.
pwd Queries the current working directory.
ren Renames or moves a file.
site Executes a site-specific command.
type Sets the file transfer mode: ASCII, Binary

Credits and References

About LCK#218 tools
Project Source on GitHub Return to the Project Catalog

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.

LittleArduinoProjects LittleModelArt More on my blog