Cameron Simpson wrote:
On 20Feb2007 23:36, eng.waleed <walleed222@xxxxxxxxxxx> wrote: | how I can make cron to copy my files to ftp ? But using a .netrc file. See "man ftp" for details.
Even better, try to use a sensible non-interactive protocol like scp or rsync-over-ssh instead of ftp if possible. If you must use ftp, there are tools for command line access like ncftp, curl, or perl modules that make it easy to script file transfers.
-- Les Mikesell lesmikesell@xxxxxxxxx