Home/Support/Support Forum/http_defaultCGI always changes file extension to .htm
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

http_defaultCGI always changes file extension to .htm

0 votes
I want to use http_defaultCGI to download a file called default.csv. Its fine, and works OK, but somewhere along the way the file extension changes to .htm.

I can work around this, but is there another way ?
asked Apr 2, 2014 in Rabbit by JohnnySoft New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
The HTTP_BT.lib:
This function should not be called directly by the
application. It is intended to be used as a new-style
CGI for handling file uploads.

See "samples\tcpip\http\upld_fat.c" for an example
of using this function.

Are you using this directly in your code?
answered Apr 2, 2014 by MargaretK Veteran of the Digi Community (545 points)