Sponsored Content
Full Discussion: AIX - FTP
Top Forums UNIX for Advanced & Expert Users AIX - FTP Post 302432891 by vibora on Sunday 27th of June 2010 09:43:07 PM
Old 06-27-2010
AIX - FTP

Hello,

I have a FTP script below that automatically send files to host. Currently, i am having problems if our network connection is down. Our host cannot receive a file once the network connect is down.

Could there be a additional command that i need to add below so that it would not send files if the network connection is down? It would send this file if the network connection is restored. Because currently we have to check and send it manually. This is VI script though. Thanks.


Code:
ftp -n -v testIP << %EOF

user test test2
quote site namefmt 1
bin
put /mydir/RMR_09.txt /theirdir/C$dt-09.txt
put /mydir/sRMR_09.txt /theirdir/S$dt-09.txt

Moderator's Comments:
Mod Comment Use code tags please, ty.

Last edited by vibora; 07-15-2010 at 06:30 AM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP from AIX to 20 Windows clients

I have got a unix server ( AIX ) and 20 clients ( windows 2000 ) . I have to transfer a file through FTP from the server to each of 20 clients daily to check the network speed. But each time I do ftp, I have to enter username and password and then transfer the file using "put <filename>". I... (2 Replies)
Discussion started by: sharuvman
2 Replies

2. AIX

How to secure ftp in AIX

Hi, the default ftp that comes with AIX5L is not secured as far as i know. How to install and use the secured FTP in AIX? Linux these days uses vsftpd daemon(very secured FTP daemon) is there VSFTPD for AIX? if there is any where can i download it from? thanks and regards Pchangba (1 Reply)
Discussion started by: pchangba
1 Replies

3. AIX

chrooted FTP in AIX

Hi, I want to configure chrooted FTP (not Proftpd) in AIX. What are the steps to perform this configuration and which and config files in AIX to configure? Thanks (1 Reply)
Discussion started by: imad77
1 Replies

4. AIX

FTP on AIX

Hi All We have planned to communicate with our trading prtner via FTP. We both have servers running on AIX. We want to exchange files with each other via FTP. I am new to AIX. Any help appreciated:) Thanks:) (7 Replies)
Discussion started by: user1183
7 Replies

5. AIX

FTP Script error - AIX

Hi, I'm trying to create a ftp script so I can make an ftp connection and start upload and download files from/to remote servers. In this case I want to start a connection (crontab) and transfer files from localserver1 to remoteserver; remoteserver to localserver1; finally from localserver1... (3 Replies)
Discussion started by: marques_rmc
3 Replies

6. AIX

AIX - read only FTP

Hi, I want to set FTP server on AIX to read only mode. I found out manual page for /etc/ftpaccess.ctl (manual page ). I tried put readonly: ALL or readonly: ALL writeonly: NONE and nothing happened (of course, I restart FTP server by stopsrc -t ftp; startsrc -t ftp) (2 Replies)
Discussion started by: henriette
2 Replies

7. AIX

AIX FTP issue

Hi, I ftpd "binary" mode into a AIX server and transferred .tar.tar files. When i untar using "tar -xvf <filename>.tar.gz" It shows "tar: 0511-169 A directory checksum error on media; 0 not equal to 70568." Please Help!! (3 Replies)
Discussion started by: Priya Amaresh
3 Replies

8. Shell Programming and Scripting

AIX FTP client

I am trying to transfer logs from Aix 6.1 to a linux appliance but it is not happening from last one month if i execute the batch command by command i can execute well but if i do it in shell script it is stuck without any error. Any one know how to generate a FTP client trace to know the issue... (10 Replies)
Discussion started by: ra8ul
10 Replies

9. Shell Programming and Scripting

FTP from AIX to Mainframe

Hi All, This is the scenario:- I am writing a script to automate FTP files from AIX to Mainframe. ( Binary mode, passive connection) FTP the currently available files(poll a directory to find the list) and put it to mainframe in one connection instance Verify if all the files are copied... (24 Replies)
Discussion started by: TechGyaann
24 Replies

10. AIX

AIX Forum: FTP from AIX to Mainframe

This discussion thread is an extension to what was discussed in Shell scripting section. Please refer the post for the requirement: Requirement Post - Click Here The whole thread - Click Here I would like to know how I can use NDM to transfer file from AIX to Mainframe and to verify the... (3 Replies)
Discussion started by: TechGyaann
3 Replies
ARPFETCH(8)						      System Manager's Manual						       ARPFETCH(8)

NAME
arpfetch - obtain ethernet/ip address pairings via snmp SYNOPSIS
arpfetch host cname DESCRIPTION
arpfetch gets pairings between ip addresses and the ethernet address of the corresponding network card. These pairings are retrieved from other network entities, like routers, by the SNMP protocol using snmpwalk(1). Mostly, this program is an agent that is used to get data for arpsnmp(8). This fetching of address mappings can be further automated by use of bihourly(8). Both command arguments must be present for proper operation. The host argument is the hostname of the network entity being queried and the cname argument is the SNMP community name of the network entity. The information is presented on stdout in a format compatible with arpsnmp(8) and arpwatch(8). Further information about SNMP can be found in snmpcmd(1) and variables(5). SEE ALSO
arpsnmp(8), arpwatch(8), bihourly(8), snmpwalk(1), snmpcmd(1), variables(5) BUGS
Please send bug reports to arpwatch@ee.lbl.gov. AUTHORS
Craig Leres of the Lawrence Berkeley National Laboratory Network Research Group, University of California, Berkeley, CA. The current version is available via anonymous ftp: ftp://ftp.ee.lbl.gov/arpwatch.tar.gz This manual page was contributed by Hugo Graumann. ARPFETCH(8)
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy