Wednesday, February 20, 2013

Re: Trouble with ftp directory browsing in Linux using netrw

On 20/02/13 18:03, Manas Karekar wrote:
> 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".
[...]

Try hitting Ctrl-L in the bottom pane after that message appears. Vim
should then retry the directory read and might succeed.

Also, if you have set 'autochdir', try toggling it off.

Make sure there is a slash at the end of directory names in the first
directory listing. If there isn't, that's why Vim cannot read the
subdirectories. You might then try

:e ^R%/

(where ^R means "hit Ctrl-R") after the command fails, to append a / to
the directory name.


Best regards,
Tony.
--
Dogs must have a permit signed by the mayor in order to congregate in groups
of three or more on private property.
[real standing law in Oklahoma, United States of America]

--
--
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: