Summary: Simple question ...

From: Jim Southerd <jsoutherd_at_bakersfield.com>
Date: Fri Dec 06 2002 - 13:15:03 EST
Thanks to all who replied. Guess I was not too far off.
The replies made me think and try things.

What I found is that you can do all sorts of put, get, but you cannot mix
mput/mget with get/put.

And as far as status, no one said it does. Some of the suggestions were
exactly what I'm doing already, putting a status file out there and checking
for it's existence.

Most suggested to use Perl, unfortunately I don't know Perl. I wanted to learn
it long ago, but life got on the way. Oh, I used Perl before by looking at
other scripts, and I may consider it, but what I'm doing presently is doing
the job.

Some suggested Expect http://expect.nist.gov/  I would rather not load another
thing on my server.

Again, thank you all for your suggestions.

Here's my original question.

-----Original Message-----
From: Jim Southerd
Sent: Friday, December 06, 2002 8:38 AM
To: Sunmanagers (E-mail)
Subject: Simple question ...


Sorry to ask such a simple question, but I cannot find any dox anywhere on
this.

I am currently running several ftp scripts getting or megetting and putting
files, but I have several scripts each doing one of the above or the other.

What I would like to be able to do is to script more then one function within
a single ftp session. Is that possible?

Does ftp return any kind of a status code so my shell script can tell if the
ftp was successful?

Any direction would be greatly appreciated, thank you!

Jim Southerd    mailto:jsoutherd@bakersfield.com
Progress / Solaris Administrator
Information Services Sr. Systems Analyst
The Bakersfield Californian  http://www.bakersfield.com
661.395.7429 / Fax: 661.395.7696
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Dec 6 13:18:06 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:00 EST