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

List:       kde-core-devel
Subject:    Re: KIO::SlaveBase::put() wierdness
From:       David Sweet <dsweet () kde ! org>
Date:       2001-04-30 10:12:31
[Download RAW message or body]

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/

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

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