|| FTP with MAC terminal
FTP with MAC terminalPublished by AdmiralShlong on 2016-10-04
Category: Mac | Page Views: 2,427
Disclaimer: OSX version 10.7 was used for the execution of the process explained in this tutorial.
The shell used in this tutorial is bash, check your shell and how to change to bash if not enabled.
Earlier OSX variants may be more or less difficult to recreate this procedure due to UI layout differences, particularly in the System Preferences menu. Although this process can be replicated in other OSX versions, the steps will likely differ. A modified Xbox with a dashboard bearing an FTP client application is required.
Quite bluntly, we are simply making the Mac appear as a FTP server. Once complete, users can log into their Mac with their Xbox. When done, use the Xbox's FTP client from your dashboard applications, enter the Mac's IP, then a username of an admin profile on the Mac, and it's password. Now we talk allowances.
First and foremost, make sure all of your involved devices are allowing file transfers. If using a crossover cable, the Mac would be the only device. If patch cables and a router are involved, then the router must be set to allow FTP as well. I won't be covering the router, because of different UI and availability of tuts elsewhere.
Allowing for the Mac can be done in System Preferences:
In Sharing, enable file transfer and remote access.
In Security, Firewall, disable the firewall, you can reenable after the FTP if you so choose.
In 10.7, this is all you will have to do, all other connection attempt rejections will be due to the router settings, a mistake in the Terminal, or incorrect login through the Xbox.
Now for the easy part, the Terminal process:
Enter this command: sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
Now test it with this: ftp localhost
If it says connected continue, if not look at your device settings, especially device access and firewall.
Now the FTP is set up, but you must allow access to it:
Enter command: ftp allow guest
When prompted to enter password don't enter anything else from the Mac!
If you did enter a pass from the Mac, close the Terminal and repeat commands in order.
At this moment you are set up, and it is waiting for access, not from the Mac, but from clients.
Now with your Xbox, open the FTP client, enter the IP of the actual Mac, not the server you just created. Usually the server will be something like '127.0.0.1' that's not what you enter. In the Xbox you must enter the Mac's IP. Then just log into your Mac with an administrator account and password from your Xbox.
That's it, you are done. From hereon you shouldn't have to use the initial command every time you boot. Unless of course you change the allowance or firewall settings for any involved devices. Although you should check the Terminal with 'ftp localhost' and 'ftp allow guest' commands before you FTP again after the first attempt, insuring your server image is online and open for business.
The article that taught me: http://osxdaily.com/2011/09/29/start-an-ftp-or-sftp-server-in-mac-os-x-lion/
The wonderful site that helped me learn many OS and shell ins and outs: http://pbraun.nethence.com/
|| Browse Tutorials
| || Members Online (5) / Guests Online (305) || ||
| Latest News|
| Popular Xbox Games|