![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 07:19 AM |
| ftp issue | ravi raj kumar | Shell Programming and Scripting | 5 | 02-06-2008 08:24 AM |
| awk issue on AIX | ranj@chn | Shell Programming and Scripting | 1 | 07-04-2007 07:22 AM |
| Issue with rsh | sriram.s | AIX | 5 | 07-03-2007 12:37 PM |
| FTP Issue, Help please | moe2266 | UNIX for Dummies Questions & Answers | 0 | 01-17-2006 10:54 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|