[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problem with remote file access...
From:       Stephan Kulow <coolo () caldera ! de>
Date:       1999-08-22 12:36:12
[Download RAW message or body]

Richard Moore wrote:
> 
> ian geiser wrote:
> >
> > 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);
> 
> I think this is my fault. I don't think the KRemotefile class has
> been implemented :-( (sorry, sorry). You should use KFM::download
> instead or use the KDir or KFile classes directly.
> 
I don't think there are methods for downloading files within KDir and/or
KFile (which doesn't exist afaik) ;(

Greetings, Stephan

-- 
Better give your hours some more life than
your life some more hours. - anonymous

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic