Joao Borsoi Soares wrote:

>Thanks Francisco, that worked. But I still don't know how to check out if a
>specific file exists in the remote server...
>
I don't know if you can drive ftp with a single command line, something 
like

echo "get foo" > fred
ftp -ine < fred
echo $?

If the file "foo" doesn't exist on the other end perhaps the return code 
will show it.

The better alternative would be to use scp, if the machine you're 
pulling files from supports ssh connections.

Alan




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to