Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2002
    Posts
    2

    Unanswered: help on ftp script

    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

  2. #2
    Join Date
    Apr 2002
    Location
    California, USA
    Posts
    482

    Cool

    What is the OS on which you are running those scripts?

    If you have *NIX, to strip symbols use:

    sed 's/<symbol_to_strip>//g' old_file> new_file

    For the ftp side use: This example

    The rest of it seems you can do it yourself.

    Hope that helps,

    clio_usa
    OCP DBA
    Visit our web site
    .
    .
    .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •