Solved

Unix dat file copy

Posted on 2013-11-05
5
554 Views
Last Modified: 2013-12-03
How to ftp cache dat files from unix to unix on the same network?
0
Comment
Question by:lsbrown1
  • 2
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 39626292
you can simply use ftp command

ftp servername (or ip address)

once you connect to the other server via ftp command, you need to provide username and password, then you see the ftp prompt.

Then you use command

binary (if the file is not text file)

then you change to target dir on the remote server:

cd /path/to/my/dir

then you send the file with

put filename

then you exit with

bye

Please see link below for ftp command

http://unixhelp.ed.ac.uk/CGI/man-cgi?ftp

You could alternatively use the sftp command, which is secure to transfer files, etc.

This would require ssh/sftp to be installed on both systems.

Please see

http://unixhelp.ed.ac.uk/CGI/man-cgi?sftp
0
 

Author Comment

by:lsbrown1
ID: 39629224
omarfarid, this does not woek with .DAT files.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 39629243
I could not understand what you mean by "this does not woek with .DAT files"
0
 
LVL 62

Expert Comment

by:gheist
ID: 39645152
are those files open (as seen by lsof)?
in that case you need to close them before transferring....
0
 

Author Comment

by:lsbrown1
ID: 39694358
I added tar and it worked
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vmware Vswitch  VS  Redhat  Bridge 1 115
Convert OverPunch 25 66
Expand a partition in Centos 7 Linux with Virtualmin 1 69
UNIX SCP 5 83
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

856 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