 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Steve Swett Guest
|
Posted: Fri Jan 28, 2005 1:51 pm Post subject: NMFTP - How do you get multiple replies? |
|
|
When I use NMFTP's doCommand to process a command on a remote host, and
there is a problem running the command, the remote host actually returns two
responses. How can I fetch both responses? I want to log them after I get
them.
For example, here is the FTP command I send (to an iSeries host):
quote rcmd rstlib savlib(xxinstal) dev(*savf) savf(pkgftp/xxinstal)
Here are the two responses the remote host returns:
550-Error occurred on command rstlib savlib(xxinstal) dev(*savf)
savf(pkgftp/xxinstal).
550 File XXINSTAL in library PKGFTP not found..
Thus far, I've only been able to get the first message, but, as you can see,
the second message is the more helpful one.
I'm using Delphi 5.
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri Jan 28, 2005 8:00 pm Post subject: Re: NMFTP - How do you get multiple replies? |
|
|
"Steve Swett" <sswett (AT) timptech (DOT) com> wrote
| Quote: | Here are the two responses the remote host returns:
|
Those are not two separate responses. They are part of a single multi-line
response.
| Quote: | Thus far, I've only been able to get the first message, but,
as you can see, the second message is the more helpful one.
|
You did not show how you are retreiving the responses to begin with. Please
show your code.
Gambit
|
|
| Back to top |
|
 |
Loren Pechtel Guest
|
Posted: Fri Jan 28, 2005 8:15 pm Post subject: Re: NMFTP - How do you get multiple replies? |
|
|
On Fri, 28 Jan 2005 08:51:12 -0500, "Steve Swett"
<sswett (AT) timptech (DOT) com> wrote:
| Quote: | When I use NMFTP's doCommand to process a command on a remote host, and
there is a problem running the command, the remote host actually returns two
responses. How can I fetch both responses? I want to log them after I get
them.
|
Your problem is simple. NM.
The NetMasters components are garbage.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|