Im trying to download a zip file to a VPS (Debian 7) but Im having some problems. To download the file I used
wget http://www.mediafire.com/download/db8bim3hba21cc7/RobinBot.zip
and got this
http://pastebin.com/aBheGBgT
I then use
unzip RobinBot.zip
and
unzip RobinBot
I get a response of this http://pastebin.com/Sfpm39Kh
Any suggestions?
(I apologize for the very bad format of this)
Thank you
Buck
You downloaded a HTML intermediate page, not the zip file.
Related
I'd like to download a folder of pickle files from Jupyterlab (running on a google cloud instance) and I'm unable to find a way to do so. Apparently, downloading individual files is permitted but I have about 500 individuals pickle files in my folder to download and so would take while to do that manually.
As you can see in the menu below (when right click on the folder I want to download) I manage to install a "download folder as archive" extension but for some reasons the resulting zip format is unreadable locally.
I'm sure there must be a way of downloading folder easily from Jupyterlab and any help would be highly appreciated.
Thank you
I finally find a solution by zipping the folder using the following command:
zip -r example.zip original_folder
And it worked.
On you notebook try this
!zip -r example.zip original_folder
by adding ! you tell the notebook that you wanna execute external commands
You can also open a bash terminal, pack all desired files into an archive
tar -czf ARCHIVE_NAME.tar.gz FOLDER1 FOLDER2
and then download them. It might be necessary to move the archive into your virtual home folder in order to see it in the file browser on the left side though.
I have installed a software that unpacks .zip and .tar files. However
I was wondering how do you unpack this kind of files myxxx.tar.z?
I have Tugzip installed but cannot open such .tar.z file format.
Also how do you zip such files?
The most famous app to do this kinda stuff is the Winrar. Did you tried with it? You can try the 7zip too.
If your working on linux, you can do,
To decompress:
tar -zxvf myxxx.tar.z
To compress:
tar -czvf your-file.tar.z your-files
app file that I have zipped up and pushed to a github project of mine.
Now i want to write a bash script to download this zipped file, however I can't seem wget to work.
I am doing wget
https://github.com/MyProject/myRepo/blob/master/appBuild/myApp.zip?raw=true -O /Users/myName/Desktop/myApp.zip
but I get some corrupted file
On my github repo, I have been using wget to download the main archive.
Try this for you:
wget https://github.com/MyProject/myRepo/blob/master/appBuild/myApp.zip -O /Users/myName/Desktop/myApp.zip
I simply removed the "?raw=true" from the link. I haven't used that flag before.
If you can provide me the actual link, I'd be happy to test it for you.
I want to download some .dat files using wget. The files are downloaded properly, however, it comes a lot of folders and index.html as well.
My question is: Can I download only the .dat files?
I wrote the following command: wget dat -r --user=mymail#myprovider.com --password=passwd http://site-example/ftp/data/2015-01/2015-01-27/2015-01-27_1315.dat
Problem solved! I added --no parent and it downloaded only the selected folder.
I'm writing a custom Heroku buildpack (heroku-buildpack-fantom) for Fantom, and as part of the compile script I've downloaded a .zip file (from a language vendor), but how do I unzip it?
unzip is not a recognised command.
gunzip exists but I can't use it to unzip .zip files.
What am I missing?
Even though (by default) Linux does not come pre-installed with unzip, the Heroku dyno does have a jar command. So the following works okay:
> jar xf wotever.zip
Be sure to run the 'file' command on it. I got a .zip file from SourceForge that was actually bzip2 encoded and Heroku has both the bunzip2 decoder and the -j (--bzip2) option on tar to handle it.