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
download(1)							   User Commands						       download(1)

NAME
download - host resident PostScript font downloader SYNOPSIS
download [-f] [-p printer] [-m name] [-H directory] [file...] /usr/lib/lp/postscript/download DESCRIPTION
download prepends host resident fonts to files and writes the results on the standard output. If no files are specified, or if - is one of the input files, the standard input is read. download assumes the input files make up a single PostScript job and that requested fonts can be included at the start of each input file. Requested fonts are named in a comment (marked with %%DocumentFonts:) in the input files. Available fonts are the ones listed in the map table selected using the -m option. The map table consists of fontname-file pairs. The fontname is the full name of the PostScript font, exactly as it would appear in a %%Doc- umentFonts: comment. The file is the pathname of the host resident font. A file that begins with a / is used as is. Otherwise the pathname is relative to the host font directory. Comments are introduced by % (as in PostScript) and extend to the end of the line. The only candidates for downloading are fonts listed in the map table that point download to readable files. A font is downloaded once, at most. Requests for unlisted fonts or inaccessible files are ignored. All requests are ignored if the map table can not be read. OPTIONS
-f Force a complete scan of each input file. In the absence of an explicit comment pointing download to the end of the file, the default scan stops immediately after the PostScript header comments. -p printer Check the list of printer-resident fonts in /etc/lp/printers/printer/residentfonts before downloading. -m name Use name as the font map table. A name that begins with / is the full pathname of the map table and is used as is. Other- wise name is appended to the pathname of the host font directory. -H directory Use dir as the host font directory. The default is /usr/lib/lp/postscript. EXAMPLES
Example 1: Examples of the download command. The following map table could be used to control the downloading of the Bookman font family: % % The first string is the full PostScript font name. The second string % is the file name - relative to the host font directory unless it begins % with a /. % Bookman-Light bookman/light Bookman-LightItalic bookman/lightitalic Bookman-Demi bookman/demi Bookman-DemiItalic bookman/demiitalic Using the file myprinter/map (in the default host font directory) as the map table, you could download fonts by issuing the following command: example% download -m myprinter/map file EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpsf | +-----------------------------+-----------------------------+ SEE ALSO
dpost(1), postdaisy(1), postdmd(1), postio(1), postmd(1), postprint(1), posttek(1), attributes(5) NOTES
The download program should be part of a more general program. download does not look for %%PageFonts: comments and there is no way to force multiple downloads of a particular font. Using full pathnames in either map tables or the names of map tables is not recommended. SunOS 5.10 9 Sep 1996 download(1)