Solved

FTP Put command will not work from command line

Posted on 2004-04-27
7
1,312 Views
Last Modified: 2008-03-10
We are trying to put files to an ftp web site.
When we attempt to do this from the command line we get

200 Port Command successful
150 Opening ASCII mode data connection for /bin/ls

and then it just sits there.

I have tried the dir, ls, and get commands with the same result.

Now, if I use a 3rd party ftp software such as globalscape's cuteftp professional I can access this
ftp website and put, get files and such.

What is the difference between the command line and the 3rd party software?

Any help would be appreciated.
0
Comment
Question by:msilka
  • 3
  • 3
7 Comments
 
LVL 49

Expert Comment

by:sunray_2003
Comment Utility
Do you have any firewall setup ? May be the third party software is being given permission by the firewall ..

Disable firewall and check if it would work and make sure to post back
0
 
LVL 49

Expert Comment

by:sunray_2003
Comment Utility
Also if you donot have any third party firewall , check the ICF that comes with windows xp.

Right-click and go to "properties" of the internet connection you are using.
go to "Advanced" and uncheck "internet connection firewall" .
Now check if the FTP would work.
0
 

Author Comment

by:msilka
Comment Utility
I have the ICF unchecked under the "internet connection firewall"
We have a CISCO 2620 router with an IOS firewall.

0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 49

Expert Comment

by:sunray_2003
Comment Utility
Is this home or office machine ? Can you connect your machine directly to LAN without the router and test if the FTP command line would work fine. That way We can figure out if the router is the one that needs to be tweaked.
0
 

Author Comment

by:msilka
Comment Utility
This is an office machine on a LAN.
The router is between the LAN and the Internet.

0
 
LVL 1

Accepted Solution

by:
flamedog earned 250 total points
Comment Utility
I had this same thing happen a few months ago I think...

I think the problem often is that the ftp server only allows passive mode transfers.  Most ftp software products allow this (and many default to it).  I think that the DOS ftp program does not allow for passive mode.

Other command line ftp programs can switch to passive (from active) by simply typing PASV at the command prompt.

Sorry its no Expert answer but I think it may be the problem.
0
 

Author Comment

by:msilka
Comment Utility
I found the problem.  The third party software had a setting for passive mode.  I checked it and now everything is fine.
Thank you for your help.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now