Hi,
I wrote a ftp script to get some files from one server. So files transer is working properly. But I observed following Warning message for every transaction,
Can somebod give me explanation to this Warning message? I am confused?
109516 bytes received in 0.066 seconds (1659333 bytes/s)
local: rec20060214_1010003_0142.unl remote: rec20060214_1010003_0142.unl
200 PORT command successful.
150 Opening ASCII mode data connection for rec20060214_1010003_0142.unl(70435 by
tes).
WARNING! 520 bare linefeeds received in ASCII mode
File may not have transferred correctly.
226 Transfer complete.
70435 bytes received in 0.044 seconds (1600795 bytes/s)
221
....
....
....
My script is as follows.
#!/bin/tcsh -f
if [ $# -ne 1 ]; then
echo "usage : RegFileFTP.sh followed by the date (YYYYMMDD)"
echo "example : RegFileFTP.sh 20051225 "
exit
fi
dir_name=$1
mkdir $dir_name
cd $dir_name
ftp -v -n "10.76.170.17" << cmd
user "rbi" "rbi"
cd recordreceive
prompt
mget rec$dir_name*.unl
bye
What is the reason for this Warning message?