Sponsored Content
Top Forums Shell Programming and Scripting Curl to download file from subdivx.com after following location without knowing the file name/extens Post 303002137 by MoonD on Friday 18th of August 2017 07:45:18 AM
Old 08-18-2017
Apple Curl to download file from subdivx.com after following location without knowing the file name/extens

This question could be specific to the site subdivx.com In the past, I've been able to download a file following location using cURL but there is something about subdivx.com that's different and can't figure out how to get it to work.

I tried the following directly in the terminal with no success:

Code:
curl -O -J -L http://www.subdivx.com/bajar.php?id=240853&u=7

it returns:

Code:
curl: (6) Could not resolve host: 240853.rar

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

knowing progress while reading a file

Hi, I am parsing a very big file say 10 MB. It 'll take more than an hour ..I want to know the progress say in % .Is there any way to do that??? or (Is there any way to know which line of the file I am in ) (2 Replies)
Discussion started by: sakthi.abdullah
2 Replies

2. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies

3. Shell Programming and Scripting

How to download file without curl and wget

Hi I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget. Can anyone will help me go about this task ??? Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies

4. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

5. UNIX for Advanced & Expert Users

Want to download a latest file with current date from FTP location

Dear Friends, I need help to write a shell / perl script to download the files from FTP location, having different file names (date inside the file name). Example: Mar 5 09:24 cfx_03052013_return_file.txt Mar 6 02:13 cfx_03062013_return_file.txt Mar 7 06:40... (3 Replies)
Discussion started by: Praveen Pandit
3 Replies

6. Shell Programming and Scripting

Curl download zip extract large xml file

Hi i have a php script that works 100% however i don't want this to run on php because of server limits etc. Ideally if i could convert this simple php script to a shell script i can set it up to run on a cron. My mac server has curl on it. So i am assuming i should be using this to download the... (3 Replies)
Discussion started by: timgolding
3 Replies

7. UNIX Desktop Questions & Answers

Knowing the size and location of variables in a C program

So I need some help with this. Pardon me if I'm posting in the wrong forum, after some googling for my answer and finding nothing I found this forum. It seemed appropriate for what I was seeking. I just didnt find a forum that concerned the use of GDB. I'm learning to use the C language and GDB.... (2 Replies)
Discussion started by: Cambria
2 Replies

8. Shell Programming and Scripting

Curl command to download multiple files with a file prefix

I am using the below curl command to download a single file from client server and it is working as expected curl --ftp-ssl -k -u ${USER}:${PASSWD} ftp://${HOST}:${PORT}/path/to/${FILE} --output ${DEST}/${FILE} let say the client has 3 files hellofile.101, hellofile.102, hellofile.103 and I... (3 Replies)
Discussion started by: r@v!7*7@
3 Replies

9. Shell Programming and Scripting

Curl parallel download file list

Hello guys, first post sorry if I did some mess here =) Using Ubuntu 14.04lts 64bits server version. I have a list (url.list) with only URLs to download, one per line, that looks like this: http://domain.com/teste.php?a=2&b=3&name=1 http://domain.com/teste.php?a=2&b=3&name=2 ...... (6 Replies)
Discussion started by: tonispa
6 Replies

10. Shell Programming and Scripting

Curl , download file with user:pass in bash script

Hello, My question is about curl command. (ubuntu14.04) In terminal, I am able to download my mainfile with: curl -u user1:pass1 http://11.22.33.44/******* When I convert it into bash script like this: #!/bin/bash cd /root/scripts computer_ip=11.22.33.44 curl -u $1:$2... (8 Replies)
Discussion started by: baris35
8 Replies
DIFFINDEX-DOWNLOAD(1)													     DIFFINDEX-DOWNLOAD(1)

NAME
diffindex-download - Download utility for Debian Contents files SYNOPSIS
diffindex-download [ options ] URL filename DESCRIPTION
diffindex-download is a command line tool for downloading Contents files. It uses APT's diff/Index format patches when available to avoid downloading the full file. diffindex-download is used by apt-file. OPTIONS
-n number If more than number patches would be necessary, download the whole file. Specifying 0 to always download the whole file is possible. -k Don't verify the peer certificate when using https. -c cacert If cacert is a directory: Use cacert as CA certificate path. Otherwise use cacert as CA certificate bundle. See the --capath and --cacert options in the curl(1) man page. -i Don't exit with errror if the URL does not exist. This is useful as some archives don't provide Contents files. -q Be quiet (opposite of -v). The default if stdout is not a terminal. -v Be verbose (opposite of -q). The default if stdout is a terminal. -d Print additional debug info. -h Display a short help screen. SEE ALSO
apt-file(1), diffindex-rred(1), curl(1) AUTHOR
diffindex-download was written by Stefan Fritsch <sf@debian.org>. January 2009 DIFFINDEX-DOWNLOAD(1)
All times are GMT -4. The time now is 11:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy