You are not logged in.

#1 2011-02-10 12:14:21

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

curlftpfs + vim leaves blank files all over the place

Hi

I'm using curlftpfs to mount an FTP server locally, and using VIM to edit the files. However, whenever I save a file on the server, it generates files like:

[michael@theforce layout]$ ll
total 60
-rwxr-x--- 1 root root     0 Feb  8 11:46 4913
-rwxr-x--- 1 root root     0 Feb  8 11:53 5036
-rwxr-x--- 1 root root     0 Feb  8 12:27 5159
-rwxr-x--- 1 root root     0 Feb 10 11:13 5282
-rwxr-x--- 1 root root 25096 Feb  8 12:27 catalog.xml
-rwxr-x--- 1 root root  1289 Jan  6 11:25 easylightbox.xml

I suspect that it might be this setting in my .vimrc

set backupdir=~/.vim/backup,.  -- notice the dot there

Any ideas?

Offline

#2 2011-02-10 20:53:30

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: curlftpfs + vim leaves blank files all over the place

Remove the comma and the dot?


Knute

Offline

#3 2011-02-10 21:09:20

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: curlftpfs + vim leaves blank files all over the place

Knute wrote:

Remove the comma and the dot?

Hi

I tried, forgot to update this post when I got home. Still happens.. random numered files, whenever I save. Hrm.

Offline

#4 2011-02-10 21:28:14

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: curlftpfs + vim leaves blank files all over the place

In looking at those files,  they almost look like pids.  Perhaps, the pid of your processes are being recorded. by some setting in either your vimrc or more likely a setting in curlftpfs.   (never used that program by the way, so am clueless about it's settings)


Knute

Offline

Board footer

Powered by FluxBB