[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ftp -n requires password
I'm trying to write a simple script that does ftp from a host
cat <<EOF | ftp host
But that didn't work. It seems like it doesn't read the username from stdin.
So I tried this instead
cat <<EOF | ftp -n host
But it seems like -n requires a password even though I have a valid ticket.
Is that a bug in ftp? Or is it for compatibility reasons?
I guess I will have to learn (what to :-) expect.