On Jan 3, 2009, at 7:27 AM, Ed Ahlsen-Girard wrote:
You're right. You're so right, in fact, that I'd already changed the
code; even I noticed that my original was bad practice.
You're doing this in perl, and not using Net::FTP?
But my real problem was getting the download to work inside a script,
and none of the presented ideas so far have helped that.
from ftp(1):
Note: mget and mput are not meant to transfer entire directory
subtrees of files. That can be
done by transferring a tar(1) archive of the subtree (in binary
mode).