08-14-2013, 12:38 PM
I have a link like this (does not work, is just example link):
http://www.somesite.com/content/images/ ... hp?id=a123
If I open it with Firefox, I get:
Is it possible to use the 'default' filename (see image), when using the function IntGetFile
(So I do not have to specify the filename myself)
I use the function like this:
Macro Macro26
But now I want use the function IntGetFile without giving a filename (see above code example: save_location) .
Is it possible to use the function in such a way so that it uses the the default filename.
(just like you would when you would input the url directly in the browser).
The extra problem here is that there is no direct link to the file, but only to the file-id
somesite.com/content/images/categorie/download.php?id=a123
http://www.somesite.com/content/images/ ... hp?id=a123
If I open it with Firefox, I get:
Is it possible to use the 'default' filename (see image), when using the function IntGetFile
(So I do not have to specify the filename myself)
I use the function like this:
Macro Macro26
str save_location="d:\_TEMP\_2\5MB.zip"
str download="http://www.somesite.com/content/images/categorie/download.php?id=a123"
IntGetFile download save_location 16 0 1
But now I want use the function IntGetFile without giving a filename (see above code example: save_location) .
Is it possible to use the function in such a way so that it uses the the default filename.
(just like you would when you would input the url directly in the browser).
The extra problem here is that there is no direct link to the file, but only to the file-id
somesite.com/content/images/categorie/download.php?id=a123