[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Example17 - HTTP/1.1 404 Not Found



Hi Scott,

I always receive an 'HTTP/1.1 404 Not Found' error message when trying to
run EXAMPLE17. No debug file is created. All I get is the error message
send by the DSPLY command. What is wrong with that URL?

<code_snippet>
http_setproxy('proxy.net.gfd.de': 8080);
http_debug(*ON: '/home/raddatz/http_debug_EXAMPLE17.txt');

rc = http_url_post_stmf('http://www.scottklement.com/cgi-bin'
                          + '/upload.cgi'
                       : tempFile
                       : '/tmp/http_result.txt'
                       : HTTP_TIMEOUT
                       : HTTP_USERAGENT
                       : ContentType );

if (rc <> 1);
   msg = http_error();
   dsply msg;
   return;
endif;
</code_snippet>


Regards,

Thomas.


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------