Z
Zachariah
I created a Windows Service and part of its functionality
is to move a PDF file from a location on the service's
local drive stInPath (C:\PDF\) to a location on another
server stOutPath (\\123.123.123.123\C\PDF\) with this line
of code:
fs.MoveFile(stInPath, stOutPath)
For testing I've been using the same code in a windows
Application form. When I run the Application Form the
file move is successfull. When I run the code in my
service however, it doesn't do the move. If I have my
service move locally it works. I've tried mapping the IP
address to a drive letter and referencing that but it
doesn't move that way either. Is there some trick I'm
missing about path references in Windows Services?
is to move a PDF file from a location on the service's
local drive stInPath (C:\PDF\) to a location on another
server stOutPath (\\123.123.123.123\C\PDF\) with this line
of code:
fs.MoveFile(stInPath, stOutPath)
For testing I've been using the same code in a windows
Application form. When I run the Application Form the
file move is successfull. When I run the code in my
service however, it doesn't do the move. If I have my
service move locally it works. I've tried mapping the IP
address to a drive letter and referencing that but it
doesn't move that way either. Is there some trick I'm
missing about path references in Windows Services?