473,322 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

download function


Dear sir/madam,

I am writing a program which is some kind of moviedatabase based on a struct filled with information from a textfile.

I'm trying to build an update function which downloads a textfile from the internet. First i used a buildingblock from fastnet to connect to a ftp-server. The problem with this block is that if a download is failed the program crashes cause of the ftp-connection (logging in etc).

Cause i can't fix this bug i want to write an update function works from http instead of ftp.
The big problem is that i don't know how to do this. Finding out how the ftp block worked was quite simple but i can't figure out how i can do the same with http.

Is there anyone who can help me with this problem?
Thanks in advance.

Yours sincerely,

Jan janssen
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-

Sep 14 '07 #1
2 1475
On Sep 14, 10:26 am, "Jan Janssen" <no.s...@nomail.comwrote:
[want to write movie database on web-update]
Is there anyone who can help me with this problem?
Sure. What do you pay? Since it's outside the C++
language I'm going to have to charge you my full
rebillable rate.
Socks

Sep 14 '07 #2
"Jan Janssen" <no*****@nomail.comwrote in message
news:fc**********@uploadreader.eweka.nl...
>
Dear sir/madam,

I am writing a program which is some kind of moviedatabase based on a
struct filled with information from a textfile.

I'm trying to build an update function which downloads a textfile from the
internet. First i used a buildingblock from fastnet to connect to a
ftp-server. The problem with this block is that if a download is failed
the program crashes cause of the ftp-connection (logging in etc).

Cause i can't fix this bug i want to write an update function works from
http instead of ftp.
The big problem is that i don't know how to do this. Finding out how the
ftp block worked was quite simple but i can't figure out how i can do the
same with http.

Is there anyone who can help me with this problem?
Thanks in advance.
I use C++ Socket Class for Windows
http://www.adp-gmbh.ch/win/misc/sockets.html

which I modified for HTTP downloads. If that doesn't work for you, google
for "HTTP Socket Class" and see what you get. Good luck.
Sep 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: kingofkolt | last post by:
im trying to let a user download a file from my website, for example a picture. i dont want the user to have to right-click and do save-as, but instead i want a window to popup (the window with...
3
by: Brent Billups | last post by:
I am trying to download files from one website to another for purposes of caching. In trying to do this, I created a VB dll component (using VB6), that used URLDownloadToFile, to allow me to...
0
by: Mark | last post by:
Hi - I'm using ASP.Net 1.1 with VS.Net 2003. I have a file upload/download web app - it uploads great, but my download function doesn't work for SWF files. If I type the complete path to them...
2
by: comp.lang.php | last post by:
if ($forceDownload) { // HANDLE FORCED DOWNLOAD $dlGen =& new DownloadGenerator($fullFilePath); $negativeIndex = $dlGen->generateForceDownloadHeaders(); $willDeleteTemp =...
2
by: Jan Paul van de Berg | last post by:
I have a piece of software that people can download and a third party promoting that software. In order for them to be able to count the number of downloads, I have to put a tracking code on my...
1
by: a.r.austin | last post by:
Hello, I am trying to download a few files one after another from a remote server. Problem is that I don't know how to, or if I am able at all, set a time out for download. I don't want to time...
2
by: Dan D | last post by:
I have a large install file (an exe) on my web server that people download and install from. Looking at my log files, I see a lot of people downloading it, but no way to tell for sure if they...
16
by: matt | last post by:
I have used some free code for listing files for download, but I want to send an email to the administrator when the file has been downloaded. I have got some code in here that does it, but it will...
6
ak1dnar
by: ak1dnar | last post by:
Hi, I am creating script to download some files using download dialog box.First time i tried to use ajax for this, but i failed. So i went through this way, By Using this function i am going to...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.