Wednesday, August 25, 2010

Re: Netrw and new file through ftp connection

epanda,

I have a suggestion, but i don't know if it works with Windows builtin ftp.

I use a mapping to upload the current file to my ftp server with curl:

   map <F10> :w<CR>:!curl -T "%" ftp://[user]:[pass]@ftp.host.com./public_html/path/<CR>

Curl uploads a file at a time. 

Is this kinda what you need?

Best regards,

------------------------------------------------------------
Daniel CorrĂȘa
+55 (45) 9938.3993
⌘⇧⌃⏏ ⇒ bye bye
"A fallacy deals with logic, therefore, is always logic."

On Aug 25, 2010, at 4:09 PM, epanda wrote:

Through ftp command from windows.

But I have post a recent thread to make autologin possible from netrw
too.

Charles told me to see how is it working under Windows and it works
like that :

ftp -s:c:/ftpconnect.ftp hostname


ftpconnect.ftp contains :
mylogin
mypassword

Can we set some variable into netrw to enable transparent login to
ftp ?

Thank you

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