FTP Server

How to setup FTP Server in Mac for testing purpose?

Apache FTP Server
https://mina.apache.org/ftpserver-project/running_ftpserver_standalone.html

$ echo $(/usr/libexec/java_home)
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
$ export JAVA_HOME=$(/usr/libexec/java_home)
$ echo $JAVA_HOME

>cd /Users/userid/Downloads/apache-ftpserver-1.1.0
>sh bin/ftpd.sh res/conf/ftpd-typical.xml
Using XML configuration file res/conf/ftpd-typical.xml…
FtpServer started

Option 1:
>open ftp://admin:admin@localhost:2121

Option 2:
>ftp
>open localhost 2121
Asks for id/password
Enter admin/admin

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s