Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFFTP to Local IP on VPN

Status
Not open for further replies.

joepeacock

Programmer
Nov 5, 2001
74
US
Hello,

[ignore]My server is connected to a client through a VPN. We are attempting to send a file to an FTP server in the client's network using CFFTP. Using an FTP client, we are able to connect to the FTP server from our server while connected to the VPN and we are able to transfer files, etc. with no problems.[/ignore]

However, using the following code:

<cfftp action=&quot;putfile&quot; remotefile=&quot;#thisfilename#&quot; localfile=&quot;f:\onlinecomponents\admin\orderfiles\#thisfilename#&quot; server=&quot;192.172.0.21&quot; username=&quot;#uname#&quot; password=&quot;#pword#&quot;>

we get the following error:

[ignore]cfftp.errorcode = 15
cfftp.errortext = 501 IP Address for data destination doesn't match client's.
cfftp.succeeded = NO[/ignore]


When we try to do the same thing to an FTP server on our LAN, we have no problem.

Any ideas? Do I need to add more to the CFFTP code to specify the VPN connection?

We are Using CF 5.0.

Thanks,
Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top