Use to return the URL for a file on the Web server.
string GetDownloadFileURL (string serverFile, boolean open)
String. Returns the URL of the file in ASCII format.
#if defined PBWEBFORM then string s s = GetDownloadFileUrl("c:\aaa.txt", false) mle_1.text += "~r~n" + s shl_1.url = s //shl_1: static hyperlink #end if
The open argument applies only if a Web Forms application user copies the returned URL in the current browser Address box or if you set a hyperlink in the current browser to the returned URL address.