[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Problem with remote file access...
From: ian geiser <geiseri1234 () yahoo ! com>
Date: 1999-08-21 21:34:31
[Download RAW message or body]
Greetings,
I am writing an app that needs access to some text data
that is kept on an FTP server.
I am trying to figure out why this following code returns NULL every
time:
cout << "Loading File " << endl;
QString rawData = "";
QString url =
"ftp://weather.noaa.gov/data/observations/metar/stations/";
url += stationId;
url += ".TXT";
ftpData = new KRemoteFile(url);
kfmConn->copy(ftpData->url(), ftpData->tempName());
cout << "URL: " << ftpData->url() << endl;
cout << "Local File: " << ftpData->tempName() << endl;
This code snippit will always return both a NULL for the URL and the
local file...
Is there a better way to do this?
thanks in advance.
-ian reinhart geiser
===
Ian Reinhart Geiser
http://www.msoe.edu/~geiseri
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic