Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help on ftp script

Status
Not open for further replies.

tabloid

Programmer
Nov 28, 2001
7
US
I have to move a file from the ftp server to another server and then on that file i need to run DOS2UNIX and then generate a new file.With the newfile i need to run a perl script that strips all carriage returns and linefeeds from that file and generate a new file.On that new file i need to run a cold fusion program.
Any help would be much appreciated
 
Looks like your trying to do a bunch of things with your script. Here is a little snippet relating to the FTP part that might help.

#dataftp
#ftp script
#
ftp -inv <<!
open 192.168.10.1
user username password
bin
get filename # or put #depending on which direction
quit

Also check out the FAQ section under general unix. There might be some useful information listed there. -Danny
dan@snoboarder.net






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top