Hi All,
I have this test script:

ftp -i -n <<MARK
open host
user name password
mdir file  ftpdir.txt
!
if [ -s ftpdir.txt ] ; then
echo True
fi
bye
MARK

What I want to accomplish from this script is that if a file exists I will 
not upload the newer file.
The problem is the "!" doesn't take me back to my shell, is there anyother 
way to accomplish this?

Thanks,

Scott

-- 
Scott Ragen
Support Manager/IT Administrator
Roadtech Systems
www.roadtechsystems.com.au
PH: +61 2 9807 3516 FAX: +61 2 9808 5294
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to