10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi i am facing problem in shell scripting for ftp process getting following errors
here is the script & result
vi GtpTxnlogs_ftp.sh
"GtpTxnlogs_ftp.sh" 40 lines, 921 characters
#!/usr/bin/bash
######################################################################################
#... (4 Replies)
Discussion started by: Sarmistha
4 Replies
2. UNIX for Dummies Questions & Answers
Hi guys,
First of all this was working and stopped without reason. There is a file that it is transferred from a PC to a Unix machine (RHEL). It is not big, around 9k.
The user who performs the transfer has authority to the full path. Furthermore it is the owner of all objects.
We use... (8 Replies)
Discussion started by: 300zxmuro
8 Replies
3. Shell Programming and Scripting
Hi all...
Please help me with this questions.
I am not good at shell scripting.
1) It seems like there are many ways that we can run the shell scripts.
what is the difference between each one?
i)./shell_script.sh
ii).(space)./ shell_script.sh
iii)sh shell_script.sh
... (3 Replies)
Discussion started by: sanskumar2003
3 Replies
4. Shell Programming and Scripting
Hi,
I'm using the following code to FTP files from a remote system.
ftp -inv <ip address> <<ENDFTP
user uname password
ENDFTP
echo "
binary
get <file name>
bye
" > ftp.tmp
ftp -inv < ftp.tmp
I want to know how I can capture the details of the FTP process in a file. I would also... (3 Replies)
Discussion started by: bornon2303
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies
6. UNIX for Dummies Questions & Answers
I'm no Unix expert (so please excuse any misuse of Unix vocabulary or terminology) and I have an issue that is bugging me.
I basically have a scheduled task which uploads and then downloads some files for me using ftp. Everything was (mostly) working fine until last week. Suddenly it refuses... (1 Reply)
Discussion started by: Approx.Purified
1 Replies
7. Shell Programming and Scripting
HI All
Need a help in FTP script
i need to ask the user to enter the source ftp server and password
and target ftp server and password , once it has logged in to the source server it need to go to directory and ftp to the target server
can anyone help me on this , Sample code is... (27 Replies)
Discussion started by: raghav1982
27 Replies
8. UNIX for Dummies Questions & Answers
I have a shell script, which calls a load script to load a database. How can i handle errors in Unix(similar to 'error level' in Batch scripts)? I am trying to use 'mailx' to send a Success/failure message based on the error level returned by the load script.
I have already used an error log... (2 Replies)
Discussion started by: sarsani
2 Replies
9. What is on Your Mind?
Sorry guys, busy working on a new project these days so I am not able to keep this topic update frequently.
Few days earlier I talked to some of my friends in China and understand more about the current situation of China's IT industry. From what they told me and considering my experience and... (6 Replies)
Discussion started by: CULM
6 Replies
10. Shell Programming and Scripting
Hello,
I have the following shell script to perform ftp:
ftp -n $HOST<<EOD
quote USER $USER
quote PASS $PASS
lcd $outputd
cd $dir
binary
put *.zip
quit
EOD
If any error is generated from this script then how to trap the error. For ex: let's say we entered wrong password then the... (5 Replies)
Discussion started by: radhika
5 Replies