Run a downloaded file when completed

57 views
Skip to first unread message

Sundi

unread,
May 15, 2011, 4:55:11 PM5/15/11
to VisualWget Help
Is it possible to run a file as soon as the download is complete with
this application? A gui for Wget is great but I need to be able to run
the application as soon as the download is done

Khomsan Ph.

unread,
May 15, 2011, 5:29:31 PM5/15/11
to VisualWget Help
Hi Sundi,

Currently no, you cannot.
I will add this as feature request on the TODO list.
And I will implement it in the development version later.
Thank you.

Best Regards,
Khomsan

Sundi

unread,
May 15, 2011, 8:16:05 PM5/15/11
to VisualWget Help
I have been using a combination of Wget and Zenity to get a small gui
of my download progress but I like this one. My purpose of this is for
all of this to be automated and in the background. I run Wget and
Zenity in a batch file. Do you know of a way that I can kill the
visualwget.exe process after a download is complete? Wget is not
currently a problem because it ends after the download and I can then
run the file but I have to close this VisualWGet application somehow.
This is my current batch file but I do not know if there is a way to
determine when the file is complete.
Thanks

----
visualwget.exe --progress=bar:force http://site/folder/file.exe --
directory-prefix="c:\windows\system32" 2>&1 | zenity.exe --window-
icon="icon.png" --progress --title="Downloading" --text="Progress Bar"
--auto-close --auto-kill
(need something here?)
taskkill.exe /F /IM visualwget.exe
"c:\windows\system32\file.exe"
exit

Khomsan Ph.

unread,
May 16, 2011, 5:56:17 AM5/16/11
to VisualWget Help
You may use the auto shutdown option.
By selecting Quit when downloads completed.
You can also select Freeze to always quit.

Khomsan Ph.

unread,
May 16, 2011, 5:59:35 AM5/16/11
to VisualWget Help
In order to quit immediately.
You may also uncheck the Cancelable.
Reply all
Reply to author
Forward
0 new messages