Tarek Saied
Tarek Saied

Reputation: 6616

how i can create file "remotely" by vim

i am new vim user

i cannot create file in my host by vim

i use :ftp://user@machine/path

i can connect in my host but i cannot create new file ???

another Q when i open file how i can back in directory

note. i connect by c panel user and password ,, how i can connect by ftp username and password

thank you and Sorry for my bad English

Upvotes: 1

Views: 683

Answers (1)

Goran Jovic
Goran Jovic

Reputation: 9508

You can access your remote file in Vim by typing:

vim ftp://user@machine/path/filename

in your command line.

Some things you might want to consider:

  • If you are using a Unix-like OS on your client machine, you'll probably find it easiest to simply mount your FTP site to a local directory, and then create and edit your files with whatever you like, for example Vim.

  • As one user suggested, if the host is Unix-like you can connect it via SSH and then edit files with Vim installed over there.

Upvotes: 2

Related Questions