Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to download compressed archive zips in bulky automatically using wget? Post 303013516 by Corona688 on Thursday 22nd of February 2018 11:00:51 AM
Old 02-22-2018
Code:
wget http://path/to/file.gz

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to download file using wget

Hi I need a Shell script that will download a text file every second from a http server using wget. Can anyone provide me any pointers or sample scripts that will help me go about this task ??? regards techie (1 Reply)
Discussion started by: techie82
1 Replies

2. UNIX for Dummies Questions & Answers

Using wget to download a file

Hello Everyone, I'm trying to use wget recursively to download a file. Only html files are being downloaded, instead of the target file. I'm trying this for the first time, here's what I've tried: wget -r -O jdk.bin... (4 Replies)
Discussion started by: thoughts
4 Replies

3. UNIX and Linux Applications

Update compressed archive (TAR)

Is it possible to update a file in a compressed archive.tgz using the tar app without uncompressing/extracting, update and compressing/creating ? tar -uvzf archive.tgz ./file.txt tar: Cannot update compressed archives Try `tar --help' for more information. (1 Reply)
Discussion started by: brendan76
1 Replies

4. Shell Programming and Scripting

download a particular file using wget

Hi All I want to download srs8.3.0.1.standard.linux24_EM64T.tar.gz file from the following website : http://downloads.biowisdomsrs.com/srs83_dist/ But this website contains lots of zipped files I want to download the above file only discarding other zipped files. When I am trying the... (1 Reply)
Discussion started by: alphasahoo
1 Replies

5. UNIX and Linux Applications

download file using wget

I need to download the following srs8.3.0.1.standard.linux26_32.tar.gz file from the following website: http://downloads.biowisdomsrs.com/srs83_dist There are many gzip files along with the above one in the above site but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only from... (1 Reply)
Discussion started by: alphasahoo
1 Replies

6. UNIX for Dummies Questions & Answers

Count number of compressed files in a tar.gz archive

Hi Folks, I have a tar.gz compressed file with me, and I want to know the number of files in the archive without uncompressing it. Please let me know how I can achieve it. Regards RK Veluvali (5 Replies)
Discussion started by: vrk1219
5 Replies

7. Shell Programming and Scripting

How to download to a file using wget in perl?

Hi, I want to download some online data using wget command and write the contents to a file. For example this is the URL i want to download and store it in a file called "results.txt". #This is the URL. $url="http://www.example.com"; #retrieve data and store in a file results.txt ... (3 Replies)
Discussion started by: vanitham
3 Replies

8. Shell Programming and Scripting

Files download using wget

Hi, I need to implement below logic to download files daily from a URL. * Need to check if it is yesterday's file (YYYY-DD-MM.dat) * If present then download from URL (sample_url/2013-01-28.dat) * Need to implement wait logic if not present * if it still not able to find the file... (1 Reply)
Discussion started by: rakesh5300
1 Replies

9. Shell Programming and Scripting

How to cancel wget download after 1%?

I am running a video download test and automating that. I wanna know how to stop a wget download session when downloads reached 1% Thanks in advance, Tamil (11 Replies)
Discussion started by: tamil.pamaran
11 Replies

10. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
SERVEFILE(1)							   User Commands						      SERVEFILE(1)

NAME
servefile - small HTTP-Server for temporary file transfer SYNOPSIS
servefile [-h] [--version] [-p PORT] [-u] [-s MAX_UPLOAD_SIZE] [-l] [--ssl] [--key KEY] [--cert CERT] [-a user:password] file/directory DISCLAIMER
Do not use this as a normal web server. This server is optimized for running a short time and to send files to other people, not for doing high-performance static file serving. DESCRIPTION
Servefile is a small HTTP-server intended for temporary file transfer mostly in the local network. It aims to make transferring single files as painless as possible and to replace tar/netcat solutions. With just a file as argument servefile serves just that one file and redirects all HTTP requests to that file. Uploads can be done with curl, wget (see EXAMPLES) or a normal browser. In upload mode with -u servefile creates a directory and saves all uploaded files into that directory. When uploading with curl or wget the filename is extracted from the path part of the url used for the upload. For SSL support python-openssl (pyssl) needs to be installed. If no key and cert is given, servefile will generate a key pair for you and display its fingerprint. In --tar mode the given file or directory will be packed on (each) request and piped to the client through the HTTP connection, thus serv- ing always the latest content of the directory and preventing temporary file creaton. Tar files will be created containing only the lowest directory name from the full path, so using /path/to/dir/ as file/directory argument will create a tar file starting with the dir/ direc- tory. When giving a file as argument, only the file without any path will be in the tarfile. Symlinks will not be dereferenced. COMMAND SUMMARY
positional arguments: file/directory file or directory (with -l or -u) which should be served or uploaded to optional arguments: -h, --help Show a help message and exit --version Show program's version number and exit -p PORT, --port PORT Port to listen on -u, --upload Enable uploads to a given directory -s MAX_UPLOAD_SIZE, --max-upload-size MAX_UPLOAD_SIZE Limit upload size in kB. Size modifiers are allowed, e.g. 2G, 12MB, 1B. -l, --list-dir Show directory indexes and allow access to all subdirectories --ssl Enable SSL. If no key/cert is specified one will be generated. --key KEY Key file to use for SSL. If no cert is given with --cert the key file will also be searched for a cert --cert CERT Certfile to use for SSL -a user:password, --auth user:password Set user and password for HTTP basic authentication --realm REALM Set a realm for HTTP basic authentication. This is an arbitrary string which is displayed when doing HTTP basic authentication -t, --tar Enable on the fly tar creation for given file or directory. Note: Download continuation will not be available. -c method, --compression method Set compression method, only in combination with --tar. Can be one of none, gzip, bzip2. -4, --ipv4-only Listen on IPv4 only -6, --ipv6-only Listen on IPv6 only EXAMPLES
Serving a single file with SSL and HTTP Basic auth: servefile --ssl --auth foo:bar the_file Enabling uploads to a directory: servefile -u dir/ Uploading file foo as bar to servefile via command line: curl -X PUT http://ip:port/bar --data-binary @foo curl -X POST http://ip:port/bar --data-binary @foo wget http://ip:port/bar --post-file=foo Serving a on the fly generated tar.gz file of a directory: servefile --tar -c gzip path/to/dir AUTHOR
servefile is developed by Sebastian Lohff <seba@someserver.de> servefile 0.4.2 April 2012 SERVEFILE(1)
All times are GMT -4. The time now is 09:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy