11-19-2004
check out mget.
Also, try searching for 'coprocess ftp' on this forum. Perderabo has posted examples of using ksh coprocesses to automate ftp.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Some users get on our server with ftp with a specific username (i.e. guest). The users guest has an own group. The user guest is in the path /usr/guests after login.
How can I lock the user guest that he don't get up to the /usr treee. I tried to change the rights for the ..
But it's not anymore... (1 Reply)
Discussion started by: arn_ch
1 Replies
2. UNIX for Dummies Questions & Answers
can you download folders when in ftp or is the only way to download more then one file by mget?? (6 Replies)
Discussion started by: eloquent99
6 Replies
3. UNIX for Advanced & Expert Users
i have been busy getting accustomed to ssh and ftp and have a remote account that I am trying to comprehend.. my question is when I use ftp, ssh and remote accounts where do I download packages to.. which directory..
i have a cooledit package that is tarred and gziped which I ncftpd from... (6 Replies)
Discussion started by: moxxx68
6 Replies
4. UNIX for Dummies Questions & Answers
Hi guyz,
Is there any way to ftp a whole directory structure.
I mean is there any way using which I can get the whole directory ftpied including the subdirectories
Thanks and regards,
Gauravv (17 Replies)
Discussion started by: gauravgoel
17 Replies
5. Shell Programming and Scripting
HI,
I'm downloading one day old files from ftp site.
Below is my script
----------------------------
printf "open $HOST \n" > ftp.cmd
printf "user $USER $PASSWD\n" >> ftp.cmd
printf "bin\n" >> ftp.cmd
#printf "cd /Models/\n" >> ftp.cmd
printf "prompt\n" >> ftp.cmd
printf "for oldfile... (4 Replies)
Discussion started by: shekhar_v4
4 Replies
6. Shell Programming and Scripting
Hello guys,
i'm searching for a solution how to download all files from root-directory of an ftp-server through an ftp proxy
getting through the ftp proxy and download one file with get ist no problem, but mget * does nothing!
ftp -n -i -v <<EOF
open proxyHost proxyPort
user... (19 Replies)
Discussion started by: macProgger23
19 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
I've got my own domain, ftp etc.. I'm using cPanel and I want to download a file periodically, every say 24 hours.
I've used this command:
wget -t inf http : / / www . somesite . com / webcam.jpg
ftp : / / i @ MyDomain . net : Password @ ftp . MyDomain . net^no spaces... (24 Replies)
Discussion started by: zYx
24 Replies
8. Shell Programming and Scripting
Hi every one,
I have the requirement to download the files from FTP and move those files to unix box. Once after coping the files, i need to remove the files in FTP.
I'm a newbie in Unix script. Can you please suggest a script for this.. Thanks in advance.. (2 Replies)
Discussion started by: Murali4u
2 Replies
9. Shell Programming and Scripting
Hi All,
I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies
10. Shell Programming and Scripting
I have system that generate files every 1 hours , i only have ftp connection from my local server to remote .
$ ls -al
-rw-r--r-- 1 water None 0 Feb 7 18:09 a.0800
-rw-r--r-- 1 water None 0 Feb 7 18:09 a.0900
-rw-r--r-- 1 water None 0 Feb 7 18:09 a.1000
is there any perl / php... (3 Replies)
Discussion started by: before4
3 Replies
LEARN ABOUT SUSE
simpleftp
SIMPLEFTP(1) InterNetNews Documentation SIMPLEFTP(1)
NAME
simpleftp - Rudimentary FTP client
SYNOPSIS
simpleftp url [...]
DESCRIPTION
simpleftp is a Perl script that provides basic support for fetching files with FTP in a batch oriented fashion. It takes one or more FTP
URLs on the command line. The file(s) will be retrieved from the remote server and placed in the current directory with the same basename
as on the remote; e.g., <ftp://ftp.isc.org/pub/usenet/CONFIG/active.gz> is stored as active.gz in the current directory.
The script properly understands usernames, passwords and ports specified as follows:
ftp://user:password@host:port/path/file
BUGS
simpleftp is an extremely poor substitute for more complete programs like the freely available wget or ncftp utilities. It was written
only to provide elementary support in INN for non-interactive fetching of the files in <ftp://ftp.isc.org/pub/pgpcontrol/> or
<ftp://ftp.isc.org/pub/usenet/CONFIG/> without requiring administrators to install yet another package. Its shortcomings as a general
purpose program are too numerous to mention, but one that stands out is that downloaded files by simpleftp override existing files with the
same name in the local directory.
HISTORY
Tossed off by David C Lawrence <tale@isc.org> for InterNetNews. Rewritten to use "Net::FTP" by Julien Elie.
$Id: simpleftp.pod 8357 2009-02-27 17:56:00Z iulius $
SEE ALSO
actsync(8).
INN 2.5.2 2009-05-21 SIMPLEFTP(1)