ftp nmap support in Net::FTP

B

bala

Do you know why Net::FTP does not support nmap?

Is ther any other package that supports nmap ftp command for filename mapping.

Thanks.
 
M

Matija Papec

Do you know why Net::FTP does not support nmap?

Is ther any other package that supports nmap ftp command for filename mapping.

I'm not sure what are you referring to, is there actually "nmap"
command in ftp RFC?
 
S

Sherm Pendley

Matija said:
I'm not sure what are you referring to, is there actually "nmap"
command in ftp RFC?

No, but there is one listed in the man page for the command-line FTP client
that I have:

nmap [inpattern outpattern]
Set or unset the filename mapping mechanism. If no arguments
are specified, the filename mapping mechanism is unset. If
arguments are specified, remote filenames are mapped during
mput commands and put commands issued without a specified
remote target filename.

It sounds like it could be a handy feature for the Net::FTP module to have.

sherm--
 
S

Sherm Pendley

Matija said:
I'm not sure what are you referring to, is there actually "nmap"
command in ftp RFC?

Heh... I just noticed, the OP said "ftp command", not "FTP command". That
is, he's talking about a client, not the protocol. Case-sensitivity - it's
not just for PERL any more! :)

sherm--
 
B

bbmk1234

Sherm said:
Matija said:
I'm not sure what are you referring to, is there actually "nmap"
command in ftp RFC?

No, but there is one listed in the man page for the command-line FTP client
that I have:

nmap [inpattern outpattern]
Set or unset the filename mapping mechanism. If no arguments
are specified, the filename mapping mechanism is unset. If
arguments are specified, remote filenames are mapped during
mput commands and put commands issued without a specified
remote target filename.

It sounds like it could be a handy feature for the Net::FTP module to have.

sherm--


You are spot on. Not sure why Graham Barr decided not to provide this
in Net::FTP.
 
A

axel

bala said:
Do you know why Net::FTP does not support nmap?
Is ther any other package that supports nmap ftp command for filename mapping.

Why would you need it since s/// can do the same thing?

Axel
 
M

Matija Papec

Heh... I just noticed, the OP said "ftp command", not "FTP command". That
is, he's talking about a client, not the protocol. Case-sensitivity - it's
not just for PERL any more! :)

:) true, although I'm not sure if OP intentionally wrote with small caps.
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,919
Members
47,460
Latest member
eibafima

Latest Threads

Top