1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

symlink not followable via ftp between 2 domains

Discussion in 'Server Configuration and Hosting' started by Adam Howard, May 6, 2014.

  1. Adam Howard

    Adam Howard Well-Known Member

    For purely cookie less static content, I system link 4 folders between 2 domains. I've done this countless of time using different host, different configurations, and yes, even different control panels when needed (and of course without). Noticed though that when making a symlink, that they're not exactly followable via ftp.

    PHP:
    ln -/home/user/web/SITE-1/public_html/data /home/user/web/SITE-2/public_html/forums/data
    Does not matter if I make this using the user or even as root. The link is made (which is good), but not exactly followable.

    Solutions?
     
    Last edited: May 6, 2014
  2. Tracy Perry

    Tracy Perry Well-Known Member

    Use SFTP? :p
    What FTP server are you using (ProFTPd, wuFTPd, etc). It may have to do with chroot setup restrictions.
     
    Floren, SneakyDave and Adam Howard like this.
  3. Adam Howard

    Adam Howard Well-Known Member

    I'm sure there is away to overcome that. I usually do not run into such a restriction.
     
  4. SneakyDave

    SneakyDave Well-Known Member

    @Adam Howard
    A lot of GUI based FTP clients don't respect symlinks because they can cause confusion for noobs that aren't familiar with how they work, because they look like files.

    Should really use a secure connection to transfer files, @Adam Howard

    Otherwise, you're probably safer not to use symlinks to transfer files unless your client supports it as an option.

    Do you know what FTP server your host is using?
     
    Last edited: May 7, 2014
    Floren likes this.
  5. Floren

    Floren Well-Known Member

    Using FTP is like 1990. :giggle:
    Why not use normal tools like scp or rsync? Plenty of GUI tools for that, if you are not comfortable with the terminal... IMO, using the terminal to transfer files is easier and faster... GUI's are so cumbersome.
     
    SneakyDave likes this.
  6. Tracy Perry

    Tracy Perry Well-Known Member

    I'm using an FTP/SFTP toy on the Mac... called Transmit... check it out, it does some REALLY neat stuff.
    http://www.panic.com/transmit/
     
  7. Floren

    Floren Well-Known Member

    I never had a Mac, convinced anti-Apple here...
     
  8. Tracy Perry

    Tracy Perry Well-Known Member

    Nice thing is it mounts (in Finder) your drives for you remotely and will keep them in sync and allows drag/drop capability. And all OS X is is FreeBSD with lipstick. :D
     
  9. Adam Howard

    Adam Howard Well-Known Member

    Short answer.....

    I'm very good with the terminal, but am avoiding the terminal..... Other people who are not good with the terminal will be using this as well, so GUI compatibility is requirement (add in the fact that I'm tired of command prompts... Been doing it for everyone else).
     
    Last edited: May 7, 2014
  10. Floren

    Floren Well-Known Member

    So tell them to use sFTP, is not hard no?
     
    SneakyDave likes this.
  11. Adam Howard

    Adam Howard Well-Known Member

    I have and the reply is that it's SLOW (they're not wrong, but they're not as patient as I am)
     
    Floren likes this.
  12. Tracy Perry

    Tracy Perry Well-Known Member

    Well, it's not slow on my Mac using Transmit.... and that impatience can come back and bite them in the arse when administering a system/site. :whistle:
     
    Adam Howard likes this.
  13. Adam Howard

    Adam Howard Well-Known Member

    It would be here.... Some ISP's (Internet Service Provider) throttles back such connections.
     
  14. Tracy Perry

    Tracy Perry Well-Known Member

    Time for a new ISP then. ;)
     
  15. Adam Howard

    Adam Howard Well-Known Member

    monopoly vs oligopoly .... This is my provider
     
  16. Tracy Perry

    Tracy Perry Well-Known Member

    Even in this one horse city I live in we have cable and DSL. Of course, neither are real great. :mad:
     
    Adam Howard likes this.
  17. SneakyDave

    SneakyDave Well-Known Member

    I've heard that the Comcast VPN network is 13 times as fast as its cable network.
     
  18. Adam Howard

    Adam Howard Well-Known Member

    I was unaware that they started offering VPN services. I do know that their are providers who lease their services, but never heard of them going into vpn themselves.
     

Share This Page