Sponsored Content
Full Discussion: Ftp read a file
Top Forums UNIX for Dummies Questions & Answers Ftp read a file Post 302753191 by vbe on Tuesday 8th of January 2013 08:46:05 AM
Old 01-08-2013
reminder: ftp stands for file transfer protocol, why would it be and editor utility?
This User Gave Thanks to vbe For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP to read a directory

help needed ! I have an ftp script that read a directory for files with the *.*, problem is now that it returns a lot and now i will like to limit the data to get by only selecting the required files. All the files have and extension with the year date eg. bb039519.233. the .233 is the date of... (11 Replies)
Discussion started by: jikyj
11 Replies

2. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

3. 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

4. Programming

Cannot read a file with read(fd, buffer, buffersize) function

# include <stdio.h> # include <fcntl.h> # include <stdlib.h> # include <sys/stat.h> int main(int argc, char *argv) { int fRead, fPadded, padVal; int btRead; int BUFFSIZE = 512; char buff; if (argc != 4) { printf ("Please provide all of the... (3 Replies)
Discussion started by: naranja18she
3 Replies

5. Solaris

add a ftp user with read and write permissions on a directory

hi all how I can create an ftp user in solaris 10 and have read and write permission on a directory. Thanks. (1 Reply)
Discussion started by: luisfja
1 Replies

6. UNIX for Dummies Questions & Answers

When reading a csv file, counter to read 20 lines and wait for minute then read next 20 till end

Hello All, i am a newbie and need some help when reading a csv file in a bourne shell script. I want to read 10 lines, then wait for a minute and then do a reading of another 10 lines and so on in the same way. I want to do this till the end of file. Any inputs are appreciated ... (3 Replies)
Discussion started by: victor.s
3 Replies

7. 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

8. 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

9. Shell Programming and Scripting

Read from file and execute the read command

Hi, I am facing issues with the below: I have a lookup file say lookup.lkp.This lookup.lkp file contains strings delimited by comma(,). Now i want to read this command from file and execute it. So my code below is : Contents in the lookup.lkp file is : c_e,m,a,`cd $BOX | ls cef_*|tail... (7 Replies)
Discussion started by: vital_parsley
7 Replies

10. Shell Programming and Scripting

Read latest file name with a date and time and then download from FTP

Hi All, Please help. I have requirement to read the file / folder based on the latest date and download the file and folder. There will be files and folders in the location like 20140630-144422 20140630-144422.csv 20140707-182653 20140707-182653.csv 20140710-183153... (7 Replies)
Discussion started by: Praveen Pandit
7 Replies
yppush(8yp)															       yppush(8yp)

Name
       yppush - force propagation of a changed yellow pages (YP) map

Syntax
       yppush [ -d domain ] [ -v ] mapname

Description
       The  command copies a new version of a yellow pages (YP) map from the master YP server to the slave YP servers.	It is normally run only on
       the master YP server by the utility accessing the after the master YP databases have been changed.  When invoked, first constructs  a  list
       of YP server hosts by reading the YP map ypservers within the domain.  Keys within the map ypservers are the ASCII names of the machines on
       which the YP servers run.

       A transfer map request is sent to the YP server at each host, along with the information needed by the transfer agent  (the  program  which
       actually  moves the map) to call back the command.  When the attempt has completed (successfully or not), and the transfer agent has sent a
       status message, the results can be printed to stdout.  Messages are also printed when a transfer is not possible,  for  instance  when  the
       request message is undeliverable, or when the timeout period on responses has expired.

       Refer to and for an overview of the yellow pages.

Options
       -d     Specify a domain.

       -v     Verbose.	 This causes messages to be printed when each server is called, and for each response.	Without this flag, only error mes-
	      sages are printed.

Restrictions
       In the current implementation (version 2 YP protocol), the transfer agent is which is started by the program.  If detects that it is speak-
       ing  to	a  version  1  YP protocol server, it uses the older protocol, sending a version 1 YPPROC_GET request and issues a message to that
       effect.	Unfortunately, there is no way of knowing if or when the map transfer was performed for version 1 servers.  The command  prints  a
       message	saying that an old-style message has been sent.  The system administrator should later check to see that the transfer has actually
       taken place.

Files
       /etc/yp/domainname/ypservers.{dir, pag}

See Also
       ypfiles(5yp), ypserv(8yp), ypxfr(8yp)

																       yppush(8yp)
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy