yeah that seems like another way to pull 2 different files but that wasn't my problem....
my problem was that i Had
StrCpy "5" $R0; set the length of files
StrCpy $1 0;reset the linecount
Loop:
Intop $1 $1 + 1 ;Sets line number to be read below
StrCmp $1 $R0 End ;End of File
Push $1 ;line number to read from
Push "text1.txt" ;First text file to read
Push "text2.txt" ;2nd text file to read
Call ReadFileLine2
Pop $0 ;output from file 2
Pop $1 ;Output from file 1
StrCpy $R3 $1 12 -12 ;outputs timestamp from file 1
StrCpy $R4 $EXEDIR$0 ;String 2 output
IfFileExists $R4 0 +2
MessageBox MB_OK|MB_ICONINFORMATION "hope not here"
;Goto Loop
MessageBox MB_OK|MB_ICONINFORMATION "hope it gets here"
GetFileTime "$R4" $R5 $R6
MessageBox MB_OK|MB_ICONINFORMATION "$R4 TimeStamp 1 $R5"
MessageBox MB_OK|MB_ICONINFORMATION "$R4 TimeStamp 2 $R6"
Goto Loop
i set little msgboxes through out the program to see if i was getting the right files and such. (which all returned what i was wanting them to) File two outputs a windows formated directory and File one has the Http version of the file and the timestamp from the most recent file.
so i attach it to the exedir and get the absolute path to that file on the computer and i run iffileexsists before i do anything with it cause if it isn't there then i just download a new one. if it is there then i compare the timestamp of that file that is located on their computer. if different then i download a new one.
**but before i started putting in download statments i just poped up messages which didn't display anything for the timestamp. and it was looping infinitly through the iffileexsists section (see post #3 above)