Making an FTP server???

Discussion in 'Mac OS X Server, Xserve, and Networking' started by ElectricMan5, Jul 29, 2008.

  1. macrumors regular

    Joined:
    Jul 22, 2008
    #1
  2. macrumors 65816

    steveza

    Joined:
    Feb 20, 2008
    Location:
    UK
  3. macrumors regular

    Joined:
    Jul 29, 2008
    Location:
    The Mitten State
    #3
    What version of OS X are you running?

    For 10.5, all you really need to do is go to system preferences -> sharing -> File sharing -> options and select the FTP option. (May be the same for prior versions too, I just don't have an older system around to check)

    You would then use your DynDNS address to connect to it.
     
  4. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #4
  5. macrumors 65816

    steveza

    Joined:
    Feb 20, 2008
    Location:
    UK
    #5
    or that :)

    depends how much functionality you need.
     
  6. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #6
    But where would I put the files? Would the address have the ftp:// in it?
     
  7. macrumors regular

    Joined:
    Jul 29, 2008
    Location:
    The Mitten State
    #7
    Completely agree, the default one that comes with OS X doesn't give the user a lot of functionality without getting into some ugly conf files.
     
  8. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #8
    I just want the list of files in which they can download, but in the ibiblio way. Jeez, I love this! So many answers!
     
  9. macrumors regular

    Joined:
    Jul 29, 2008
    Location:
    The Mitten State
    #9
    It will ask you what you want to share with the FTP, so you just add the folder you want to share, and put your files there. The address would need to have ftp:// in it.
     
  10. macrumors 65816

    steveza

    Joined:
    Feb 20, 2008
    Location:
    UK
    #10
    Basically you need some way of running an FTP service on you machine. DNS is just a way of converting a friendly name like macrumors.com into a internet address like 74.86.132.180.
     
  11. macrumors regular

    Joined:
    Jul 29, 2008
    Location:
    The Mitten State
    #11
    Also, remember if you are behind a home router, you are going to need to forward the FTP port to your computer. (21)
     
  12. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #12
    Would anybody be able to access it over the internet? This is sort of what u want people to do... Download files. How do i find my, i dunno, permanent IP address or something?
     
  13. macrumors 65816

    steveza

    Joined:
    Feb 20, 2008
    Location:
    UK
    #13
    http://whatismyipaddress.com/ Your address may change dynamically - usually when you restart your router - depending on the type of internet service you have.
     
  14. thread starter macrumors regular

    Joined:
    Jul 22, 2008
  15. macrumors regular

    Joined:
    Jul 29, 2008
    Location:
    The Mitten State
    #15
    Well, if you are using DynDNS it should be forwarding to your outside IP address so that won't be an issue. Unless you're asking how to find what your IP is on your Mac, if that's the case just go to system preferences -> network and it should be listed there.

    And yes, you should only do that if you want people outside your network to be able to connect to it.
     
  16. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #16
    I chose the folders and I went to the address, and nothing appeared! It also says something like: Error 530: Anonymous User. And then it comes back every other time I go to the site. What is this?
     
  17. macrumors G4

    Joined:
    Jan 5, 2006
    Location:
    Redondo Beach, California
    #17
    This means your server is running and talking to the world, or at least to you.

    Do you want anonymous users to access the file or do you want only people who have a user account to access them? Likely anonymous access if disabled by default. You typically configure this in a .conf file in /etc. There should be documentation in a man page named the same as the .conf file. but you could just read the comments in the file.
     
  18. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #18
    I'm a little confused... Where do I find this file? And also, none of the files are appearing in the list. Where do i put the files??
     
  19. macrumors regular

    Joined:
    Jul 29, 2008
    Location:
    The Mitten State
    #19
    It means whatever browser you are using is trying to log you in as an anonymous user and not giving you the login prompt.

    Also, just an FYI, your DynDNS entry is pointing to your Private IP, so nobody can use that to get to your computer from the outside. To do that you need to change it to the output from www.whatismyip.com
     
  20. macrumors 6502a

    phalewhale

    Joined:
    Jun 10, 2007
    #20
    Personally, I wouldn't even think about doing it on my everyday machine. Instead, I'd use a separate mac/linux box on the DMZ of my network.
     
  21. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #21
    I having it set up on an external harddrive. It works fine with an Apache Server, but it's not what I want. Right now I'm testing it on my Mac, then i'll switch it over. I'm still stuck though :(
     
  22. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #22
    K. I just switched it over. Hope it works now :)
     
  23. macrumors regular

    Joined:
    Jul 29, 2008
    Location:
    The Mitten State
    #23
    That's not going to fix the issue you're having unfortuantly. Just something you would need to do if you wanted others to connect to your FTP server.

    So, what you need to decide is if you want anonymous users to be able to connect or not. Personally, I do NOT recommend this. If you do, then you need to go through editing conf files to complete it, not something I recommed I would opt for steveza third party FTP server in that case.

    If not, just figure out why your browser is trying to log you in as anonymous and not giving you a login prompt. I use opera, and on my test on my computer and it will prompt me for a username and password. Might want to try a different browser and see if you keep getting the same anonymous user error.

    I can't connect to yours to see if it will do that also because you don't have port 21 forwarded on your router (Not trying to do anything nasty, promise, i'm a good fella :D ) Check out www.portfoward.com for instructions on that if you need them.
     
  24. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #24
    The IP address that the site gave me isn't working! It now says that there's an error. The other one worked...
     
  25. thread starter macrumors regular

    Joined:
    Jul 22, 2008
    #25
    I know it doesn't. But now the IP isn't working at all! I had to switch it back. Why wasn't the one that the site gave me working? It said it couldn't connect.
     

Share This Page