FTP GET with exception handeling and multiple conditions


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting FTP GET with exception handeling and multiple conditions
# 1  
Old 02-11-2011
FTP GET with exception handeling and multiple conditions

Thanks everyone for the wonderful and helping environment..

And the problem I asked.. forget it... 4 days wait for a decent reply was such a moral booster..

Last edited by ReignOfChaos; 02-16-2011 at 01:52 AM.. Reason: Please use code tags and indent your code
# 2  
Old 02-14-2011
I have checked so many times but no one is replying.
Someone atleast give me a lead or suggestion about the approach.
Thanks.
# 3  
Old 02-14-2011
Looks like homework, that's why no one replied.
# 4  
Old 02-14-2011
Quote:
Originally Posted by rdcwayx
Looks like homework, that's why no one replied.
It is part of my Oracle apps project work. I am trying to learn shell script but it is a bit tough for me and I cannot master it at such short notice.

So what I am requesting for is a bit of guidance and suggestion in terms of approach so that I can learn some specific areas which concerns only the problem space before me.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Multiple If conditions

I am analyzing one of the scripts written by another person.script is having multiple if conditions and everything are nested.The code is not formatted properly.Is there any way to identify in Unix to identify begin and end of a particular if block? (6 Replies)
Discussion started by: vamsi.valiveti
6 Replies

2. Shell Programming and Scripting

Multiple conditions in IF

Fellas, Am new to unix os/ and here the situation , I am trying to write multiple condition statement inside if but it throws me a error here is my piece of code , if ] && ] && ] then commands fi error : line 15 : ` can someone please advise me how to fix it Please use... (7 Replies)
Discussion started by: xeccc5z
7 Replies

3. Shell Programming and Scripting

Catching the exception in multiple logs

Hi folks, I have logs folder in which different type of logs are generated , I am monitoring them by the below command tail -f *.log but I want that if exception come in any of the logs then it should be catch so what i should prefix with tail -f *.log so that it imeediatley catches and... (3 Replies)
Discussion started by: punpun66
3 Replies

4. UNIX for Dummies Questions & Answers

If + multiple conditions

Hello Unix-Forums! It has been a long time since my last post, but finally I've got a new question: I know in case you can use multiple patterns by case $var in a|b|c|ab) and so on. But how would I place an OR between if ] then ... if ] then ... I want to execute the "..." if... (3 Replies)
Discussion started by: intelinside
3 Replies

5. AIX

Using conditions in FTP

I'm running a ftp script which will ftp a file xxx.dat from abcd to wxyz In that I want to check if the file already exists or not, 1. if yes, append the current file to old file 2. else, put the file Code I tried: user ijkl password cd /home/yyy site ] && append xxx.dat xxx.dat site... (3 Replies)
Discussion started by: dateez
3 Replies

6. Shell Programming and Scripting

[AWK] handeling data spread on multiple lines

Hello all, first off great forum. Now for my little problem. Using RHEL 5.4 and awk. Been doing code since a few month. So just starting. My problem is handeling data on multiple lines. { if ($1 != LASTKEY && h ~ /.*\/s_fr_/) { checkgecos( h, h ) h="" ... (2 Replies)
Discussion started by: maverick72
2 Replies

7. Shell Programming and Scripting

multiple if conditions

Guys, Im trying to have a script that evaluates multiple conditions : test.sh: if then echo "host $1" else if then echo "host $1" else echo $1 not valid exit 1 fi when I do ./test.sh brazil1 I get: (4 Replies)
Discussion started by: bashshadow1979
4 Replies

8. Programming

exception vs. multiple-thread

Some questions regarding exception vs. multiple-thread : 1. there are one main thread and one child thread. the child thread may throw one exception but it doesn't try to catch any exception. in the main thread, it tries to catch excpetion. Can main thread catch the exception that is thrown... (1 Reply)
Discussion started by: princelinux
1 Replies

9. UNIX for Dummies Questions & Answers

multiple conditions in if/then

Hello, I am having trouble with the syntax with a conditional statement in a BASH script involving multiple conditions. Any suggestions would be greatly appreciated! if ; then array=("${array}" "$dnNum" ) fi i receive this error: ./testscript: ' (4 Replies)
Discussion started by: grandtheftander
4 Replies

10. Shell Programming and Scripting

Handeling multiple options in script

i need to be able to handel if multiple commands are passed into my script. (ie) -f -r -i . does anyone know a simple solution to handeling this. Thanks (2 Replies)
Discussion started by: virus_stinger
2 Replies
Login or Register to Ask a Question