Net::FTP::Recursive doesn't work on Nortel Contivity

Discussion in 'Perl Misc' started by Jim, Nov 5, 2003.

  1. Jim

    Jim Guest

    I'm trying to use the Net::FTP::Recursive module to do backups of a
    Nortel Contivity box (yes, I'm aware it has a built in backup function
    but it doesn't work very good). It goes into my initial directory
    (/SYSTEM) just fine and downloads all the files. It then successfully
    goes into the first directory and gets all of those files. However,
    it fails coming out of the first directory. I would assume it's
    because Nortel doesn't support the CDUP command on their ftp
    interface. However, they also don't support the CWD command so I
    don't know how I'm getting into the first subdirectory anyway.

    Below is the output of what's happening. Any help would be greatly
    appreciated!

    Net::FTP::Recursive=GLOB(0x1832704)>>> PORT 129,37,2,201,18,199
    Net::FTP::Recursive=GLOB(0x1832704)<<< 200 Port set okay
    Net::FTP::Recursive=GLOB(0x1832704)>>> RETR 20030725.DAT
    Net::FTP::Recursive=GLOB(0x1832704)<<< 150 Opening BINARY mode data
    connection
    Net::FTP::Recursive=GLOB(0x1832704)<<< 226 Transfer complete
    Returned from rget in /SYSTEM.
    Net::FTP::Recursive=GLOB(0x1832704)>>> CDUP
    Net::FTP::Recursive=GLOB(0x1832704)<<< 500 Command "(null)" not
    understood
    Net::FTP::Recursive=GLOB(0x1832704)>>> CWD BIN
    Net::FTP::Recursive=GLOB(0x1832704)<<< 501 Directory non existent or
    syntax error
    Was unable to cd to BIN, skipping!
    Net::FTP::Recursive=GLOB(0x1832704)>>> CWD CERT
    Net::FTP::Recursive=GLOB(0x1832704)<<< 501 Directory non existent or
    syntax error
    Was unable to cd to CERT, skipping!
    Jim, Nov 5, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. D. Buck
    Replies:
    2
    Views:
    461
    D. Buck
    Jun 29, 2004
  2. Replies:
    3
    Views:
    177
    John Mason Jr
    Dec 18, 2004
  3. Nex_s
    Replies:
    1
    Views:
    88
    John W. Krahn
    Jul 29, 2005
  4. Replies:
    3
    Views:
    177
    Sisyphus
    Dec 21, 2006
  5. bill

    Net::FTP::Recursive hangs

    bill, Jan 22, 2007, in forum: Perl Misc
    Replies:
    3
    Views:
    207
Loading...

Share This Page