Default FTP Server at Mac…

in OX Lion the default FTP Server is hidden but it still exists. You just have to enable it. Use following command

sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

I had to transfer a big (4GB) file over to windows system and i found this was the only QUICKEST way of doing it.

You can use any ftp client at windows system and connect to the ftp server from mac.

Host = IP Address of your mac (use ifconfig from termial)

User = Your Mac User name

Password = Your Mac Password

And Connect

It will list all mac user’s directories and you can transfer whatever you want… 



Mac – Node.JS Headache …

When installing nodejs from – everything goes smooth but at the end when you terminal and type “node” it says invalid command. !@!@#@#@#@#

Now, you need to check

  1. $PATH variable being set properly. It should have /usr/local/bin in it. If not than you need to add it through export command. This would be a great help
  2. Ok now you added it if it wasn’t there – BUT still it didn’t work … What the heck??? I re-installed node js but the same result after point # 1. So, at this point do point # 3 🙂
  3. type ls /usr/local/bin in terminal – and to my amusement i got “ls: bin: permission denied“.. now that was really stressing 🙂
  4. But now you just have to give permissions to your self to this folder …  sudo chmod 775 /usr/local/bin
  5. That was itttttt !!!! :), type node and it will show you > in terminal…
  6. run node –v to check version

I am not mac expert but spent some time to make it happen – so just sharing if it helps anybody.