Hi,
NT 14.13 C11.0.136
I am trying to save an image to the folders beneath the folder from which the web server is running. I want to save an image to \web\images folder.
My code saves the image to the folder from which the web server is running (not the desired subdirectory).
st5.SetValue(imgref)
SaveFileName = 'IN_' & p_web.GSV('JSRV:GUID') & '.png' ! this is the actual dropoff guid as file name
RelativeFileName = p_web.MakeWebRelative(SaveFileName)
ER# = st5.SaveFile(RelativeFileName) ! for direct save 1 = success, 0 = fail
I thought that p_web.MakeWebRelative(SaveFileName) would set the save directory to \web\images but that is NOT the case.
How can I get the pictures to the \web\images folder so that the server can find them and display them later?
TIA,
Ron