Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Copying dir (and sub dir) file names from ftp server to txt file in diff server Post 302382456 by deking on Wednesday 23rd of December 2009 09:27:16 AM
Old 12-23-2009
Copying dir (and sub dir) file names from ftp server to txt file in diff server

Hey all,

i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

To get the dir list of a remote server

Dear all; I am new to UNIX scripting and I want to download remote server's dir listing every hour, to check whether it is updating. How can I do this. can I use ftp command to down load this dir listing. Pls help me in this regards. tks (1 Reply)
Discussion started by: HMS.Chandrasiri
1 Replies

2. UNIX for Advanced & Expert Users

Recursively check the file/dir names

Hi, ' recgrep find . | xargs grep ' is used to scan the contents recursively. I have a different requirement. I need to scan just the names and check for a pattern and display with fullpath. Is that already available? Closest that I am trying is 'ls -R | grep pattern' Here I would get multiple... (1 Reply)
Discussion started by: eagercyber
1 Replies

3. UNIX for Dummies Questions & Answers

How to copy the dir from one server to other

Hi, i am new to unix os. i have an existing unix(AIX) server in which we hav /usr1. now my task is to copy (EXACTLY) all the dir/sub-dir, including the owners/groups/users as well into the new Unix (AIX) servers. there are 8 dir in /usr1. but there are bunch of sub-dir/.. with diff... (1 Reply)
Discussion started by: krishnadvn
1 Replies

4. Shell Programming and Scripting

copying a file from one dir to another dir

hi i have a script compareFiles() { find /tmp/Satya -type f | \ while read filename1 do echo "----------------------------------------$filename1" find /tmp/Satya -type f | \ while read filename2 do if diff $filename1 $filename2 then echo "Both files... (3 Replies)
Discussion started by: Satyak
3 Replies

5. Shell Programming and Scripting

Moving file(s) from dir to dir

Hi, I am fairly new to writing scripts. I am trying to write a script that moves either One or All of the files from one directory to another. I know how to make the actual command to do it, but i don't quite know how to add operators to it, ie -i or -a. I want -i to move one file from... (4 Replies)
Discussion started by: SirJoeh
4 Replies

6. UNIX for Dummies Questions & Answers

How to list all files in dir and sub-dir's recursively along with file size?

I am very new to unix as well as shell scripting. I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies

7. Shell Programming and Scripting

Create file Dir and Sub Dir same time

Hi Guys , I want create files Dire and Sub Dire. as same time using variable. EX: x1="/hk/Pt/put/NC/R1.txt" x2="/hk/pt/Put/Ot/NC/RN.txt" And i want delete all after done with my script. Thanks (2 Replies)
Discussion started by: pareshkp
2 Replies

8. UNIX for Dummies Questions & Answers

copying the dir/subdir structure from one server to another?

Hi All, I want to copy the dir/subdir structure from SERVER-A to SERVER-B without copying all the files in each dir. Is it possible using SCP / SFTP command? For example, SERVER-A has following two dir/subdirectories and files under each subdir. ... (1 Reply)
Discussion started by: Hangman2
1 Replies

9. Shell Programming and Scripting

Renaming File Names in a folder/Dir

Hi Team, I'm new to Unix shell scripting . I've the following requirement A folder contains the list of files with the following format ab.name.11.first ab.name.12.second ab.name.13.third ---------- I have to rename the above file to like below ... (6 Replies)
Discussion started by: smile689
6 Replies

10. Shell Programming and Scripting

List the file names available on FTP server before selecting the required file

Below is my script code.which shows the environment name and then fetch the file from the ftp server but I am facing one issue.The script should be run in both way.We can pass the arguments with script and select the environment name then file name.Here the issue is I am not able to list the files... (1 Reply)
Discussion started by: anuragpgtgerman
1 Replies
wzdftpd(8)						      System Manager's Manual							wzdftpd(8)

NAME
wzdftpd - a modular and cool ftp server SYNOPSIS
wzdftpd [arguments] DESCRIPTION
wzdftpd is a ftp server designed to be modular and entirely configurable online using SITE commands. wzdftpd offers the following features: - Simple configuration file, supporting inclusions - Online administration, using SITE commands - Backends to store users/groups in different structures - Modules: internal, using shared librairies, or external (scripts/applications) - Users are virtual: you do not need to create users in system - SSL/TLS support - Server is designed to run as a non-privileged user to enforce security - Server can detect ip changes (dynamic ips) and set ip and passive ip accordingly - Cross devices operations (copy/move) (though can be slow) - Logging support (compatible with the wu-ftpd standard) - Designed for high performances: coded with C, multithreaded OPTIONS
-h, --help Display this text -d Delete IPC if present (Linux only) -f filename Load alternative config file -s, --force-foreground Stay in foreground -V, --version Show version. AUTHOR and CREDITS wzdftpd is written and maintained by Pierre Chifflier <pollux@wzdftpd.net> The Official wzdftpd website: http://www.wzdftpd.net/ This manpage was written by Roman Bogorodskiy <bogorodskiy@inbox.ru> SEE ALSO
ftp(1), services(5), ftpd(8). wzdftpd November 2004 wzdftpd(8)
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy