(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Kerio Reseller
Printer Friendly Version

FTP Problem


2008/04/17

Josh

Hello - I'm having a problem with a server running SCO OpenServer 5.0.7 and ftp. ftp connections used to work fine, but now I can connect to the server via ftp, I can issue type, pwd, and cd commands successfully and receive the response-- but when I issue ls, dir, get, or put commands, I get the message: "425 Can't build data connection: Invalid argument." No file configuration changes were made. The server was moved and is behind a new firewall, but as I said, I can connect and issue some commands successfully. Port 21 is open on the firewall so I can connect.

From the server, I can ftp to other sites and all commands work.


Hate these ads?

I do suspect the firewall, but I don't know why some commands work and others dont.



Comments /Forum/josh.html


Thu Apr 17 17:37:55 2008: Subject:   TonyLawrence


Yes, Josh, it is the firewall, and to understand why you need to read up on how ftp actually works - what you want is to have it work in "passive" mode.

I thought I had an article here somewhere that explained this well, but can't seem to find it.. I'll look a bit more..

Thu Apr 17 19:22:37 2008: Subject:   Josh


Thanks Tony.
I did try to get passive mode to work before I wrote, but the connection disconnects at the server when switching to PASV mode. Perhaps there is a config entry I'm missing?
Josh


Thu Apr 17 19:30:41 2008: Subject:   TonyLawrence


Perhaps the server can't do passive mode?

Thu Apr 17 21:06:28 2008: Subject:   BruceGarlock


Doesn't port 20 need to be open at the firewall as well (ftp-data).

Fri Apr 18 01:55:11 2008: Subject:   Josh


I can ftp Active and Passive behind the firewall. Since neither Active nor Passive is working on the public side, it must be a firewall issue...an odd one to be sure, but a firewall issue nonetheless.
Port 20 and 21 are both open on the firewall.
I have a local Cisco engineer looking at it.
Thanks for your comments- both of you-- you helped me narrow this down very quickly.

Josh

Fri Apr 18 02:16:32 2008: Subject:   TonyLawrence


Ayup - firewall is blocking you for sure.. strange symptoms though.

Add your comments

ad

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


LOD Communications, Inc.

Views for this page
Today This Week This Month This Year  Overall
2247799 799

/Forum/josh.html copyright April 2008 Josh All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - OSR5
       - Forum




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


http://www.loch-raven.com/ Over 18 years of experience Unix and Linux servers. Linux and Unix consulting, system administration, remote administration, custom scripting, web desing and hosting.







Coming Attractions

My Favorites

Change Congress

Related Posts