Solved

Unix dat file copy

Posted on 2013-11-05
5
534 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
Comment Utility
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
Comment Utility
omarfarid, this does not woek with .DAT files.
0
 
LVL 40

Expert Comment

by:omarfarid
Comment Utility
I could not understand what you mean by "this does not woek with .DAT files"
0
 
LVL 61

Expert Comment

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

Author Comment

by:lsbrown1
Comment Utility
I added tar and it worked
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

762 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

9 Experts available now in Live!

Get 1:1 Help Now