Returns all the HTML body in a File.
&DataType.ToFile(FileName)
Where:
FileName
It is the path to the file
&httpclient.execute("GET","/servlet/clients")
&httpclient.ToFile(“c:\htmls\clients.html”)
It returns the HTML code of the webpanel clients in the clients.html file.
Do not use user's inputs concatenations or sanitize the user's entries to avoid path traversal or path manipulation vulnerability risks.
Extended Data Types: HttpClient,
HttpRequest
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)
HttpClient Data Type
HttpRequest Data Type