[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problem with remote file access...
From: ian geiser <geiseri1234 () yahoo ! com>
Date: 1999-08-21 21:55:41
[Download RAW message or body]
--- Simon Hausmann <tronical@gmx.net> wrote:
>
> If you're using kde 1.1. you should have a look at
> libkfm (in kdelibs) and
> use the KFM class.
>
i am using 1.1.1 and the KFM class...
i am using both libkfm and libkfile.
> For HEAD branch you should use libkio's KIOJob class
> (kio_job.h) .
>
i am assuming this is 2.0 only?
--SNIP--
am i understanding this correctly:
> > cout << "Loading File " << endl;
> > QString rawData = "";
> > QString url =
> >
> "ftp://weather.noaa.gov/data/observations/metar/stations/";
> > url += stationId;
> > url += ".TXT";
> > ftpData = new KRemoteFile(url);
creates a new KRemote file object
> > kfmConn->copy(ftpData->url(),
copies the remote url to the local filesystem
using the name supplied by KRemote file...
> ftpData->tempName());
> > cout << "URL: " << ftpData->url() << endl;
this will output the remote URL
but currently only outputs a NULL
> > cout << "Local File: " << ftpData->tempName()
this should output the name of the local
file but currently only outputs a NULL.
am i totally off base or am i just not
reading the correct DOCs?
thanks
-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