>> let g:netrw_ftp_cmd= "ftp -s:".$home.".netrc"
>>
>> When you use it, try
>>
>> :eftp://ftpperso.free.fr/whatever/path
>>
>> Regards,
>> Chip Campbell
>>
>
> Ok it works but there is a confusion due to the help that is not
> updated yet.
>
> if the user is under windows, the netrc's content should be like that:
>
> .netrc:
> loginftp
> passftp
>
> That is not the same case under unix:
> machine machinename login loginname password "thepassword"
>
> Thank you for all Charles, I will now be able to edit some php scripts
> with your powerful script.
>
Hello, Epanda:
I generally make changes to netrw.vim before I get around to changing
the document. In this case I've just made v141b, and I've changed it a
bit more. If, instead of <.netrc> one uses <MACHINE> in the
g:netrw_ftp_cmd, then netrw will use the current hostname/machinename
and swap it in the stead of MACHINE, tacking on ".ftp", so it'll be as
if one had ftp -s:c:\users\userid\hostname.ftp . This method means
that one can have multiple .ftp files with logins and passwords and
netrw will use them as needed.
Regards,
Chip Campbell
--
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
No comments:
Post a Comment