From kde-core-devel Mon Apr 30 10:12:31 2001 From: David Sweet Date: Mon, 30 Apr 2001 10:12:31 +0000 To: kde-core-devel Subject: Re: KIO::SlaveBase::put() wierdness X-MARC-Message: https://marc.info/?l=kde-core-devel&m=98862858326866 On Sunday 29 April 2001 03:45 pm, aleXXX wrote: > On Sunday 29 April 2001 15:59, David Sweet wrote: > > I'm working on a kioslave and I'm getting strange URL passed to put(). > > When I try to copy a file to the URL > > scp://localhost/home/dsweet/tmp/bookcover-test.jpg (A) > > my put(KURL &url, ...) method gets this URL as 'url': > > scp://localhost/home/dsweet/tmp/home/dsweet/bookcover-test.jpg%20test.jp > >g (B) > > [...] > > Maybe I can help you better if you attach your put() code, there's probably > somethign wrong ... My put() code starts out like this: void KIOSCP::put( const KURL& url, int permissions, bool overwrite, bool resume ) { kdDebug(true, 7117) << "KIOSCP::put() url=[" << url.url() << "]" << endl; . . . This kdDebug() statement prints out the bad URL. I'm trying to copy a local file, file:/home/dsweet/bookcover-test.jpg, to a remote (via ssh) one by dragging from one konqueror window to another. Dave -- Read and annotate _KDE_2.0_Development_ at Andamooka: http://kde20development.andamooka.org/