Solved

FTP over vpn points

Posted on 2011-03-07
8
1,326 Views
Last Modified: 2013-12-27
Trying to transfer a file through ftp from one VPN point A to VPN point B.

ftp
open ip-for-point-A
ftp> put c:\posdata\002\FORHTA02.TXT forhta
501 IP Address for data destination doesn't match client's.
425      No data connection
: The type of socket is not supported in this protocol family.

the operating system from on point a is IBM AIX and the one in point b is WINDOWS XP.

any ideas?

0
Comment
Question by:vlachosg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 10

Expert Comment

by:lucius_the
ID: 35062183
Before the transfer, try to switch to FTP passive mode. The command issued before the transfer is PASV.
0
 
LVL 10

Expert Comment

by:lucius_the
ID: 35062195
Hm hm... The biult in Windows FTP client doesn't seem to support passive mode FTP. Try using Total Commander (http://www.ghisler.com/download.htm) or some other program.
0
 
LVL 10

Expert Comment

by:dfke
ID: 35062204
Is the Windows XP in a Vmware environment? If so change network type from nat to brigde mode.  If using FTP from a machine which doesn't have a correct IP address such as private network, try setting up the IP address correctly.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

Author Comment

by:vlachosg
ID: 35062571
It is a real Windows XP not a virtual machine.

trying passive

ftp> quote pasv
227 Entering Passive Mode (192,168,11,1,131,196)
ftp> put c:\posdata\002\forhta02.txt forhta

...never ended


trying total commander it transfered the file.

The problem is that I have scrips already running from the command line that will need the native ftp windows client to work. Otherwise I ll need to find a way of running totalcommander's ftp from the command line?

Any ideas?

0
 
LVL 10

Expert Comment

by:lucius_the
ID: 35062639
Yes, use anohter command line client - I used ftps.exe, gimme a moment to find the link...
0
 
LVL 10

Accepted Solution

by:
lucius_the earned 500 total points
ID: 35062673
Yep. Here it is: http://www.ipswitchft.com/products/moveitFreely/index.aspx

Try with that, works well for me, I do daily backups with it. It also supports FTPS (SSL/TLS certificates) and is scriptable, you can provide it a text file with command in it.
0
 

Author Comment

by:vlachosg
ID: 35062719
so just out of curiosity why isn't it working with the freaking native win xp ftp client?
0
 
LVL 10

Expert Comment

by:lucius_the
ID: 35062801
I don't know actually. I've read that windows FTP client doesn't work well on passive mode transfers, and never really digged :)

FTP is an old protocol. It was designed to be used in early Internet, when all computers on the network had a fixed (public) IP address and there were no firewalls - all ports were accessible. Then, with time, firewall started to block ports, and things like NAT devices were invented, so that more computers in LAN could share a single public IP address. That's when the default (active) FTP stopped working and passive FTP was the way around - it enables client devices to connect to FTP server when opening data links and not the other way around which is the case with active FTP - since that won't work behind firewalls and NAT devices.

But, as FTP is probably as old as Internet, and there are other, better ways of transfering files... I guess nobody at Microsoft bothered to support this more than "declaratively". And so we have a partially working client built in, one that works in LAN, but doesn't work well in other situations ;)
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
URL question - What is port 8888? 5 107
Firewall support--by the month? 10 62
Need to cut my Verizon home cost 3 63
Restore DC not visible on network 13 29
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question