The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Answers to Frequently Asked Questions
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


Answers to Frequently Asked Questions Please look in here before posting your questions.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Automate FTP borncrazy Shell Programming and Scripting 11 02-20-2008 08:10 PM
History of old FTP transfers Nakul Mukerjee UNIX for Dummies Questions & Answers 4 05-02-2007 03:39 AM
Automate FTP CamTu UNIX for Advanced & Expert Users 4 02-25-2005 06:08 AM
text files, ASCII files, binary files and ftp transfers Perderabo Answers to Frequently Asked Questions 0 04-08-2004 01:25 PM
automate an ftp job flowrats UNIX for Dummies Questions & Answers 11 07-24-2002 05:47 AM

 
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-20-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,207
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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 11:17 AM.
Google UNIX.COM
Forum Sponsor
 



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 07:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102