How Do I FTP System Files to Different Server?

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers How Do I FTP System Files to Different Server?
# 1  
Old 07-17-2018
Question How Do I FTP System Files to Different Server?

Hello,
I have a legacy system that is running on SCO OpenServer 5.0.6, and the hardware is becoming a little sketchy. I replaced the hard drive about a year ago, and was able to come back from a tape backup of my entire system. I have been successful with building a VM with VMware Workstation, and I have a clean install of 5.0.6 with 5.0.6a supplements, and I have it operational with LAN access here in our office. I can connect via FTP from the "working" server to the new VM server successfully!


I would like to copy all of the necessary files from the "working" server to the new VM server, so I can avoid having to try an get my ancient tape drive somehow connected and recognized by the new VM server. Last year when I rebuilt to new hard drive, someone on this forum suggested that I restore everything from my tape backup except the /etc/conf directory, and this seemed to get the job done but caused a few error messages to pop up on reboots, etc. I don't mind because the system works for what we need, which is basically to look up historical data stored in the legacy system.


I am relatively unskilled, but I know a little bit about ftp, cp, tar, etc. What would be the best and easiest way to copy all of the necessary system files from my "working" server to the new VM server via ftp? Complete commands would help a lot, if possible, or if there is a better strategy I am open to anything.


Thanks,
Rob
# 2  
Old 07-18-2018
Well I guess the easy answer is IF you have enough spare disk space on the systems (especially the old system) you could 'cpio' (I prefer to use that on a SCO system) archive the required files, ftp over that cpio archive to the new system, and then restore it onto the new system.

I would think that easier than trying to ftp over individual files en masse.
# 3  
Old 07-18-2018
I read the long thread from last year. You could install a DVD writer in the old system, and use Microlite edge to do a backup of the entire system to dvd rather than tape. The only issue may be finding an IDE drive rather than a SATA.
You can then selectively restore the directories or files that you want.
Unless you have different serial numbers on each machine, you will not be able to use rcp.
You could also just restore the application and the directory/files you are absolutely sure you need; start the application then wait for the "file not found" messages.
# 4  
Old 07-19-2018
If you have enough free space on both you could use Microlite edge to do a backup to a filesystem, FTP it across, then using edge on the new system do a selective restore.
Although I call it a filesystem it could be a directory on the existing filesystem as long as it is excluded from the backup.
# 5  
Old 07-19-2018
Yeah, I think I could find a way to do the copies, but now I realize that I am NOT connecting via FTP. I was seeing the "ftp>" cursor thinking all was good, but when I actually read the connection info it says "login failed" - so I'm back to the same problem I've had before. I can't seem to find any information online, or in the SCO manuals I have that say how to enable the FTP server. The manual mentions some FTP settings in the Internet Configuration using the graphical window, but what I see on the screen doesn't match what I'm reading.


I think I'm down to trying the IDE DVD writer on the old machine, or trying to get the old tape drive working on the VM. I have an adapter to connect the IDE interface of the tape drive to a SATA port in the computer, do you think there is any chance that would work? Also, where can I find the commands to use mkdev and try to install the IDE DVD drive?


I appreciate your help.
# 6  
Old 07-19-2018
The ftp server is started automatically.
If you already have a cdrom drive, replacing that with a dvd writer, does not entail any configuration changes assuming you retain the same master/slave jumper settings; otherwise use:
Code:
mkdev cdrom
  follow the prompts

To see if the ftp server is running on the vm try:
Code:
telnet vm-host-ipaddress 21

you should get something like the following response
Code:
 telnet 192.168.1.31 21
Trying 192.168.1.31...
Connected to 192.168.1.31.
Escape character is '^]'.
220-
220 unix FTP server (Version wu-2.6.2(11) Thu Dec 22 07:07:30 EST 2005) ready.

530 Please login with USER and PASS.

# 7  
Old 07-19-2018
I got the response from the server just as what you have shown in your post, asking me to login with USER and PASS. So, when I enter "USER root" it says that a password is required for root, and so I enter "PASS (my known password)" it says login incorrect. Just for fun I tried "USER anonymous" and it said "Guest login OK, please enter your complete email address as password." So I entered "PASS (my email address)" and it still said login incorrect. Is there any way around this? Can I create an FTP user account somehow on the new VM server? Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

FTP-ing files from Windows server to UNIX server

I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output. Is it possible to transfer files from Windows server to unix server through any shell script? If so can you please help me with the details. Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies

2. Shell Programming and Scripting

FTP multiple files from one server to one server

Hi, I'm new to shell script..I have one requriement like - In one server have more than one files,I want to ftp those files to some otehr server.. Ex : test1.pdf test2.pdf Please suggest me how to do (3 Replies)
Discussion started by: venkaswa
3 Replies

3. Shell Programming and Scripting

Need help creating a script to FTP files to a server and then delete the files that were transfered.

I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Discussion started by: jmalfhs
4 Replies

4. Shell Programming and Scripting

Validating the size of file transferred from ftp server to the local system

Validating the size of file transferred from ftp server to the local system. File type: Text file/Flat file Source System: Windows / Unix Systems Target System is always: Unix Mode of Transfer : ASCII We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies

5. Shell Programming and Scripting

script for to take files from FTP server to UNIX server and Unzipped that files

script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

6. Filesystems, Disks and Memory

Not able to FTP the files to a FTP server

Hi , We are facing a weird problem in our project. we need to send some xml & audio files to a remote FTP server from a Linux box, we are doing this in Perl script using Net::FTP->. Issue here is.. when FTPed the files using Perl scripts, only empty files ( 0 byte) are getting created on the... (2 Replies)
Discussion started by: kishorepotta
2 Replies

7. UNIX for Dummies Questions & Answers

FTP Files from one server to another

Hi, I want to run a process on server a, pulling files from server b and pushing it to server c. Can i do that without dropping the files on server a? Thanks, Samit (2 Replies)
Discussion started by: samit_9999
2 Replies

8. Shell Programming and Scripting

FTP files to target Mainframe system

Hi Experts... Greetings for the day..! I just want to FTP the files to mainframe system.. my code is not working..and also i need to put the files in a particular directory in a specific naming format... ftp -i -n ${HOST_NAME} << END_FTP user ${USER_NAME} ${PASSWORD} put ${FILE_NAME}... (3 Replies)
Discussion started by: spkandy
3 Replies

9. Solaris

Secure FTP Problem using Sun SSH on Client system F-Secure on Server system

I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details: FTP Client has Sun SSH. FTP Server has F-Secure. I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies

10. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies
Login or Register to Ask a Question