Downloading form results
-
Same way there is code to download a file via ftp or http service, is it possible to download results from a form? An example, I can make this with my code ..... AfxParseURL("ftp://tgftp.nws.noaa.gov", dwServiceType, strServerName, strObject, nPort); if((dwServiceType==INTERNET_SERVICE_FTP)&&!strServerName.IsEmpty()) { try { pConn = m_pInetSession->GetFtpConnection(strServerName, "", "", nPort, FALSE); etc......... But, what about if the page addres I want is someting like this (the result of a form)?: "http://weather.uwyo.edu/cgi-bin/sounding?region=europe&TYPE=TEXT%3ALIST&YEAR=2001&MONTH=11&FROM=1212&TO=1212&STNM=08430" Thank you.
-
Same way there is code to download a file via ftp or http service, is it possible to download results from a form? An example, I can make this with my code ..... AfxParseURL("ftp://tgftp.nws.noaa.gov", dwServiceType, strServerName, strObject, nPort); if((dwServiceType==INTERNET_SERVICE_FTP)&&!strServerName.IsEmpty()) { try { pConn = m_pInetSession->GetFtpConnection(strServerName, "", "", nPort, FALSE); etc......... But, what about if the page addres I want is someting like this (the result of a form)?: "http://weather.uwyo.edu/cgi-bin/sounding?region=europe&TYPE=TEXT%3ALIST&YEAR=2001&MONTH=11&FROM=1212&TO=1212&STNM=08430" Thank you.
You can display the Form using the CHtmlView Class, when you have the form you can analize the html. But I don't understand what you need... The form will show you some results? and you want to download the results? Please explain.... Best Regrads!!! :bob: Chau!!! Carlos Antollini.
-
You can display the Form using the CHtmlView Class, when you have the form you can analize the html. But I don't understand what you need... The form will show you some results? and you want to download the results? Please explain.... Best Regrads!!! :bob: Chau!!! Carlos Antollini.
Well, the results are meteorological data I want to process and make a graph with them.
-
Well, the results are meteorological data I want to process and make a graph with them.
Okay luis, hablemso en español. Lo que podes hacer son dos cosas o biien modificar tu ASP para que te deje archivos con los datos que deseas obtener. la otra es usar la clase CHTMLView. editar la pagina, en el evento onnavigatecomplete analizarla y asi obtener los datos que desas, pero eso puede ser muy complicado, yo sierta vez lo hice, y bueno si te sirve te puedo enviar el ejemplo de como analizaba el contenido de la pagina. Saludos. CARLOS.... :bob: I also speak spanish. Hasta Luego!!! Bob is saying his first words in spanish!!!! :-D Carlos Antollini.