Link to home
Start Free TrialLog in
Avatar of CME-IT
CME-IT

asked on

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

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.
Avatar of m1tk4
m1tk4
Flag of United States of America image

>> 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).
Avatar of CME-IT
CME-IT

ASKER

"How do I do that?" asked the newbie :(
Avatar of CME-IT

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To transfer from your windows system to the linux box, from the MSDOS prompt:

pscp.exe filename.txt user@192.168.1.2:/home/user/

HTH:)
Avatar of CME-IT

ASKER

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

Thank-you again.