I seem to be having a very strange issue when trying to do an iContentFile for a file to post to a site. Does this function have a limit? The error 307 I am getting seems very strange to me. Am I just missing something? This code has worked for YEARS with no issue. Please find included a snippet of the debugged code
fs=FileSize("o:\employees\work\singlefile.xml")
(193629) VALUE INT => 73879905
bbsize=fs+2000000
(193629) VALUE INT => 75879905
bb=BinaryAlloc(bbsize)
(193829) VALUE BINBUF => 987659
BinaryEODSet(bb,bbsize)
(193829) VALUE INT => 0
bbaddr=IntControl(42,bb,0,0,0)
(194029) VALUE STRING => "738525216"
endofcontent=0
(194039) VALUE INT => 0
endofcontent = iContentFile(bbaddr, endofcontent, "fileName", "o:\employees\work\singlefile.xml", "text/plain")
(194460) VALUE INT => 0
EXTENDER ERROR SUPPRESSED =>307 (307: File Access Failed)