Caja SFTP file transfers timing out - Filezilla works fine?

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dusf

Caja SFTP file transfers timing out - Filezilla works fine?

Post by dusf »

Hi

I was pleased to discover I can use Caja as an SFTP client allowed me to access, copy and paste, and stream files on my remote server just like they were local.

Unfortunately every time I try to transfer a file using Caja it seems to work for a few seconds, albeit very slowly, and then there is a popup telling me 'There was an error copying into /home/dusf/downloads' 'Show more details: Timeout was reached'.

I have consulted my server provider and they initially thought the problem was to do with routing somewhere between where I am in Europe and the US, but I have discovered if I use Filezilla there are no timeouts and the transfer speed maxes out my connection. Filezilla is a great little program, but I would really like to make use of the Caja file explorer/desktop integration with my server.

Is there anyway I can resolve this? If I am in the wrong place for Caja support please advise me as I could not find somewhere specific to that.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: Caja SFTP file transfers timing out - Filezilla works fi

Post by DrHu »

There is an ftp timeout value, if it exists in caja, it could be resettable to increase from the default value (usually about 120secs: 2mins)
http://forum.hostek.com/showthread.php? ... -Filezilla
  • If Filezilla times out its connection when you are transferring files, try disabling the Timeout setting
--filezilla version of timeout setting.

Not sure, it could be general Gnome 2x type issues, but only related to Mint's file manager
http://www.linux-magazine.com/Issues/2009/98/Gnome-2.24
  • Caja is a rewite of nautilus, so ftp timeouts could be that file manager ftp timeout problem: a general issue
    --although someone who knows caja (devloipers) may have a better answer!

    https://bugs.launchpad.net/ubuntu/+sour ... bug/410288

    --and it could, apart from file copying action be a bad ftp (caja?) type client file manager..
http://forums.linuxmint.com/viewtopic.php?f=47&t=105714
http://forums.linuxmint.com/viewtopic.php?f=47&t=111919
--if it is a server share/smaba ?
  • And possibly file size as an issue, filesize limits..
http://www.zdnet.com/linux-mint-develop ... 000002232/
--you may want some other choices, even when using Mint: nemo for example

Since it is slow, perhaps it isn't as useful as you need
--if you get the copying error fixed (timeout, system interaction..)
  • If it was me, I would prefer to use the tool that works well for ftp (or sftp)
    --probably because I don't need to see the target while using the file manager (or ftp file manager), simply need to know it worked: wrote the target
Might also be worth checking out any tips ( I forget which version has caja as file manager..)
https://www.techsupportalert.com/conten ... dition.htm
https://www.techsupportalert.com/conten ... dition.htm

Perhaps there is an updated version or some bug info available for Caja.
http://packages.linuxmint.com/list.php?release=Maya
uffe

Re: Caja SFTP file transfers timing out - Filezilla works fi

Post by uffe »

I believe that caja (or underlying code) is doing scp instead of sftp transfers
I have a sftp server that i can log in to and fetch files.
Using Ubuntu (12.04, 32bit) and nautilus I login using ctrl-L + ssh://<path to server>, then fill login username/password
I can then browse the files on the server using nautilus, and drag n drop a file to my local computer (as another nautilus window)
This works perfect.

Now I have installed Mint (MATE, 64-bit), and uses caja for file browsing.
I can open a view on the same server using caja (login using ctrl-L + ssh://<path to server>, then fill login username/password)
Works OK to browse the server.
But when trying to copy a the same file as with ubuntu/nautilus I get a transfer error (clicking details shows "unknown error")

From a terminal window (still in Mint) i can run sftp to my server (sftp username@<path to server> + password)
I can use dir and cd to find my interesting file.
If I do "get <the file>", The remote file is copied to my computer as expected
then quit

However, from the same terminal, if I try to scp the file from server to my local computer,
Typically;
scp username@<path to server>:/path to file> .
I then get a I get a "exec request failed on channel 0"

Maybe I do not have my path correct for scp, but anyhow,
sftp transfer works in ubuntu/nautilus AND using Mint/sftp cmdline tool, but NOT using Mint/caja
Locked

Return to “Networking”