Automate FTP / Scripting FTP Transfers | Unix Linux Forums | Answers to Frequently Asked Questions

  Go Back    


Answers to Frequently Asked Questions FAQ for UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Automate FTP / Scripting FTP Transfers

Answers to Frequently Asked Questions


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-20-2004
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 24 April 2014, 7:11 AM EDT
Location: Ashburn, Virginia
Posts: 9,838
Thanks: 42
Thanked 382 Times in 227 Posts
Automate FTP / Scripting FTP Transfers

One of our most frequent questions is how to automate ftp transfers. There are several approaches. Since I'm writing this post, we will start with my favorite technique.

In Automated FTP task I present a simple example of my ksh co-process technique. And note that later in this thread I explain how it works. And in For Loops Within Ftp Comands I show how to use the co-process technique in conjunction with a loop.

In Automated FTP we see an example of another technique called a "here document".

And in Telnet and file Copy/Delete Problem we see and example of the .netrc technique.

There are dozens of more threads, but they are all using one of the techniques above (or a combination of techniques 2 and 3). You can find them with our search function.

For a perl solution, see Perl scirpt for automatic file transfer.

connecting to Unix from windows - help has this link which may help if you need to have an ftp script on a box running Windows.

And then, there is this.

sftp is different program that uses a different protocol and has different requirements. sftp scripting recommends this site. Also see automate sftp using unix script.

Last edited by Perderabo; 05-21-2005 at 02:17 PM..
The Following User Says Thank You to Perderabo For This Useful Post:
nr_shan (10-13-2010)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
automatic SCP transfers issues Dird Security 1 07-01-2010 07:37 AM
Slow LAN FTP Transfers with FreeBSD... CyberCat IP Networking 4 02-01-2010 04:31 PM
Terminal scripting to automate login to cisco devices. Help Please ! drdread OS X (Apple) 2 01-19-2009 03:10 AM
ssh - transfers with gateway hopping Solarius UNIX for Advanced & Expert Users 2 09-29-2008 07:14 AM
History of old FTP transfers Nakul Mukerjee UNIX for Dummies Questions & Answers 4 05-02-2007 06:39 AM



All times are GMT -4. The time now is 07:29 AM.