You are not logged in.
Pages: 1
Hello everyone, a recent update must have replaced the old "ftp" binary since vim won't go into PASV mode automatically for ftp-locations anymore.
Just to let you know:
[dezza@dezza ~]$ pacman -Qo /usr/bin/ftp
/usr/bin/ftp is owned by inetutils 1.6-3
I tried as stated here:
http://alecthegeek.wordpress.com/2007/0 … sive-mode/
g:netrw_ftp_cmd="ftp -p" to your ~/.vimrc
But since ftp -p is --prompt on my client, this won't help.
I also looked trough the docs of vim and found this command:
g:netrw_extracmd="passive"
But this should not be a default variable for vim, and I've tried setting this in my .vimrc
let g:netrw_extracmd="passive"
set g:netrw_extracmd="passive"
But none of this works ..
If I manually try doing $ftp this is what happens:
[dezza@dezza ~]$ ftp
ftp> open testserver.net 50099
Connected to testserver.net.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 11:20. Server port: 50099.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (testserver.net:dezza): www
331 User www OK. Password required
Password:
230-User www has group access to: ftpgroup
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
500 I won't open a connection to 192.168.1.10 (only to 90.185.121.67)
ftp: bind: Address already in use
ftp>
But .. If you pop passive before listing ..
[dezza@dezza ~]$ ftp
ftp> open testserver.net 50099
Connected to testserver.net.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 11:22. Server port: 50099.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (testserver.net:dezza): www
331 User www OK. Password required
Password:
230-User www has group access to: ftpgroup
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> passive
Passive mode on.
ftp> cd include
250 OK. Current directory is /include
ftp> ls
227 Entering Passive Mode (193,34,144,80,33,225)
150 Accepted data connection
-rw-r--r-- 1 2001 ftpgroup 7337 Dec 23 04:55 baseapi.php
drwxr-xr-x 2 2001 ftpgroup 4096 Jan 9 20:54 smtp
226-Options: -l
226 21 matches total
ftp>
Offline
Pages: 1