fP accessing a UNC named server
Don Coleman
dcoleman at dgcreact.com
Fri Sep 2 11:54:56 PDT 2005
fP v5.0.13, Windows 2000 Advanced Server, & WIN2000 & WINXP clients.
I have need from *report using @DONE processing to export and transfer a
small data file from several client machines to an FTP server on their
local network. The network administrator on site would prefer this be
done using the UNC designation of that FTP server and not have the
clients each mapped to the FTP server. Can this be done from within
fP? Ex:
COPY C:\TESTFILE \\FTPSERVER\FTP\DESTINATION
Second question, if the above is not possible, from a command line I can:
NET USE M: \\FTPSERVER\FTP
COPY TESTFILE M:\DESTINATION
This works as expected.
However, if I do this from fP using system calls I get no error
message(s) but do not get the drive mapped and hence the file is not
copied (still w/o error messages). Ex:
AA(40,*)="NET USE M: \\FTPSERVER\FTP"
AB(40,*)="COPY C:\TESTFILE M:\DESTINATION"
SYSTEM AA
SYSTEM AB;END
Also, if I add the NET USE command to my startup batch file I also do
not get any error messages and the drive is not mapped. Why is this?
Don Coleman
More information about the Filepro-list
mailing list