Sponsored Content
Full Discussion: good old shell ftp...how!
Top Forums Shell Programming and Scripting good old shell ftp...how! Post 302300985 by jason7 on Wednesday 25th of March 2009 01:56:57 PM
Old 03-25-2009
Question good old shell ftp...how!

hi:

I am trying to move files from server to server with ftp.

I want the command to read a folder and upload all subdirs and files.

what is the command to do this?

is there something cooler than ftp? if so. how to use it?

thanks again.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

good book for unix shell programming

hi, i am ajay. I need a good book for shell programming. a book which covers from fundamental to advance shell programming. (3 Replies)
Discussion started by: ajaygodbole
3 Replies

2. Shell Programming and Scripting

verify ftp status is "good"

Hello, From reading prior "threads", my script looks like this: #!/bin/ksh -x ftpresults=`ftp -nv $ftphost1 << EOB user $ftpuser $ftppwd put $ftp_file $ft put $ftp_file $ft1 bye EOB` ftp_ctr=`echo $ftpresults | grep "226 Transfer complete" | wc -l`... (4 Replies)
Discussion started by: blt123
4 Replies

3. Shell Programming and Scripting

Good books on Shell Scripting

All, I am new to shell scripting. Can you guys suggest me some good books/online tutorials for shell scripting(KSH/BASH)? Thanks in advance. Janardhan. (1 Reply)
Discussion started by: raok1997
1 Replies

4. Shell Programming and Scripting

needed very good link for Shell script

I am new to shell script.I need a link which explains basic concepts for shell scrpting (1 Reply)
Discussion started by: rajareddy_24
1 Replies

5. UNIX for Dummies Questions & Answers

Good Book For Unix And Shell Scripting

Hello people.I'm new to the forum and would like to seek your opinion in purchaing a copy of a good Unix and Shell scripting book. I have good knowledge of basic unix concepts and now i would like to delve into more details. Your suugestion much appreciated. Thx (1 Reply)
Discussion started by: aeontoam82
1 Replies

6. Shell Programming and Scripting

Help for good books in Shell Scripting

Hi, I am knew to Shell Scripting. Can someone please tell me some good books for Shell Scripting which explains in a very simple language and covers all the topics nicely. Thanks, Shubh. (3 Replies)
Discussion started by: shubhranshu
3 Replies

7. UNIX for Dummies Questions & Answers

any good book for Shell Scripting ?

Hi , I am aware of basics of UNIX like general commands for files & directories. However now I have to move on to shell programming . Please suggest any good book for beginners for shell programming basics & advanced which might have some practice questions also. Thanks, Ankur (4 Replies)
Discussion started by: ankurvohra
4 Replies

8. Shell Programming and Scripting

Good site for Shell Programming

Hi unixers, :) I found some Good sites for learning Shell Programming. I Hope they will be useful to all of You. http://steve-parker.org/forum/ http://www.e-learningcenter.com/freecourses.htm similarly ,if u find any very good sites for shell programming pls post them, so that they will... (6 Replies)
Discussion started by: ravi raj kumar
6 Replies

9. Solaris

A good ftp client

Can anyone please suggest a agood ftp client(GUI) which would support sftp ...on solaris. I badly need it. I keep doing the transfers frequently, and some of them are binary and I am not sure how I change the mode to binary. To avoid this and other hassles, it would help if i have a GUI client. ... (6 Replies)
Discussion started by: Naanu
6 Replies

10. Shell Programming and Scripting

any good book for shell programming and scripting??

as title suggest i am looking for good book to start learning shell programming.please help me with this. (5 Replies)
Discussion started by: pvk21
5 Replies
ftpd_selinux(8) 					 ftpd SELinux policy documentation					   ftpd_selinux(8)

NAME
ftpd_selinux - Security-Enhanced Linux policy for ftp daemons. DESCRIPTION
Security-Enhanced Linux provides security for ftp daemons via flexible mandatory access control. FILE_CONTEXTS SELinux requires files to have a file type. File types may be specified with semanage and are restored with restorecon. Policy governs the access that daemons have to files. Allow ftp servers to read the /var/ftp directory by adding the public_content_t file type to the directory and by restoring the file type. semanage fcontext -a -t public_content_t "/var/ftp(/.*)?" restorecon -F -R -v /var/ftp Allow ftp servers to read and write /var/tmp/incoming by adding the public_content_rw_t type to the directory and by restoring the file type. This also requires the allow_ftpd_anon_write boolean to be set. semanage fcontext -a -t public_content_rw_t "/var/ftp/incoming(/.*)?" restorecon -F -R -v /var/ftp/incoming BOOLEANS
SELinux policy is based on least privilege required and may also be customizable by setting a boolean with setsebool. Allow ftp servers to read and write files with the public_content_rw_t file type. setsebool -P allow_ftpd_anon_write on Allow ftp servers to read or write files in the user home directories. setsebool -P ftp_home_dir on Allow ftp servers to read or write all files on the system. setsebool -P allow_ftpd_full_access on Allow ftp servers to use cifs for public file transfer services. setsebool -P allow_ftpd_use_cifs on Allow ftp servers to use nfs for public file transfer services. setsebool -P allow_ftpd_use_nfs on system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. SEE ALSO
selinux(8), ftpd(8), setsebool(8), semanage(8), restorecon(8) dwalsh@redhat.com 17 Jan 2005 ftpd_selinux(8)
All times are GMT -4. The time now is 09:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy