Solved

download generated files from bash

Posted on 2007-11-13
2
1,945 Views
Last Modified: 2013-12-07
I am trying to download a text file generated via an asp script that takes multiple parameters in the url.  I want to setup a cronjob that will download the resulting file every hour.  I tried using wget to grab the file but that does not seem to work.  I'm guessing I need to using something like lynx to tell it to grab the resulting file.  If that is not an option I also have access to php via the command line.  Any suggestions?
0
Comment
Question by:wardjame
2 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 125 total points
ID: 20277531
Please define "does not seem to work".

wget or curl are quite capable of doing what you need.
0
 
LVL 3

Assisted Solution

by:amirs80
amirs80 earned 125 total points
ID: 20278970
instead of using cron try to download by yourself first if it works then use wget on the other hand quote the problem
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question