Wednesday, August 25, 2010

Re: Netrw and new file through ftp connection

epanda wrote:
>> let g:netrw_ftp_cmd= "ftp -s:c:/ftpconnect.ftp"
>>
>> in your <.vimrc>. You may need full paths to ftp and ftpconnectt.ftp in
>> the string, too.
>>
>> Now, to create a new, empty file using netrw and ftp: see :help netrw-%
>>
>> Regards,
>> Chip Campbell
>>
>
> I have added this line :
> let g:netrw_ftp_cmd= "c:/Windows/System32/ftp -s:" . $home .
> "ftpconnect.ftp"
>
> so I can access my ftp directories like that :
> e ftp://myftplogin@ftphost.fr/
>
> because it still not working
> ?
>
>
What does

:echo g:netrw_ftp_cmd

show -- I'm used to using $HOME rather than $home, but perhaps that
doesn't make any difference under Windows. Does $home have a trailing
slash, or is it a backslash? You may have to change the backslash(es)
to slashes.

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: