Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

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.
0
CME-IT
Asked:
CME-IT
  • 3
  • 2
1 Solution
 
m1tk4Commented:
>> 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).
0
 
CME-ITAuthor Commented:
"How do I do that?" asked the newbie :(
0
 
CME-ITAuthor Commented:
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?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
pjedmondCommented:
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@192.168.1.2:/home/user/filename.tgz .

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

http://www.chiark.greenend.org.uk/~sgtatham/putty/
0
 
pjedmondCommented:
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:)
0
 
CME-ITAuthor Commented:
Yes I am using putty and you are correct, ssh is enabled by default on Centos.

Thank-you again.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now