Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rattrap47

    ftp inside "if" fails

    okay, I removed the if and it STILL fails, I'm confused... facts to remember: 1. the script was built, edited, and is going to run on a Solaris 10 machine 2. the target ftp box is win2003 server (32 bit) 3. anonymous login works from shell prompt #!/bin/bash -x HOST="64.102.94.191"...
  2. rattrap47

    ftp inside "if" fails

    Unfortunately I got the same error. Does the fact that it's Solaris 10 make any difference?
  3. rattrap47

    ftp inside "if" fails

    I have the following script where I'm trying to ftp a file after a test: ------------ Begin Script ---------------------------- #!/bin/bash -x HOST="64.102.94.191" FTPUSER="anonymous" FTPPASSWORD="CNC-Bot" tgfile="/home/rlevau/collections/transport-usa1.zip" dltype=`grep -i...
  4. rattrap47

    Parse file and evaluate line - Complicated!

    Okay, I'm getting a " 'done' unexpected" error. I've tried everything I can find in the on-line docs. Iknow this has to be something I'm overlooking (I could code it in VB in about 10 minutes, but it's not an option) The collection-list file is just a list (1 column wide) of 4 character ID's...
  5. rattrap47

    Parse file and evaluate line - Complicated!

    Thanks Annihilannic, You are spot on, it is Solaris. The info is great, things that I wouldn't have thought of. I'll let you know what happens, the lessons might be useful for someone else as well.
  6. rattrap47

    Parse file and evaluate line - Complicated!

    I have the following data in a set of files I need to look at and evaluate: the file has a header row, and is delimited by <fsp> (wierd, I know) I'm looking to see if the number of rows with an TimeInventoryUptime value between the file creation date and that same date +24 hrs is the same as...

Part and Inventory Search

Back
Top