How to enable PASSIVE / PASV mode in Windows command line FTP programs
One often needs to use PASSIVE / PASV mode for FTP transfers to work successfully on some FTP servers, especially if you are on a network which is being NAT’ed by an ADSL / DSL / wireless router.
Microsoft’s command line FTP program (ftp.exe) doesn’t have the PASV / PASSIVE command, so how do you get around it?
With the literal command. Once logged into the FTP server, type in literal PASV to enable PASSIVE mode.
Here’s an example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Connected to test.com. 220---------- Welcome to Pure-FTPd [TLS] ---------- 220-You are user number 6 of 50 allowed. 220-Local time is now 09:10. Server port: 21. 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. User (test.com:(none)): test 331 User softdux OK. Password required Password: 230-User softdux has group access to: test 230 OK. Current restricted directory is / ftp> literal PASV 227 Entering Passive Mode (1,2,3,4,130,44) ftp> |
Leave a comment
| Trackback
