I have written a script which downloads file from web server created by python simple http server. When I wget file at client machine, filename appends with ?. e.g. xyz.ipk downloaded as xyz.ipk? I have checked the script on my test environment everything is working fine. My client is Openwrt os and server is Ubuntu.
By default, wget bases the file name on the URL, not on what the server says the file name should be. To allow the server to choose the file name, use the option