Question on FTP Error Log


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Question on FTP Error Log
# 1  
Old 02-10-2010
Question on FTP Error Log

Hello All,

Below is the control card or the file which i am using in shell script to mget files from remote machine via FTP.

Code:
bash-3.00$ cat ftp_ALD_DAC.log
open 10.xx.yy.zzz
user D00000187 nb8tr4xx2u
ascii
cd prod/out
lcd /Internal_Impact_TT_Input
mget ALD*.TXT
bye

Below is the error log generated, now my question is though it is showing return code as 550 as below, i could able to mget files on my server. May i know the caveat here, why i am receiving files though log shows some error. Thanks for your help.

Code:
bash-3.00$ cat ftp_ALD_DAC_err.log
Connected to 10.xx.yy.zzz.
220 Microsoft FTP Service
331 Password required for D00000187.
230 User D00000187 logged in.
200 Type set to A.
250 CWD command successful.
Local directory now /product/apps/feeds/TT/internal
200 PORT command successful.
550 ALD*.TXT: The filename, directory name, or volume label syntax is incorrect.
221



---------- Post updated at 10:35 AM ---------- Previous update was at 10:17 AM ----------

By the way i tried pinging the server on the same unix machine on which i receive files, i could not able to ping the remote server i am puzzled here again how come i receive the files when i could not able to ping the server manually instead of using control card and calling it through script to execute the FTP. Below is the output of manual pinging.

Code:
bash-3.00$ telnet 10.xx.yy.zzz
Trying 10.xx.yy.zzz...
^C

bash-3.00$ ping 10.xx.yy.zzz
bash: ping: command not found
bash-3.00$

May i also know when the telnet & ping commands are used, how exactly they differ sorry for asking basic question, just want to seek more inputs for knowledge.Thank you.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

FTP log only shows FTP LOGIN FROM entry?

OS: Solaris 9 Configuration /etc/syslog.conf daemon.debug /etc/inetd.conf ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -A -l -d Found the ftp.log only generate those entries from other servers/hosts. Can we trace on all ftp entries either from/to the server? ... (6 Replies)
Discussion started by: KhawHL
6 Replies

2. UNIX for Dummies Questions & Answers

FTP error log

Hi I'm here again. This time I have a question that is not a really issue because I 've already found a workaround but I don't know if the behaviour is correct or not. In my ksh shell I open a sftp connection to a remote machine. this is the code: sftp ${Csi_USER}@${Csi_HOST}<<EOF0 >>... (1 Reply)
Discussion started by: leobdj
1 Replies

3. UNIX for Dummies Questions & Answers

ftp question

I have this FTP script: ADDR=168.218.95.172 ftp -inv $ADDR <<- ftpcmds user HEHCFTP H$h673sp ... (3 Replies)
Discussion started by: lena keung
3 Replies

4. Shell Programming and Scripting

ftp question

Hi, i have a simple question here-- if we dont use binary while doing a ftp of a file,any sort of problem can arise from this or it is ok. Thanks (2 Replies)
Discussion started by: namishtiwari
2 Replies

5. UNIX for Dummies Questions & Answers

Question on FTP

Hi All, I'm new to this group and this is my first post to this group. I need to write a shell script for the requirement given below: 1. I need to connect to a ftp server with my username and password 2. I need to go to some(input) directory. 3. I will have files with same names and... (1 Reply)
Discussion started by: ranjith_taurean
1 Replies

6. UNIX for Dummies Questions & Answers

FTP Question

I'm basically trying to FTP a file to a differnt node, first putting the FTP commmands into a text file and then piping the commands file into the ftp command as follows.... echo "user $USERNAME $PASSWORD" > ftp_cmds echo "put $SQLOUT /users/$USERNAME/$SQLOUT" >> ftp_cmds echo "quit" >>... (4 Replies)
Discussion started by: djkane
4 Replies

7. Shell Programming and Scripting

FTP Question

Is ther a way to change the drive letter on the target (remote) system from inside the FTP program? I am playing with an FTP script between two internal systems at my company. My problem is I land on the wrong drive when connecting with FTP, and I want to be able to change drives in order to be... (3 Replies)
Discussion started by: southpaw
3 Replies

8. UNIX for Advanced & Expert Users

FTP Question

Hi, I'm attempting to FTP several files using MGET. My problem is that I need to cd to a directory with this naming convention: YYMMDDHHMM - where the hour and minute is unknown When I issue cd /ftpdirectory/YYMMDD* from FTP, I receive "No such file or directory I need a way to get the... (6 Replies)
Discussion started by: kdreaves
6 Replies

9. UNIX for Dummies Questions & Answers

FTP Question

I am really new to unix and want to setup an ftp server on my PC I am running a Ultra 5 with solaris 9 on it. I cannot seem to find *any* documentation on how to do this. So I was hoping somebody could point me in the right direction. :confused: (3 Replies)
Discussion started by: ls=dir
3 Replies

10. UNIX for Dummies Questions & Answers

FTP question

Hi all, I have a simple script that runs each night and transfers a number of files to a remote server. Before files are transferred existing files on the remote box are deleted. All works OK except the deletion part on the remote box returning no such file or directory. As work around Ihave... (2 Replies)
Discussion started by: tzp2ft
2 Replies
Login or Register to Ask a Question