When I try to ftp a file from a windows machine to  linux server, I get a critical transfer error.

Posted on 2006-04-19
Last Modified: 2010-04-20
I have successfully established communications (FTP and telnet/ssh)  between a windows workstation and two Linux mail servers.  The current mail server and the new mail server.  On the original mail server, I have tarred the mail folders.  I have then ftp it to the windows machine.  When I try to ftp the file (or any file) from the windows machine to the new mail server, I get a critical transfer error.  

I am unable to make an ftp connection to the new mail server as root, but as a user I can.

For a lot of reasons, I need to be able to go from Linux to Windows to Linux.

I am using Windows 2000.  The new mail server is running CentOs.

Your help is always appreciated.
Question by:CME-IT
    LVL 15

    Expert Comment

    >> I am unable to make an ftp connection to the new mail server as root, but as a user I can.

    This is normal, root FTP logins are disabled by default.

    Try passive FTP connections (PASV).

    Author Comment

    "How do I do that?" asked the newbie :(

    Author Comment

    I tried something different.  Originally, I wanted to put the file in /   That did not work.  What is working is to put the file in the /home/user directory and then change the permissions chmod .  At this time I can mv it to / so that I can untar it.

    Is this what I am going to have to do, or is there a more straight forward way of doing it?
    LVL 22

    Accepted Solution

    Do you use ssh? Chances are that it is enabled by default on Centros

    To transfer a specific file from your Centros system. At the command prompt on your windows system:

    pscp.exe user@ .

    pscp is part of the putty suite of programs for windows available from here:
    LVL 22

    Expert Comment

    To transfer from your windows system to the linux box, from the MSDOS prompt:

    pscp.exe filename.txt user@


    Author Comment

    Yes I am using putty and you are correct, ssh is enabled by default on Centos.

    Thank-you again.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
    1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    779 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

    12 Experts available now in Live!

    Get 1:1 Help Now