Computing.Net > Forums > Unix > Writing a Unix script to ftp files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Writing a Unix script to ftp files

Reply to Message Icon

Name: Milton
Date: October 1, 2002 at 14:34:13 Pacific
OS: Windows NT 4.0
CPU/Ram: tba
Comment:

this inquirery is to find out how to write a unix script for ftp from Lucent CMS Manpower Planning Report off the ACD into A TELECENTER SYSTEM or TCS application software Server file on a network which captures data from ACD such data columns as Calls Offered or Average Handle Time numbers by interval or every half hour.



Sponsored Link
Ads by Google

Response Number 1
Name: Ben
Date: October 2, 2002 at 05:15:29 Pacific
Reply:

This is the bit that you need to slot into your script, you need to include the brackets

Start:
(
echo "user username password"
echo "lcd /tmp"
echo "Yet more ftp cmds"
echo "Yet more ftp cmds"
echo "Yet more ftp cmds"
echo "bye"
) | ftp -vni hostname /tmp/logfile.$$
:end of script
Hope this helps


0

Response Number 2
Name: dinimal
Date: November 17, 2002 at 23:50:42 Pacific
Reply:

pls send me a help file about unix script


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Writing a Unix script to ftp files

FTP Script www.computing.net/answers/unix/ftp-script/3760.html

Script to process/search a csv file www.computing.net/answers/unix/script-to-processsearch-a-csv-file/5115.html

script to update file timestamp www.computing.net/answers/unix/script-to-update-file-timestamp/7485.html