I'm having problems getting WebSpeed to write a file out to a mapped network drive.
Originally, I had WebSpeed output the file to the C:\. This works without any problems.
/* Write file to Server_A */
ASSIGN tmpFN = "C:\xml24\MPR\" + tmpRN + ".xml".
OUTPUT TO value(tmpFN).
I mapped a drive to another server and created the two directories that are required. I changed the drive letter in my code so that it now states:
/* Write file to Server_B */
ASSIGN tmpFN = "T:\xml24\MPR\" + tmpRN + ".xml".
OUTPUT TO value(tmpFN).
The problem is that it will not create a file on the mapped drive. I logged onto this server to verify that the following path exist on Server_B: "C:\xml24\MPR\"
Does anyone have any suggestions on what is happening?
Also, I could just as easily create the xml file on the C:\ drive and move it to the T:\ drive. I have no preference. I've tried playing around with running DOS commands through WebSpeed, but I think my syntax is wrong:
DOS SILENT value("copy c:\xml24\mpr\*.xml c:\test\").
Thanks,
CR Junk
Originally, I had WebSpeed output the file to the C:\. This works without any problems.
/* Write file to Server_A */
ASSIGN tmpFN = "C:\xml24\MPR\" + tmpRN + ".xml".
OUTPUT TO value(tmpFN).
I mapped a drive to another server and created the two directories that are required. I changed the drive letter in my code so that it now states:
/* Write file to Server_B */
ASSIGN tmpFN = "T:\xml24\MPR\" + tmpRN + ".xml".
OUTPUT TO value(tmpFN).
The problem is that it will not create a file on the mapped drive. I logged onto this server to verify that the following path exist on Server_B: "C:\xml24\MPR\"
Does anyone have any suggestions on what is happening?
Also, I could just as easily create the xml file on the C:\ drive and move it to the T:\ drive. I have no preference. I've tried playing around with running DOS commands through WebSpeed, but I think my syntax is wrong:
DOS SILENT value("copy c:\xml24\mpr\*.xml c:\test\").
Thanks,
CR Junk