From kde-devel Wed Aug 08 16:56:59 2001 From: aleXXX Date: Wed, 08 Aug 2001 16:56:59 +0000 To: kde-devel Subject: Re: KDE I/O Slave -- Redirect Failure X-MARC-Message: https://marc.info/?l=kde-devel&m=99730208418990 On Wednesday 08 August 2001 00:21, Ben Schepens wrote: > ----- Original Message ----- > From: "aleXXX" > To: > Sent: Tuesday, August 07, 2001 3:09 PM > Subject: Re: KDE I/O Slave -- Redirect Failure > > > .... > > KURL newUrl("smb://host/path/"); > > redirection(newUrl); > > finished(); > > return; > > .... > > > > should work. If you know you are redirecting to a dir, append a "/", if > > you > > > know it's a file, don't. > > The problem with the trailing slashes is currently handled by every > > single ioslave manually. Maybe we should do something for KDE 3. > > > > Bye > > Alex > > That is exactly the problem!.... I too would expect > > KURL newUrl("ftp://ftp.gatech.edu/"); > redirection(newUrl); > finished(); > return; > > to work. But it doesn't. > > Konqueror reports: > "Could not read /" > > Anyone got a clue what is wrong???? > > Ben Schepens Have a look at kdenetwork/lanbrowsing/kio_lan/kio_lan.cpp, there I use it all the time and it works. Bye Alex >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<