Having not worked with BWS and FTP, I'm not sure if this is possible, but
you might try reading the file name into a flag and then:
If Trim$(Left$(F("FileName"), 8)) = Format(Date, "mm/dd/yy") then
download the file
End if.
 

Brian Bennett 
Affinity Health Systems 
Systems Analyst 
PBS\Clinic Billing 
(920)628-9055 
[EMAIL PROTECTED] 

 

   _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary Williams
Sent: Thursday, March 13, 2008 12:59 PM
To: [email protected]
Subject: [Talk] FTP Question


I have a script that needs to get 3 files from a vendors ftp site. The files
names change daily as the first part of 
the name is the days date.  I seem to be able to get it to work if the name
is the same but I can figure out
how to take the variable name into account.
 
Thanks,
Gary Williams

Reply via email to