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
FTPMIRROR(8)															      FTPMIRROR(8)

NAME
ftpmirror - Mirroring directory hierarchy using FTP protocol SYNOPSIS
ftpmirror [package] DESCRIPTION
ftpmirror is an utility to copy directory hierarchy (usually called 'mirror') using FTP protocol. A similar perl script exists, whose name is 'mirror', but ftpmirror requires less memory than mirror. OPTIONS
Please, note that the original documentation about ftpmirror was written originally in japanese. (README.jis and RELEASE.jis) If you can contribute by translating any aspect of these files, please contact Dario Minnucci <debian@midworld.net>. I'll be glad to include your contributions here to improve this manual. Formerly ftpmirror operatio mode was MASTER->SLAVE but seems that since version 1.96 the SLAVE->MASTER (reverse mirror) is supported. This behaviour can be controlled for each package section in the main configuration file (/etc/ftpmirror/ftpmirror.cf). MASTER->SLAVE --> get-mode = yes (default) SLAVE->MASTER --> put-mode = yes Other configuration flags extracted from original documentation are: (Sorry but most of them are still undocummented.) todo: (string, default: full-mirror) verbose: (boolean, default: no) log-mask: (comma separated list) test-mode: (boolean, default: no) ftp-server: (string) ftp-gateway: (string) ftp-port: (service, default: ftp) ftp-bindaddr: (ip address) ftp-user: (string, default: anonymous) ftp-pass: (string, default: `whoami`@`hostname`) ftp-group: (string) ftp-gpass: (string) ftp-passive: (boolean, default: no) To enable passive file transfer set ftp-passive to yes. ftp-idle: (numeric, default: 0) ftp-max-idle: (boolean, default: 0) ftp-list-method: (LIST or STAT or STAT-A or STAT-AT, default: STAT) ftp-timeout: (numeric, default: 300) ftp-login-retry: (numeric) ftp-login-delay: (numeric, default: 60) ftp-stats: (boolean, default: no) remote-timezone: (timezone string, default: undef) http-proxy: (string) server: (string) package: (string) put-mode: (boolean, default: no) unlink: (boolean or 'rename', default: yes) unlink-limit: (size value, default: 0) ftp-force-mtime: (boolean, default: no) ignore-mtime: (boolean, default: no) temp-directory: (pathname, default: $TMPDIR || /tmp) lock-directory: (pathname, default: temp-directory) create-directory: (boolean, default: yes) remote-directory: (string) local-directory: (pathname) master-db-directory: (pathname) remote-db-directory: (pathname) local-db-directory: (pathname) lslR-file: (string) lslR-copy: (pathname) transfer-file-regexp: (regexp) transfer-directory-regexp: (regexp) override-file-regexp: (regexp) override-directory-regexp: (regexp) load-local-dirinfo: (boolean, default: no) store-local-dirinfo: (boolean, default: no) load-remote-dirinfo: (boolean, default: no) override-file-uid: (uid, default: 0) override-file-gid: (uid, default: 0) override-file-mode: (octal value, default: 0644) override-directory-mode: (octal value, default: 0755) default-file-uid: (uid, default: 0) default-file-gid: (gid, default: 0) default-file-mode: (octal value, default: 0644) default-directory-mode: (octal value, default: 0755) EXAMPLES
ftpmirror provides a 'ready-to-use' sample package for testing porpouses. In order to run the provided test package you need to issue the following commands (both commands must be run by the same user): mkdir -p /tmp/upstream /usr/bin/ftpmirror upstream This package should copy directory hierarchy from the original author's FTP location (ftp://ftp.intec.co.jp/pub/utils/ftpmirror) to your local hard drive (/tmp/upstream). IMPORTANT CONSIDERATION
The inclusion of this configuration is intended to be used ocassionally. Please don't abuse this site. SEE ALSO
For other supported configuration options see /etc/ftpmirror/ftpmirror.cf where you will find commented examples. AUTHOR
ftpmirror was originally written by Ikuo Nakagawa <ikuo@intec.co.jp> This manual page was written by Dario Minnucci <debian@midworld.net>, for the Debian project (but may be used by others). Dario Minnucci <;debian@midworld.net> June 1, 2007 FTPMIRROR(8)
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy