ftp hyperlink

Discussion in 'Programming' started by hometrainer, Feb 21, 2008.

  1. #1
    <a href=ftp://91.102.451.27/documents/pic.gif target=_blank></a>

    i have "550 failed to change the dierectory" error..could somebody help me wht's the problem?

    thanks
     
    hometrainer, Feb 21, 2008 IP
  2. dansgalaxy

    dansgalaxy Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    firstly try learning HTML you should be putting quotes in that!

    
    <a href="ftp://91.102.451.27/documents/pic.gif" target="_blank">FTP LINK</a>
    
    Code (markup):
    Is the FTP open? does it require login?
     
    dansgalaxy, Feb 21, 2008 IP
  3. lephron

    lephron Active Member

    Messages:
    204
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Quotes aren't required unless the attribute contains spaces. That link will work just as well with or without the quotes.

    The 550 error is coming from the FTP server, there is nothing wrong with the HTML. Looks like the documents directory doesn't exist, or you don't have permission to change to it.
     
    lephron, Feb 23, 2008 IP
  4. dansgalaxy

    dansgalaxy Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i didnt say the quotes would affect it but they should be used. as very bad not to...
     
    dansgalaxy, Feb 23, 2008 IP