wodFTPDLX + FTP + NAT + PUT failure - WeOnlyDo Discussion board

wodFTPDLX + FTP + NAT + PUT failure (General questions)

by Ant, Wednesday, August 13, 2008, 16:22 (5945 days ago)

Im having an issue where when connecting to a FTP server in a DMZ using NAT my PUT commands are failing because they are using the internal ip instead of the real external ip. Is there a solution to get around this?

Thanks in advanced!

Re: wodFTPDLX + FTP + NAT + PUT failure

by wodDamir, Wednesday, August 13, 2008, 16:44 (5945 days ago) @ Ant

Hi Ant,

Can you please show me an error that you receive?

Also, are you using Passive or Active?

Another thing you could try is setting StrictHost property to true. I believe that should help. Can you please try it?

Regards,
Damba

Re: wodFTPDLX + FTP + NAT + PUT failure

by Ant, Wednesday, August 13, 2008, 17:05 (5945 days ago) @ wodDamir

Hi again Damba!

I believe were communicating through e-mail also but, hopefully we can help others here as well if they have this issue in the future.

As per your instruction I've tried setting .StrictHost = True

I am still receiving the error:

550 STOR failed: Folder does not exist, or you don't have permission for it

What our buisness partner and I have observed is that during the Passive command before the STOR fires:

227 Entering Passive Mode (10,16,200,10,46,226)

The ip address is the internal and not the external ip address.

Is there away I can change the Passive Mode IP to the external address or possibly there's something else Im missing.

Re: wodFTPDLX + FTP + NAT + PUT failure

by Ant, Wednesday, August 13, 2008, 18:11 (5945 days ago) @ Ant

Damir,

Just curious if you received the email with our buisness partners info. We've had some issues here with email.

Thx

Re: wodFTPDLX + FTP + NAT + PUT failure

by wodDamir, Wednesday, August 13, 2008, 18:18 (5945 days ago) @ Ant

Anthony,

As i've already responded to you on e-mail, everything worked like a charm when I set StrictHost property to true before connecting to server.

Can you try the same in your code?

Regards,
Damba