cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: OS400 ftp server related problem

From: Patrick MONNERAT <pm_at_datasphere.ch>
Date: Wed, 19 Aug 2009 15:43:47 +0200

On Tue, 2009-08-18 at 19:46 +0200, Daniel Stenberg wrote:
> ... use the <servercmd>
> section with "REPLY SYST <whatever it is>" and a "REPLY SITE <response>"
> inside, so that you can get the test server to respond and act like a OS/400
> server would.

Many thanks for the hint. I wrote 2 new tests this way (see new attached
patch): 1102 checking the proper dialog on an OS/400 server, and 1103
checking the OS/400 dialog does not apply to another OS's server.

I also reordered malloc()+test statements according to Michael Wood's
suggestion, as well as another malloc()+test sequence elsewhere that
suffered the same "disease".

Patch is zipped to protect CRs at end of some lines during mail
transfer...

Received on 2009-08-19