1

I do hope that I'm asking this in the correct community; the question, I think, has mostly to do with network topology.

I'm trying to use FTPuse to setup a volume letter to my Android smartphone, but I keep getting this error:

C:\Windows\system32>ftpuse x: 192.168.1.7
Connecting...
Socket Error # 10061
Connection refused.

Different permutations of the command, such as including the username and password, have made no difference. The Windows 7 desktop that I'm working from is connected to the network via ethernet:

PC <--> Switch <--> Vonage box <--> Cable modem/router/WiFi access point <--> Android smartphone

I can ping the FTP server without any problems, and I'm trying to get this working as per this suggested answer in the Android community.

Any thoughts or suggestions are greatly appreciated.

5
  • Did you setup an FTP server on your Android device yet? If so, can you connect to it via a standard FTP client from the PC? Apr 18, 2014 at 16:22
  • Yes, an FTP server is configured on my Android device.
    – Jim Fell
    Apr 18, 2014 at 16:38
  • 1
    And you can access it from a standard FTP client from the PC? If not, can you access it from an FTP client on the phone itself? The point is it seems like your FTP server may be configured incorrectly, but you have not provided information regarding it. Apr 18, 2014 at 16:41
  • FileZilla from my desktop is able to connect okay, so it must be a problem with FTPuse. i59.tinypic.com/2e20wvp.jpg
    – Jim Fell
    Apr 18, 2014 at 17:11
  • Adding the port number to the FTPuse command seemed to fix the problem. Thanks, everyone, for your help! :D
    – Jim Fell
    Apr 18, 2014 at 17:15

3 Answers 3

1

So, here is what you can do to troubleshoot the issue..

On your Windows install, install the telnet client ( Control Panel > Programs and Features > Turn Windows Features On/Off > Enable (check) telnet client from the list )

After you have the client installed, open a command prompt and type the following

telnet hostname.ftpsite.com 21

the telnet command will try to connect to hostname.ftpsite.com (replace this with the ftp hostname you are trying to connect to) on port 21 (which is the standard FTP port). If FTP is running as a server on port 21 at hostname.ftpsite.com, you will get back a status message. This tells you that FTP is indeed running on port 21 at the given host.

Here is an example

enter image description here

220 is a standard FTP response that essentially means everything is OK.

Another option would be to install nmap for windows, and scan your android phones IP address or hostname like this

nmap -vv -A xxx.xxx.xxx.xxx

Replace xxx.xxx.xxx.xxx with the ip address or hostname of your device. This will scan your device with verbose output, and will scan all common ports on the device. This will give you a good idea of what services are being offered on what ports on your android device.

1

Had to include the username, password, AND port number in the command:

C:\Windows\system32>ftpuse x: 192.168.1.7 mypass /USER:myusername /PORT:7272
Connecting...
Connected.
The operation completed successfully
2
  • 3
    Yeah, those details are usually pretty important! :)
    – Richie086
    Apr 18, 2014 at 18:30
  • Yeah, it was the missing port number that got me.
    – Jim Fell
    May 27, 2014 at 20:48
1

Looks like the server isn't configured to allow this on the device. Once installed you need to start the FTPd service via the app which should open the correct port of which your client needs to bind to. Or some firewall is blocking it.

3
  • 1
    What do you mean? More details would be nice.
    – Jim Fell
    Apr 18, 2014 at 16:39
  • Yep, connection refused usually means exactly what it sounds like - either the FTPd service is not running on the device or some firewall is blocking it.
    – Richie086
    Apr 18, 2014 at 16:42
  • Yes, once installed you need to start the FTPd service via the app which should open the correct port of which your client needs to bind to Apr 18, 2014 at 16:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .