All...
Contents of go.bat
ftp -v -n -i -s:go.scr computerName
Contents of go.scr
user userId password
ascii
cd funds/test
put SF_AD_03200301.DEL
bye
Each day there is a file generated that I need to FTP to the same location. The file name changes based on the date. The file name for the 20th of March would be in the format SF_AD_MMDDYYnn.DEL (SF_AD_03200301.DEL). There is also an identical file with a .EXP extension (SF_AD_03200301.EXP).
Is there anyway to store the system date to put only these two files even if there are several .DEL and .EXP files in the same directory?
Curious,
Matt
Contents of go.bat
ftp -v -n -i -s:go.scr computerName
Contents of go.scr
user userId password
ascii
cd funds/test
put SF_AD_03200301.DEL
bye
Each day there is a file generated that I need to FTP to the same location. The file name changes based on the date. The file name for the 20th of March would be in the format SF_AD_MMDDYYnn.DEL (SF_AD_03200301.DEL). There is also an identical file with a .EXP extension (SF_AD_03200301.EXP).
Is there anyway to store the system date to put only these two files even if there are several .DEL and .EXP files in the same directory?
Curious,
Matt