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
UNIX script problem ..Plz help ASAP khan1978 Shell Programming and Scripting 1 12-05-2005 02:40 PM
Reliant Unix and Disk Mirrors gull04 UNIX for Advanced & Expert Users 0 12-17-2004 04:56 AM
Disk Mirrors in Reliant Unix - Problem? gull04 Filesystems, Disks and Memory 0 12-16-2004 07:07 AM
Problems with migration from Reliant Unix to Solaris MS-No SUN Solaris 2 08-27-2004 08:21 AM
problems with "cp" (reliant unix 5.43) sysadv UNIX for Dummies Questions & Answers 2 10-16-2003 07:21 AM

Closed Thread
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
  #1 (permalink)  
Old 06-26-2006
amon amon is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 71
FTP on Reliant UNIX - script problem

Hello...

I have script that works perfect on solaris but on Reliant UNIX sometimes it does not work ...I send files to my Xp(from Reliant UNIX) but if I try to send it to my solaris machine file can not be send...
script is:


#!/bin/ksh

localFile=$1
remoteFile=$2



mylog=ftp_session.log
echo "$(date "+%H:%M:%S") - Attempt to FTP $1 to $2" > $mylog

# do the FTP put

ftp -i -n <<EOF >> $mylog
open 164.48.148.66
user root rOOt321
put $localFile $remoteFile
ls $remoteFile
quit
EOF


any ideas where can I be wrong?? machines can be pinged...
Closed Thread

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 09:41 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