Wednesday, February 20, 2013

Trouble with ftp directory browsing in Linux using netrw

I asked this on ubuntuforums to no avail. I hope someone here could
point me in the right direction.

If no solution exists, I'm willing to work on one.

My problem is as follows:

Environment:
- Lubuntu 12.10 (64), also Lubuntu 12.04 (64), Ubuntu 12.04 (64),
Linux Mint 13 (64).
- LXterminal, UXTerm and gnome-terminal
- GVim/Vim 7.3.547, 7.3.429
- both passive and active ftp
- a local ftp server using filezilla and http://secureftp-test.com/ to
test it.

When I try to access a remote ftp directory, I can only open the
directory that I typed in a path to. As soon as I navigate through the
listed directories and hit enter on any, the screen splits into two
horizontal panes and the top pane reads "File not found".

I tried this from Windows 7 Gvim/Vim (don't have the version handy but
it was 7.3+) and it worked as expected.

From what I gather it just doesn't seem to look for the right
directory after I hit enter in the list I think. Maybe it skips an
extra forward slash somewhere or something?

I can't seem to figure out what the issue is. I am going to try
running the same thing off of an Ubuntu and Mint Live CD and see if it
persists.

If so, sadly I'm going to have to either replace Lubuntu or look at
remote editing alternatives to ftp.

I tried installing different versions of netrw, fresh vim installs,
many live CD variants of debian based distros but with the absolute
same result.


The only reason I presume I'm not chasing smoke is because this thing
works under windows 7 like a charm. And I doubt it's a 'windows
handles this in a non conventional way' sort of a thing as its
supposed to be the expected behavior.


As an aside, the reason why I'm so hellbent on finding a solution is
because at work, we use a Linux host and ftp into Windows Virtual
Machines and edit files residing on the vm.

Everyone uses jEdit, whose ftp plugin, I might add, is epic. I'm a
huge fan of jEdit, but I've just been getting addicted to vim more and
more over time and now I can't do without it.

Help please!

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: