Validate OFX Server URL
-
Friday, April 13, 2012 12:28 PM
Hi guys,
Now am in a e-banking application which is developed using MFC. Every bank has their own OFX sever for downloading customers transactions as a OFX files. I need to validate that OFX server URL is valid or not.
I search a lot but i get the validation code for non OFX URLs, not for OFX Server URL.
Code for validating non OFX server URL
BOOL IsValidURL(CString& strUrl) { IStream* pStream = NULL; BOOL bRet = FALSE; ::URLOpenBlockingStream(0, strUrl, &pStream, 0, 0); bRet = NULL != pStream; if(bRet) { pStream->Release(); // <-- release it immediately, we don't need the data } return bRet; }This above code works fine for all Urls but not for OFX server Urls.
If you know anything about how to validate OFX Server URL means please guide me guys, am waiting for your reply.
Thanks in advance
CodeWriter_MFC
- Edited by CodeWriter_MFC Friday, April 13, 2012 12:31 PM
- Moved by Jesse JiangMicrosoft Contingent Staff Tuesday, April 17, 2012 3:44 AM (From:Visual C++ MFC and ATL)
All Replies
-
Monday, April 16, 2012 3:29 AM
Hello,
I think your issue should be raised in the OFX Forum. I believe they will know more information of this issue than us, and I will move this one to off-topic, Please open a new thread in that forum.
Thanks for your understanding,
Best regards,
JesseJesse Jiang [MSFT]
MSDN Community Support | Feedback to us

