Jump to content

Recommended Posts

Posted

<div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/09/ftp-in-os-x-lion.jpg" alt="FTP Server missing in OS X Lion, but you can enable it anyway" title="ftp-in-os-x-lion" width="546" height="190" class="aligncenter size-full wp-image-21746" /></p>

<p>If you’ve visited the Sharing Preference panel since upgrading to Mac OS X 10.7 you may have noticed there is no longer the option to enable an FTP server to share files and folders. It’s unclear why Apple pulled the easy frontend to FTP sharing, but if you still want to run a local FTP server (or SFTP) in <a href="http://osxdaily.com/category/mac-os-x/">Mac OS X</a> you can with the help of the command line.</p>

<h2 style="font-size:1.2em;">Start the FTP Server in OS X 10.7</h2>

<ul>

<li>Launch the Terminal (/Applications/Utilities) and enter the following command to start the FTP server:</li>

<p><code>sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist</code></p>

<li>Confirm the FTP server works by typing:</li>

<p><code>ftp localhost</code>

</ul>

<p>If you see the familiar FTP login:</p>

<blockquote><p>$ ftp localhost

Trying ::1…

Connected to localhost.

220 ::1 FTP server (tnftpd 20100324+GSSAPI) ready.

Name (localhost:Paul):</p></blockquote>

<p>You know the server is running. If you don’t see that, then the server either hasn’t finished starting yet or you didn’t enter the command properly. You can then <a href="http://osxdaily.com/2011/02/07/ftp-from-mac/">FTP from other Macs</a> via the same ftp command, or by using the “Connect to Server” option in the Finder.</p>

<h2 style="font-size:1.2em;">Enabling the SFTP Server in OS X 10.7</h2>

<p>As you probably know, FTP is unencrypted and as a result as fallen out of favor for security reasons. Enabling SFTP is one easy extra step.</p>

<ul>

<li>Complete the steps above to start the standard FTP server, then launch System Preferences and go to “Sharing”</li>

<li>Click on the checkbox next to “Remote Login” to enable SSH (and SFTP)</li>

</ul>

<p><img src="http://osxdaily.com/wp-content/uploads/2011/09/enable-sftp-server-mac-os-x-lion.jpg" alt="Enable SFTP Server in Mac OS X Lion" title="enable-sftp-server-mac-os-x-lion" width="620" height="347" class="aligncenter size-full wp-image-21748" /></p>

<p>You can verify that SFTP is working by typing this at the command line:

<code>sftp localhost</code></p>

<p><strong>Note:</strong> Despite enabling SFTP, the standard FTP server will continue to run as well.</p>

<h2 style="font-size:1.1em;">Disable FTP Server in OS X Lion</h2>

<p>Here’s how to disable the server:

<code>sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist</code></p>

<p>As the command suggests, this unloads the ftp daemon and shuts down the server. Obviously you can only shut down and disable the FTP server if it was enabled to begin with.</p>

<p>This is an elaboration on a tip from <a href="http://www.landofdaniel.com/blog/2011/07/22/starting-ftp-server-in-os-x-lion/">Land of Daniel</a>via <a href="http://www.tuaw.com/2011/09/29/how-to-enable-the-ftp-server-ftpd-in-lion/?utm_source=chocolatecakeville">TUAW</a>, who goes on to explain how to get ftpd to launch automatically on reboot, so if you’re interested in that, don’t miss their post.</p>

</div>

<p><a href="http://feedads.g.doubleclick.net/~a/kSbYFeSbabyJm30jzIXpy4XzoJU/0/da"><img src="http://feedads.g.doubleclick.net/~a/kSbYFeSbabyJm30jzIXpy4XzoJU/0/di" border="0" ismap="true"></img></a><br/>

<a href="http://feedads.g.doubleclick.net/~a/kSbYFeSbabyJm30jzIXpy4XzoJU/1/da"><img src="http://feedads.g.doubleclick.net/~a/kSbYFeSbabyJm30jzIXpy4XzoJU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">

<a href="http://feeds.feedburner.com/~ff/osxdaily?a=38PMBiMvR_g:QIWqNxsFzsI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=38PMBiMvR_g:QIWqNxsFzsI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=38PMBiMvR_g:QIWqNxsFzsI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=38PMBiMvR_g:QIWqNxsFzsI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=38PMBiMvR_g:QIWqNxsFzsI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=38PMBiMvR_g:QIWqNxsFzsI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=38PMBiMvR_g:QIWqNxsFzsI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a>

</div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/38PMBiMvR_g" height="1" width="1"/>

 

View the full article

  • 4 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Hello my name is Benjamin i am new to this forum and this is exactly what i am looking for so i hope someone can help me. I am a video editor. and i bought me a intel mac mini lion server model. And i am loving it.

 

Now i am trying to setup and ftp through the cyberduck and that works great. Now i want to start sharing files to other people who also own a mac and Video files are big. wen i work on a project filming after i have filmed for like 3 or 4 hours size adds up to like 30gb easily. Sometimes wen i edit my client want the raw files and it is to much work to burn everything on disks or go with retransfer 2gb per upload. So now i am starting to love the mac mini server.

everything works great i tested it on same desktop went with cyberduck to download from directory to my desktop 30 gb in 10 minutes. so i think this is the way to go for me. Now wen i use cyberduck ik can see my whole directory all everything program files just my whole computer is open. If it is for my self and i want to connect to my Mac remotely that is fine it is my Mini anyway. But wen some client all the way around the country it is not cool that that can see everything. I don't want that.

 

So my question is:

 

Can i setup an FTP account where clients can log on to my server but can only enter one file where have put the files they need so they can drag and drop to there Desktop. I know it must be possible.

 

Man if you can help me than i am so happy. this wil make me even faster to work. and also unlimited possibilities for having someone edited the video wen i have no time and they are on other side of the country.

 

Hope you can help me

 

Greatings Benjamin

Posted
I don't know if this is possible. It should be. I'll let someone else come alomg and answer this.

×
×
  • Create New...