The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
nmap on aix 5.2 zuessh AIX 2 03-16-2009 09:10 AM
Help in .netrc edu_escandor UNIX for Dummies Questions & Answers 2 03-22-2005 07:12 AM
Nmap PHP FE Karma Shell Programming and Scripting 6 09-06-2003 01:01 PM
nmap results necro UNIX for Dummies Questions & Answers 10 04-05-2002 02:17 AM
Nmap DPAI Security 2 03-19-2002 05:04 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-08-2009
thesubmitter thesubmitter is offline
Registered User
  
 

Join Date: May 2007
Posts: 7
FTP/nmap/.netrc

So...

I'm trying to script and FTP Backup of some files from openVMS Alpha machine to a Unixware 7 machine.

I decided to use .netrc to do all the FTP actions however when I send the
nmap command. It pretty much gets ignored while even other things such "ascii", "case" etc.. get respected during following FTP Transfers..

Interestingly enough, when I do the ftp connection by hand and enter all the commands in manually the FTPing is done properly.

For Example:

Remote File: Alpha.txt;147
Local file I want: alpha.txt

In the script I have
...
ascii
case
cd XYZ
nmap $1.$2;$3 [$1.$2]
mget *.*
and that doesn't work out.


but doing it manually does. I think it might be some quotation marks or something I need for the nmap variables?

Thanks
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0