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

J

Jim

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!
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top