Suppose that we have a full URL of desired file e.g.
http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz
I would like to go without installing a new software. Is it possible?
Command
cp 'http://example.com/directory/4?action=AttachFile&do=get&target=file.tgz' hooray
doesn't work ;)
wget
is your friend here :) – cauon Oct 27 '12 at 17:47wget
is perhaps the simplest way but you can also usecurl
. Read this – dearN Oct 27 '12 at 17:50wget -O hooray "http://domain.com/directory/4?action=AttachFile&do=get&target=file.tgz"
. You can add-c
option to resume download if connection was lost while downloading file. – Sergey Oct 27 '12 at 18:04