Error 550?

Help
Luke
2008-02-08
2013-05-02
  • Luke
    Luke
    2008-02-08

    Hi,

    I recently setup curlftpfs using apt-get on Ubuntu 7 server.

    After running this command:

    sudo curlftpfs ftp://foo:bar@baz.com/public_html /ftp/foo/ -v

    I received this output:

    * Couldn't find host foo in the .netrc file, using defaults
    * About to connect() to foo port 21 (#0)
    *   Trying 208.101.48.171... * connected
    * Connected to foo (208.101.48.171) port 21 (#0)
    < 220---------- Welcome to Pure-FTPd [TLS] ----------
    < 220-You are user number 1 of 50 allowed.
    < 220-Local time is now 23:03. Server port: 21.
    < 220-This is a private system - No anonymous login
    < 220-IPv6 connections are also welcome on this server.
    < 220 You will be disconnected after 15 minutes of inactivity.
    > USER foo
    < 331 User foo OK. Password required
    > PASS bar
    < 230-User foo has group access to:  foobar
    < 230-This server supports FXP transfers
    < 230 OK. Current restricted directory is /
    > PWD
    < 257 "/" is your current location
    * Entry path is '/'
    > CWD public_html
    < 250 OK. Current directory is /public_html
    > SIZE (nil)
    < 550 Can't check for file existence
    > REST 0
    < 350 Restarting at 0
    * Remembering we are in dir public_html/
    * Connection #0 to host foo left intact

    And when I tried to do [ls /ftp/foo], I received the error "ls: foo: Permission denied". Attempting a [sudo ls /ftp/foo] did show me the files in my directory - however, attempting to chown the folder so that I wouldn't have to type "sudo" everytime I wanted to do things told me "chown: changing ownership of `foo': Software caused connection abort", and now it does not work.

    Does anyone know how I can re-connect? Running the same command I initially ran now just closes the connection.

    Thanks,
    Luke

     
    • Luke
      Luke
      2008-02-12

      Okay, so the issue has to do with my version of libcurl(7.16.4) - but how do I downgrade to 7.16.2?

      I've tried running sudo apt-get install curl=7.16.2, But it just tells me that version '7.16.2' of 'curl' was not found.

       
      • Luke
        Luke
        2008-02-13

        I managed to downgrade curl to 7.16.2, but this is now what fuseftpfs is outputting when I first attempt to mount my FTP folder:

        sudo curlftpfs -v foo:bar@baz.com/public_html /ftp/baz.com
        * Couldn't find host baz.com in the .netrc file, using defaults
        * About to connect() to baz.com port 21 (#0)
        *   Trying 208.101.48.171... * connected
        * Connected to baz.com (208.101.48.171) port 21 (#0)
        < 220---------- Welcome to Pure-FTPd [TLS] ----------
        < 220-You are user number 3 of 50 allowed.
        < 220-Local time is now 20:39. Server port: 21.
        < 220-This is a private system - No anonymous login
        < 220-IPv6 connections are also welcome on this server.
        < 220 You will be disconnected after 15 minutes of inactivity.
        > USER foo
        < 331 User foo OK. Password required
        > PASS bar
        < 230-User foo has group access to:  foo
        < 230-This server supports FXP transfers
        < 230 OK. Current restricted directory is /
        > PWD
        < 257 "/" is your current location
        * Entry path is '/'
        > CWD public_html
        < 250 OK. Current directory is /public_html
        > SIZE (nil)
        < 550 Can't check for file existence
        > REST 0
        < 350 Restarting at 0
        * Remembering we are in dir public_html/
        * Connection #0 to host baz.com left intact
        fuse: bad mount point `/ftp/baz.com': Transport endpoint is not connected
        > QUIT
        < 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
        < 221 Logout.
        * Closing connection #0

        What am I missing that is causing the "Transport endpoint is not connected" error?