Doug - No idea why it's happening, but one workaround I would try is to insert a decode into the variable:
"filename"_D(45)_"1.txt" (45 is the ASCII code for dash). Douglas B. McGaw Newman Regional Health 1201 W. 12th Ave. Emporia, KS 66801 [EMAIL PROTECTED] 620-343-6800 x 1130 fax: 620-340-6799 ________________________________ From: meditech-l@MTUsers.com [mailto:[EMAIL PROTECTED] On Behalf Of Mead,Doug Sent: Friday, March 23, 2007 12:47 PM To: Meditech-L (E-mail) Subject: [MEDITECH-L] What's wrong with a dash and FTP I'm hoping someone can help me with an puzzling ftp issue. I have a report scheduled to go to an ftp directory. The report runs fine and lands appropriatly to the ftp directory at the designated date/time. However, in this particlar case I have a file naming requirment that includes the "-" (dash/minus sign) character, i.e. "filename-1.txt". When the report is deposited to the ftp directory, somehow, the "-" character gets changed to "_". I've tried a number of things, report title of "filename-1.txt", "filename-1.txt"^/ZFTP.TITLE both from a footnote and macro, I've tried "filename"_(1*2-1)_".txt" and other similar efforts to get a "-1" character, but all attempts leave me with "filename_1.txt". Does anyone have any ideas why this happens and is there a work around. We are a Magic 5.5 site Doug Mead Solutions Development Analyst Ascension Health Information Systems Lourdes Health Network Pasco, WA (509) 543-2416 NOTE: This e-mail message may contain information that may be privileged, confidential, and exempt from disclosure. It is intended for use only by the person to whom it is addressed. If you received this message in error, please do not forward or use this information in any way, delete it immediately, and contact the sender as soon as possible by the reply option or by telephone at the telephone number listed (if available). Thank you.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] Visit the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list meditech-l@MTUsers.com http://mtusers.com/mailman/listinfo/meditech-l