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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by vizman

  1. vizman

    Using wildcards with Procomm

    I have found a solution. Below is a sample of the code we have used to get the results we want. We only are wanting to pull one file, so we will need to clear the file everytime we pull it. ftp remote filelist sFileSpec ;Get list of files from FTP server while $FTPSTATUS ;Loop...
  2. vizman

    Using wildcards with Procomm

    We are trying to pull the file from a remote system, yes. We are using the command: ftp remote copyfile filename However, because the filename has a timestamp, we cannot specify the exact filename. The doc appears to show this filename cannot contain wildcards. Is there another solution?
  3. vizman

    Using wildcards with Procomm

    I would like to copy a file using a procomm script. The problem is, I do not know what the last characters of the file will be at any given day. Is there anyway to pull a file like you would do with the '*'? FILENAME* would pull over a file called FILENAME123 thankyou.
  4. vizman

    How to write a large textfile (CLOB) to a tcp/ip connection

    I am trying to send a large xml file using a tcp/ip connection. The problem I am having is sending a large chunk of data (CLOB) using the utl_tcp.write_line. I am able to break the clob down into chunks of text string, but it appears the receiving location wants ALL of the text file sent in...
  5. vizman

    Procomm script - any way to execute a chmod?

    I am using a procomm script to copy a file from one server to a unix box. I would like to execute a chmod on the file to allow ALL login access to remove the file. Is there a procomm ftp command to change the permissions of the file to be read/write for all users? ex.) ftp local copyfile...
  6. vizman

    Can I change filename using ftp local copyfile?

    That worked! Thanks! So the outcome should be the following ,correct? original filename ---------------------- BARNES_XML_INV new filename ---------------------- BARNES_XML_INV_01012005 using the format(strfmt sNewFile "%s_%02d%02d%d" sOldFile iMonth iDay iYear)
  7. vizman

    Can I change filename using ftp local copyfile?

    Thank you. But to clarify, the file on the PC side is called BARNES_XML_INV - and I want to take this file and COPY it to UNIX with the date appended. So I either need to RENAME the file and THEN send to UNIX -or- change the name as it is copied over. In your example, the file with the...
  8. vizman

    Can I change filename using ftp local copyfile?

    I am new to Procomm scripts and am working off an existing one. In part, this script copies a file from a PC to a UNIX BOX, using the following command: ftp local copyfile "BARNES_XML_INV" What I would LIKE to do is copy the file to UNIX with a DATE STAMP, like so "BARNES_XML_INV" + MMDDYYYY...

Part and Inventory Search

Back
Top