Hi I am new to programming and was wondering if there was a website
that has a list of commands and what they do. I want to write a
program that will download certain types of files off the web (from a
certain website) but I am not sure how to do this. 5 5006
Mike wrote: Hi I am new to programming and was wondering if there was a website that has a list of commands and what they do. I want to write a program that will download certain types of files off the web (from a certain website) but I am not sure how to do this.
The C++ language has no commands. And it is not particularly suitable for
the thing you want to do. There is a tool called wget and several others,
which do just what you want. I am afraid you would need to learn just too
much from C++ to do what you want to do. But other, easier to learn,
languages like Python, Perl etc. might give you just want you want, out of
the box.
--
WW aka Attila
"WW" <wo***@freemail.hu> wrote in message
news:bl**********@phys-news1.kolumbus.fi... Mike wrote: Hi I am new to programming and was wondering if there was a website that has a list of commands and what they do. I want to write a program that will download certain types of files off the web (from a certain website) but I am not sure how to do this.
The C++ language has no commands. And it is not particularly suitable for the thing you want to do. There is a tool called wget and several others, which do just what you want. I am afraid you would need to learn just too much from C++ to do what you want to do. But other, easier to learn, languages like Python, Perl etc. might give you just want you want, out of the box.
As far as Python is concerned; it has everything that Mike needs out of the
box.
--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Peter van Merkerk wrote: "WW" <wo***@freemail.hu> wrote in message news:bl**********@phys-news1.kolumbus.fi... Mike wrote: Hi I am new to programming and was wondering if there was a website that has a list of commands and what they do. I want to write a program that will download certain types of files off the web (from a certain website) but I am not sure how to do this.
The C++ language has no commands. And it is not particularly suitable for the thing you want to do. There is a tool called wget and several others, which do just what you want. I am afraid you would need to learn just too much from C++ to do what you want to do. But other, easier to learn, languages like Python, Perl etc. might give you just want you want, out of the box.
As far as Python is concerned; it has everything that Mike needs out of the box.
Cool. Thanx for that. I did not have the time yet to "master" Python.
Mike! You can find Python at http://www.python.org
--
WW aka Attila
Mike wrote: Hi I am new to programming and was wondering if there was a website that has a list of commands and what they do. I want to write a program that will download certain types of files off the web (from a certain website) but I am not sure how to do this.
As someone else has stated, the program to do this already exist.
However if you wanted to reinvent the wheel, per say, you will need to
learn the standard C++ API (not commands) as well as the networking API
of the system you are targeting. This could be winsock for windows or
sockets for Unix.
This will get you started: http://www.litho.ucalgary.ca/opt/SPRO/stdlib/
But I suggest you find a C++ tutorial as well.
NR
"Noah Roberts" <nr******@dontemailme.com> wrote in message
news:bl**********@quark.scn.rain.com... As someone else has stated, the program to do this already exist. However if you wanted to reinvent the wheel, per say
per se? I think you meant "so to speak" :-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mark Wilson CPU |
last post by:
A colleague has written a prototype program in PHP, using a MySQL
database.
It's a relatively simple app, with a restricted set of mysql commands
used (see below). The MySQL DB is being replaced...
|
by: Moosebumps |
last post by:
So, after reading some messages about os.system, and looking at the popen
stuff and trying it a bit, I still have not found a way to keep a command
window open for several commands (on Windows...
|
by: Avi Kak |
last post by:
Is there a Python function in any of the
standard-distribution modules that does
what the backticks do in Perl?
I want to run an external command and I'd
like its output to be captured directly...
|
by: timdoyle05 |
last post by:
Hi,
I have a question relating to how Unix commands can be issued from
Python programs. Im am currently writing a large test script in python
and I need this script to call three other separate...
|
by: Raquel |
last post by:
Why can we not give db2 System commands (commands starting with 'db2'
like db2ilist, db2look, db2move etc.) through the Command Center? It
is so convenient to retrieve and change commands in the...
| |
by: Joanna Carter [TeamB] |
last post by:
Hi Folks
I am just trying to get my head around whether I can use a single
SQLConnection for the life of the application or whether I should create it
only when needed.
I want to create...
|
by: =?Utf-8?B?VmVybm9uIFBlcHBlcnM=?= |
last post by:
I am using VS2005. I created a Windows Appication project. Inside the
Server Explorer, I created a new SQLExpress database, and then created a new
table. I added the rows, making my first row an...
|
by: Peted |
last post by:
Hi
wondering what is the best way to do this
Need a user to click a button, that sends 3 or 4 string based commands
via a TCP/ip socket link
I can connect to the ip device no problems, am...
|
by: tmp123 |
last post by:
Hello,
Thanks for your time.
We have very big files with python commands (more or less, 500000
commands each file).
It is possible to execute them command by command, like if the
commands...
|
by: Riccardo Maria Bianchi |
last post by:
Hello! :)
I'm trying to run shell commands both with os.system() and
subprocess.Popen() class.
But I can't run aliases or function defined in my .bashrc file, like in
the login interactive...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |