Aria2c will not exit after sucessful download


 
Thread Tools Search this Thread
Top Forums Programming Aria2c will not exit after sucessful download
# 1  
Old 10-14-2016
Aria2c will not exit after sucessful download

I am using the below aria2c command to call an API that downloads a file to a directory. Though the process completes and I get "download complete"... aria2c does not exit to the command line, I have to hit enter to get the command line. I am not sure what is wrong. Am I missing something in the manual? Thank you Smilie.

Code:
aria2c -x 4 -c -d  /home/cmccabe/s5_files/plan --seed-time=0 --use-head=true --http-user  "<user>" --http-passwd <password>  http://xxx.xx.xxx.xxx/yy/yyy/yyyyy/?format=json

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Aria2c to download and extract. tar.bz2

I am using aria2c to download a .tar.bz2 and trying to extract it in the same command. I can download the file but not extract it. I can also manually extract the tar.bz2., but not in the same command. Thank you :). aria2c -x8 -l log.txt -c -d /xx/xx/xxx --use-head=true --http-user "<user>" ... (8 Replies)
Discussion started by: cmccabe
8 Replies

2. Shell Programming and Scripting

Need the difference between exit 1 & exit 7

Hi In one of the script I am seeing some thing like exit 7,exit 1,exit 2,exit 3,exit 9,exit6.What is the difference between all of this exit.Can anyone help here please (3 Replies)
Discussion started by: ginrkf
3 Replies

3. Shell Programming and Scripting

smbclient - check if 'cd' is sucessful?

Hi, I've a question regarding a smbclient-Command in my shell script. Here my relevant script part: fileattr=`/opt/samba/bin/smbclient --authentication-file=$AUTH_FILE //$SMB_HOST/$SMB_SHARE 2> /dev/null prompt off cd $SMB_DIR put $LOC_FILE $SMB_FILE dir /$SMB_DIR/$SMB_FILE ... (17 Replies)
Discussion started by: FreddyDaKing
17 Replies

4. HP-UX

How to download HP-UX OS?

How to download HP-UX OS? I want to install Hp-UX OS for practicing commands and all. Which site can I use? Kindly help!! Thank you in advance!:o (7 Replies)
Discussion started by: manalisharmabe
7 Replies

5. HP-UX

How to download HP-UX OS?

How to download HP-UX OS? I want to install Hp-UX OS for practicing commands and all. Which site can I use? Kindly help!! Thank you in advance!:o (4 Replies)
Discussion started by: manalisharmabe
4 Replies

6. HP-UX

Download HP-UX

Hi, I want to download HP-UX 11.31. From where i could get it? Thanks, Prashant. (1 Reply)
Discussion started by: prashantbhushan
1 Replies

7. UNIX for Dummies Questions & Answers

what is meaning of exit(0) and exit(1)

can u tell me what is the meaning of exit(0),exit(1),exit(2) what is diff amonng these. Amit (1 Reply)
Discussion started by: amitpansuria
1 Replies

8. Programming

exit(0) versus exit(1)

What is the difference between using exit(0) and exit(1) to exit a program? Which should I use? (9 Replies)
Discussion started by: enuenu
9 Replies

9. UNIX for Dummies Questions & Answers

download

where can i download the game (1 Reply)
Discussion started by: kabouter5454
1 Replies

10. UNIX for Dummies Questions & Answers

Where can I find a list of exit codes? (Exit code 64)

I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies
Login or Register to Ask a Question
FLUSH(1)						      General Commands Manual							  FLUSH(1)

NAME
Flush - GTK-based BitTorrent client SYNOPSIS
flush [OPTIONS] [TORRENT_FILE]... DESCRIPTION
Flush is a GTK-based BitTorrent client. You can use it to download files from the BitTorrent network. You can control already running instance, for example, by following commands: flush -o --download-rate-limit=100 flush --start=all FEATURES
* Controlling running instance by command line interface, such as: * Starting/stopping torrents. * Changing download/upload rate limit. * Changing maximum connections limit. * Running many instances with different configs from the same user. * Automatic copying finished downloads to specified directory. * Setting custom download path for each file of the torrent. * Ability to choose torrent file's character set encoding. * Automatic torrents loading from specified directory. * Automatic pausing and removing old torrents. * Temporary pausing and resuming torrents. * Overall and current session statistics. * Creating your own torrent files. * IP filter. OPTIONS
--version Show program version and exit. --help Show help options and exit. --config=DIRECTORY Configuration directory path (default: ~/.flush). --download-rate-limit=SPEED Set download rate limit (KB/s). --upload-rate-limit=SPEED Set upload rate limit (KB/s). --max-uploads=NUMBER Set maximum uploads. --max-connections=NUMBER Set maximum connections. --start={all,downloads,uploads} Start torrents. --stop={all,downloads,uploads} Stop torrents. -o, --only-pass Only pass commands to already running Flush instance. Does not start new instance if it is not running yet. FILES
~/.flush Default configuration directory. BUGS
On startup Flush finds already running instances via DBus session bus. Therefore it is necessary to run Flush in a single session bus (usual in X session bus) to prevent running several instances with one configuration path. Please notice that when you are running Flush from console or by cron, when DISPLAY environment variable is not available, Flush finds already running GUI instance without problems via ${config_path}/dbus_session link, which all GUI instances are creating when they have owned DBus name. This makes it possible to control running Flush GUI instances from cron. AUTHOR
Flush was written by Dmitry Konishchev <konishchev@gmail.com>. This manual page was written by Dmitry Konishchev <konishchev@gmail.com>. Jun 11, 2009 FLUSH(1)