General information
Category:
Windows API functions
Title:
ShellExecute, download files
I am using ShellExecute to download files, but it only saves in windows default folder.
Is there a way to choose folder to save a file from a url ?
DECLARE INTEGER ShellExecute in shell32.dll ;
INTEGER hwnd, STRING @lpOperation, STRING @lpFile, STRING @lpParam, ;
STRING @lpDir, INTEGER nShowCmd
Local lcUrl, lcOp
lcOp = "open"
lcUrl = url_to_download
*ShellExecute(0, @lcOp, @lcUrl, .NULL., .NULL., 5)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only