LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2022, 04:08 AM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Rep: Reputation: 15
How to do Partial Download of Telegram Video


How to do Partial Download of Telegram Video File, as cancel it will completely abort as if no download action at all?
 
Old 06-26-2022, 12:35 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Not enough info. In fact no info. So:

You can get a partial download, stop, then resume the download where you left off, if the server supports it. Use the same outfile name as first time

Code:
agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0"

#First time
curl -A "$agent" <url> -o OutFile.mp4

#Cut off here

#Resume where you left off
curl -A "$agent" -C - <url> -o OutFile.mp4
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Telegram Messenger On Linux Telegram Linux LXer Syndicated Linux News 1 01-28-2024 02:48 AM
Telegram Desktop = Telegram FOSS? (Pinephone Pro/ custom ROM relevant.) Eucalyp333 Linux - Software 9 02-04-2022 08:09 PM
can't download files fully with Telegram gerlinux Debian 1 03-17-2020 03:22 PM
Partial NTSC fix for Video Capture based on SAA7130/34 Electro Linux - General 3 09-18-2005 01:57 AM
Partial file download verification Jack Taylor Linux - Networking 1 02-15-2005 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration