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

RE: http_get failing with 404



if @Error = *off;                     (yes, it's off)  
  path = wfreplyfile;                (sets path =   /home/WELLS/WR611792359O001308131513.xml )
  filename = http_tempfile() + '.xml';   (returns a file name in /tmp) 
  rc = http_url_get( path : filename );  (SHOULD receive it for parsing)
  if (rc <> 1);                         

Why are you "receiving" it twice?

Perhaps you mean to http_parse_xml_stmf() instead of http_url_get?

I haven't tried it but setting the path like you are and using HTTP_URL_GET doesn't seem like it would work as HTTPAPI would not know what protocol to use (HTTP or HTTPS).

HTH
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------