[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple ftp question...
that is if you want to send single commands. i needed to do something
along this line a while ago and I used expect to feed ftp the commands
that I wanted to run. although, now i would use perl and open a pipe that
way. it allows for greater customization and output formatting.
>>>
>>> On Mar 8, 2006, at 6:12 PM, Ken Keefe wrote:
>>> > How can I use ftp in a non-interactive way?
>>>
>>> Use a pipe. For example,
>>>
>>> echo "open foo.bar.com" | ftp
>>>
>>> Regards,
>>> - Robert
>>> http://www.cwelug.org/downloads
>>> Help others get OpenSource software. Distribute FLOSS
>>> for Windows, Linux, *BSD, and MacOS X with BitTorrent
>>>
>>> -
>>> To unsubscribe, send email to majordomo@silug.org with
>>> "unsubscribe silug-discuss" in the body.
>>>
--
Tighe Schlottog workape fiaid
"Honesty is the best policy, but insanity is a better defense."
-- Anonymous
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.