Click to See Complete Forum and Search --> : Adding FTP ACCT control to the WinInet Library---any suggestions?


acarriveau
April 23rd, 1999, 08:49 AM
Hi. I've got a little bit of a problem. I'm writing a very simple, easy program to automatically connect to our Mainframe's FTP server, download a file, delete the file, and exit. Simple and clean. The program works like a champ on a number of UNIX servers, NT boxes, and Novell FTP servers. And it was EASY---except for one minor problem. Apparently, the WinInet class GetFtpConnection does not support the Account control field as defined by RFC 959. And, of course, our mainframe wants the account info for billing purposes.

So in the end, the program will not negotiate the connection and I get the error 12014.

Does anyone have an idea of how to go about modifying the wininet library to support this basic feature of RFC 959? I mean if I have to I will derive a new class and add the functionality, but I would like to avoid it if possible. Any other thoughts on the subject are also welcome. Thanks alot

Sincerely,
Anthony Carriveau