j*******r 发帖数: 201 | 1 hi,
I want to make a batch file to download some files automatically
like this,
ftp
open my.download.com
user aaa aaa@ddd
ls
get aaa.zip
close
by
Can any daxia told me how to do it?
Thanks. | n*o 发帖数: 442 | 2 man wget and crontab
【在 j*******r 的大作中提到】 : hi, : I want to make a batch file to download some files automatically : like this, : ftp : open my.download.com : user aaa aaa@ddd : ls : get aaa.zip : close : by
| s**i 发帖数: 30 | 3 a sample code:
#! /bin/sh
# $Id: ftpget,v 1.2 91/05/07 21:15:43 moraes Exp $
# Script to perform batch anonymous ftp. Essentially converts a list of
# of command line arguments into input to ftp.
# Simple, and quick - written as a companion to ftplist
# -h specifies the remote host (default prep.ai.mit.edu)
# -d specifies the remote directory to cd to - you can provide a sequence
# of -d options - they will be cd'ed to in turn. If the paths are relative,
# make sure you get the sequence right. B
【在 j*******r 的大作中提到】 : hi, : I want to make a batch file to download some files automatically : like this, : ftp : open my.download.com : user aaa aaa@ddd : ls : get aaa.zip : close : by
| j*******r 发帖数: 201 | 4 There is no wget in my Unix and I have no permission to use crontab.
【在 n*o 的大作中提到】 : man wget and crontab
|
|