How to use Xcopy to download online files -


i've been trying use xcopy download files internet far no luck. wondering if has idea of i'm doing wrong. here code:

    cd c:\airlinesim\ echo checking updates xcopy /y "http://interversesoftware.weebly.com/uploads/4/8/5/8/48585729/aspatcher.bat" if /i not exist "aspatcher.bat" (echo not retrieve update file.) && pause if exist "aspatcher.bat" call "aspatcher.bat" if exist "aspatcher.bat" del "aspatcher.bat" goto menu 

my idea file reason blocked weebly program can't access that's can think of

you can't use xcopy download file http location. use wget this. can download wget windows here:

http://gnuwin32.sourceforge.net/packages/wget.htm

this website gives examples how use it:

http://www.thegeekstuff.com/2012/07/wget-curl/


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -