Author Topic: sftp problem with Mandrake  (Read 8873 times)

radioz

  • Full Member
  • ***
  • Posts: 102
    • View Profile
sftp problem with Mandrake
« on: October 31, 2004, 12:10:19 am »
I can connect my Z (5600) via usb to my Mandrake 10 machine just fine using sftp from the command line. I can transfer files in either direction without errors. However, when I try to transfer files using Konqueror on my PC, the file transfer fails part way through and leaves a *.part file on the Z (assuming transfer from pc->Z). It fails every time.

For those unfamiliar with this, you set this up by putting 'sftp:root@zaurus' in the url window. Konq then displays files on the z like any other ftp access. It displays the files just fine; I can traverse directories, etc, but when I try to download a file to the Z it gets part way through and dies.

Any ideas?

Thanks
5600 PXA-255
Hentges OZ 3.5.4.2
PQI 1G SD
PQI 256M SD
Socket LP 10/100 Ethernet
Ambicom WL1100C Wifi

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
sftp problem with Mandrake
« Reply #1 on: October 31, 2004, 01:20:37 am »
Have you tried using the fish:// protocol in Konqueror instead?
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

radioz

  • Full Member
  • ***
  • Posts: 102
    • View Profile
sftp problem with Mandrake
« Reply #2 on: October 31, 2004, 01:51:15 am »
Um, no I'm not familiar with that one.

I tried: 'fish://root@zaurus' and got "An error occurred while loading fish://root@zaurus: The protocol perl: not found is not supported."

So I assume it must be a Perl package? I don't have Perl installed on my z (I've been playing around with Python and gcc instead)

It's a puzzle that KDE happily connects via sftp: but can't handle the downloads. Has anyone else tried sftp via Konqueror?

Thanks,
radioz
5600 PXA-255
Hentges OZ 3.5.4.2
PQI 1G SD
PQI 256M SD
Socket LP 10/100 Ethernet
Ambicom WL1100C Wifi

PsionX

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
sftp problem with Mandrake
« Reply #3 on: October 31, 2004, 03:16:26 am »
Hi, I have the same problem under windows.. I don't know why.. so i rename *.part file in *.ipk and it works  
\"Beaune Avaux\" wine addict

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
sftp problem with Mandrake
« Reply #4 on: October 31, 2004, 06:44:25 am »
Quote
So I assume it must be a Perl package? I don't have Perl installed on my z (I've been playing around with Python and gcc instead)

Yep, you need Perl installed on your Z for this to work (according to what I've read about fish:// - http://osdir.com/Article2159.phtml)

I'd be interested to hear if anyone's got it to work though.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

radioz

  • Full Member
  • ***
  • Posts: 102
    • View Profile
sftp problem with Mandrake
« Reply #5 on: October 31, 2004, 09:33:22 am »
Quote
Hi, I have the same problem under windows.. I don't know why.. so i rename *.part file in *.ipk and it works  
Quote

I didn't check to see if the entire file got transferred. So renaming the file is all that is required?
It sounds like sftp is buggy in KDE/Mandrake.

Thanks for the tip.

radioz
5600 PXA-255
Hentges OZ 3.5.4.2
PQI 1G SD
PQI 256M SD
Socket LP 10/100 Ethernet
Ambicom WL1100C Wifi

Kodo

  • Newbie
  • *
  • Posts: 11
    • View Profile
sftp problem with Mandrake
« Reply #6 on: March 28, 2005, 10:04:36 am »
Quote from: radioz,Oct 31 2004, 06:33 AM
Quote from: PsionX,Oct 31 2004, 08:16 AM
Hi, I have the same problem under windows.. I don't know why.. so i rename *.part file in *.ipk and it works  
Quote

I didn't check to see if the entire file got transferred. So renaming the file is all that is required?
It sounds like sftp is buggy in KDE/Mandrake.

Thanks for the tip.

radioz
[div align=\"right\"][a href=\"index.php?act=findpost&pid=49618\"][{POST_SNAPBACK}][/a][/div]

I've made the same expierence with fish,  but with KBearSiteManager I'm able to build up a sftp-connection and actually use it (KDE 3.1.4, KBear 2.1). I've tested it with copying (drag & drop!   ) an ogg-file (3.2 MB) from my PC-partition to the zaurus, deleting it on the PC and copying it backwards from the Zaurus, and finally deleting it on the Zaurus, all with KBearSite, so it seems ok and one can look forward to copy larger data chunks as well, like whole directory trees, etc. But beware of symlinks, I found that scp has problems with Symlinks, maybe sftp faces similar problems. Also, I can not say right now if KBearSite leaves some management data of its own on the Zaurus, I hope not but who knows.. in the long run it could result in memory loss if such thing would happen. But that risk I'm willing to take if I'm spared of typing the same commands again and again therefore.

joebaker@dcresearch.com

  • Newbie
  • *
  • Posts: 1
    • View Profile
sftp problem with Mandrake
« Reply #7 on: March 25, 2006, 01:47:47 pm »
You might try executing the sync command after the transfer is complete on the target machine.  Maybe the file rename command was issued, but for some reason the final commit is still buffered.  Also, your file viewer may not have updated since the rename occured.  So try refreshing your view of the folders in the file.

Good Luck!

-Joe Baker

melee

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
sftp problem with Mandrake
« Reply #8 on: March 26, 2006, 09:44:57 am »
Hi

I guess you are using USB

that is the problem, not Mandrake, perl or Konqueror.

See  https://www.oesf.org/forums/index.php?showtopic=12086

Change to WiFi and all the problems you describe and many more, just disappear!

regards

Melee
C860 - with Sharp ROM
1GB SD and 2 GB & 256MB CF
WiFi, Bluetooth and Sharp CF camera cards
Ubuntu 6.06
(WinXP if I really have to)