How to find out Errors in FTP Scripts


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to find out Errors in FTP Scripts
# 1  
Old 06-13-2006
How to find out Errors in FTP Scripts

Hi

Please let me know is there any way through which I can find out errors & do debugging in FTP scripts.

Thanks
Sourabh
TCS
# 2  
Old 06-13-2006
You could start with something along the lines of ftp error trapping
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell scripting errors for ftp process

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

FTP no errors but file ZERO SIZED!

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

Strange errors with shell scripts..plzz help

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

Need help with FTP scripts

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

Using FTP to check whether file is completely FTP... plz find the description below

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

ftp errors

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

FTP Scripts

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

Handling Errors in Shell Scripts

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?

Check this out. Find out the errors as much as possible. thanks

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

trapping errors while using FTP.

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
Login or Register to Ask a Question