Thursday, August 26, 2010

Re: Netrw and new file through ftp connection

epanda wrote:
>> 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.
>>
>
>
> c:/Windows/System32/ftp -s:C:\Users\Admin/ftpconnect.ftp myhostname.fr
>
> This command works well under Xp console so it's not depending on
> slash or backslash.
>
> But if I do :
> let g:netrw_ftp_cmd c:/Windows/System32/ftp -s:C:\Users\Admin/
> ftpconnect.ftp myhostname.fr
>
>
> Then e ftp://mylogin@myhostname.fr/ ask me again my password
>
>
Try some experiments:

let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp
-s:C:\Users\Admin\ftpconnect.ftp'
call system(g:netrw_ftp_cmd." myhostname.fr")

Netrw doesn't do it quite like the above; instead, it constructs a
command using a filter.

If this still doesn't work, then please do a debugging trace.
Directions for this are at

:help netrw-debug

Please send me a copy (but elide any passwords if you happen to have any
show up).

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: