Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
So my bat file needs to download zip files from a server and extract them to a specified folder.
How can I do this without popping up a browser window to download it? And I want to download the files into a different folder. So how can I do this?
Posted
Updated 19-Nov-13 11:41am
v2
Comments
G4mm4R4y 19-Nov-13 17:03pm    
Im not sure there is any original batch commands to silently open a browser and downloading without you knowing it. As of unzipping it there is probably many ways, google it! - Jayden S
Sergey Alexandrovich Kryukov 19-Nov-13 17:12pm    
Certainly, there are no such "commands". With PHP, it is possible. Hard to understand OP's reasons...
—SA
G4mm4R4y 19-Nov-13 17:14pm    
I dont do anything with batch anymore but cant the ftp do that? I just thought about this. -Jayden S
Sergey Alexandrovich Kryukov 19-Nov-13 17:17pm    
If this is HTTP, only HTTP request would do, if FTP, only FTP request, same thing with HTTPS, SFTP, FTPS, etc.
—SA
G4mm4R4y 19-Nov-13 17:23pm    
What im saying is if he knows the ftp information could he download the file. FTP clients allow you to go both ways, does the dos ftp command do that also? -Jayden S

1 solution

I've got it

wget ftp://username:********@server.com/downloads/file.zip
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900