Skip to content

DallinAllred/GoFTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is simple FTP-like server and client created as a practice exercise in Go.

Usage

Server

go run server/ftpServer.go -p <port>
# Default port: 2020

Client

go run server/ftpClient.go -h <host> -p <port>
# Default host: localhost
# Default port: 2020

Client Commands

Local

lcd directory # Change local working directory
lls <directory> # List contents of local working directory or, optionally, specify an alternate directory
lpwd # Print the local working directory

Remote

cd directory # Change remote working directory
ls <directory> # List contents of remote working directory or, optionally, specify an alternate directory
lpwd # Print the remote working directory
exit # Terminates client

File Transfer*

get filename # Copies a file from the server to the client
put filename # Sends a file from the client to the server

* Functionality Pending

About

A basic FTP-like client and server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages