When I'm befuddled by apparently simple things like this (I almost always forget the "\" between the two flags), I put the two flags together first into another flag and then put that flag in the function. That way you can see exactly what's going on.
Rich McNeil Boston Software Systems 866 653 5105 x 813 www.bostonworkstation.com See us at MUSE booth 318 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scaccia, Kimberly Sent: Thursday, August 23, 2007 9:47 AM To: [email protected] Subject: [Talk] sending files FTP I am writing a script to send files FTP. If I specifically type the file name (exactly as it is on the local drive), it works: SendFTP "C:\DailyFiles\complete.txt", "", "10.105.13.237", "ftphmcm", "ftphmcm", , "", False However, if I attempt to use flags to tell the action which files to send, it doesn't work. The flags, temselves, are working and if I paste the information from my script into the immediate window, it comes back with the correct file name -- What am I missing???? SendFTP F("DRIVE") & F("TEST"), "", "10.105.13.237", "ftphmcm", "ftphmcm", , "", False Any help is appreciated. Kim Scaccia Halifax Medical Center 386-226-4590 opt 1 ext 2018
