I have a file in a Unix directory called 97210900.EFT
I am getting this error:
miis_ftp.ELM_EFT.shl[81]: cd: bad argument count
+ [ ! -r 07210900.EFT ]
+ type=1
+ ErrorHandle
Here is the piece of code that is checking the file
[code]
# Change the directory to one contains the file to be transported
##cd $LocalDir;
cd $CDRemoteDir;
# Do an -r command on the desired file ensure that the file exist and readable
if [ ! -r $UpLoadFileName ]
then
type="1";
ErrorHandle;
fi
# Do an -s command on the desired file ensure that the file exist
# and is not null
if [ ! -s $UpLoadFileName ]
then
type="2";
ErrorHandle;
fi
[code] /