Learner FTP help


 
Thread Tools Search this Thread
Operating Systems AIX Learner FTP help
# 1  
Old 05-16-2011
Learner FTP help

Hello All,

Real Newbie to AIX

I need to automate an FTP server to Server.
Want to push the files from an AIX server to an OSX server.

What would be the best command in AIX to do this?
Need help copying contents of \UVdata to 172.16.12.2\ERAbackup\1
Or Alternatively would it be better to Pull the information from the OSX box?
# 2  
Old 05-16-2011
Quote:
Originally Posted by Joelly
I need to automate an FTP server to Server.
[...]
What would be the best command in AIX to do this?
Would it be a big surprise for you when i answer "ftp"? ;-))

What you need is a ftp server (a running process called "ftpd") on the machine not initiating the process. If you use the AIX system to initiate the transfer you need the "ftp" command (that's the client part of ftp) on it and the "ftpd" on OSX. If you want to use the OSX system to pull the data off the the AIX system it would be the other way round.

I suggest you read the man page of "ftp" ("man ftp") and especially the description of the ".netrc" file there. You will find everything you need there.

I would like to suggest you rethink your methods, though. "ftp" is - like telnet - a protocol built with little to no security in mind. Passwords, for instance, are transmitted in plain text over the network and can be read by everybody with a packet sniffer. If this (and several similar considerations) doesn't matter in your case go ahead. If this indeed poses a problem for you you might consider using "scp" or "sftp" instead.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Beginning learner

Hi guys, New member here, also new student! I'm just starting the Shell Programming, currently in chapter four in the Book in Unix, Linux, and OS X by Stephen G. Kochan & Patrick Wood (4th edition). I'm needing a little help with other possible ways to shorten this shell command: // ... (1 Reply)
Discussion started by: shiver
1 Replies

2. Solaris

FTP log only shows FTP LOGIN FROM entry?

OS: Solaris 9 Configuration /etc/syslog.conf daemon.debug /etc/inetd.conf ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -A -l -d Found the ftp.log only generate those entries from other servers/hosts. Can we trace on all ftp entries either from/to the server? ... (6 Replies)
Discussion started by: KhawHL
6 Replies

3. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

4. Red Hat

learner Shell

a task given to me is to make a shell which will have the following qualities.... "The most rudimentary shell is structured as the following loop: 1. Print out a prompt (e.g., "OS_Spring2011_Shell$ "); 2. Read a line from the user; 3. Parse the line into the program name and an array of... (2 Replies)
Discussion started by: hamidnasir
2 Replies

5. Shell Programming and Scripting

i am new learner from shell scripting.. any one help me.

hi every body, i am ramesh. i want write about this shell program (" i have 94 server's like aix, solaris, linux, hp-ux, and sco unix-") how to get mail's from these server's? (i have personal linux system)- i want to run this program in my personal linux system continuously. i want to... (4 Replies)
Discussion started by: rameshreddy.ema
4 Replies

6. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

7. Post Here to Contact Site Administrators and Moderators

Thread closed when learner has tried

I'm not so sure that this thread should have been closed. Though it was clearly homework the student was asking a specific question related to the assignment, but not the answer to the whole assignment. /www.unix.com/unix-dummies-questions-answers/107494-how-get-rid.html . IMHO The solution is... (1 Reply)
Discussion started by: methyl
1 Replies

8. Shell Programming and Scripting

passing parameter to ftp script from output of another ftp

Hi, I have a ftp script which first gets all the file names and echo's the latest file. I'm using another ftp command sets to get the file name given by first ftp. The problem is the parameter is not accepted by second ftp. The error message i'm getting is > Rename Temp File calloc:ICMP... (5 Replies)
Discussion started by: ammu
5 Replies

9. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies

10. UNIX for Dummies Questions & Answers

I am a fresh learner of unix,and hope for some help here.

Who could tell me how to learn unix fastly? (4 Replies)
Discussion started by: dsun5
4 Replies
Login or Register to Ask a Question