![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 03:19 AM |
| ftp issue | ravi raj kumar | Shell Programming and Scripting | 5 | 02-06-2008 04:24 AM |
| awk issue on AIX | ranj@chn | Shell Programming and Scripting | 1 | 07-04-2007 03:22 AM |
| Issue with rsh | sriram.s | AIX | 5 | 07-03-2007 08:37 AM |
| FTP Issue, Help please | moe2266 | UNIX for Dummies Questions & Answers | 0 | 01-17-2006 06:54 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
FTP issue
I have tried to ftp from unix to local window machine. I have taken this piece of code from forum and tried ...
HTML Code:
#!/bin/ksh
#Usage example: ftpscript sanjit.txt C:/citi/readme.txt
localFile=$1
remoteFile=$2
ftplog=loglog.log
echo "$(date "+%H:%M:%S") - Attempt to FTP $1 to $2" > $ftplog
# do the FTP put
ftp -i -n <<EOF >> $ftplog
open 182.101.11.166
user user password
put $localFile $remoteFile
ls $remoteFile
quit
EOF
I have checked : $ uname is SunOS Can anyone tell is something goes wrong the above code or should something need to set in Unix only. There are few query posted seems Solaries does have some other limiation. Can any Unix Guru address this?? Thanks in advance |
| Forum Sponsor | ||
|
|