nansat99
31st March 2006, 22:43
Hi,
I used server2client() as follows.
i = server2client("/u01/matrix/matrix_new\\OPRDOV01.TXT","c:\activeproducts\OPRDOV01.TXT",true,false,false).
After this, a file is copied to my harddrive, but with no data . Can you tell me what could be the reason.
Also My intension is to copy the file from server to I drive (mapped to that drive). Is it possible to do that ?
Regards
nansat
mark_h
31st March 2006, 23:50
Why is there two "//" in the from file name? Probably should just be one "\" since it looks like you are downloading from a UNIX box. Make sure there is data in the file and make sure the target directory exists.
Yes - you can copy to a mapped drive. I use M:\Data on occasions, usually I send to c:\temp.
bdittmar
2nd April 2006, 18:26
Hello nansat,
as mark suggest, on solaris (UX) ther's no "\\" in the path.
Hope this is wrong typed.
Server2client works on all drives maped with driveletters.
i = server2client("/u01/matrix/matrix_new/OPRDOV01.TXT","<driveletter>:\activeproducts\OPRDOV01.TXT",true,false,false).
After this, a file is copied to my harddrive, but with no data . Can you tell me what could be the reason.
Regards
dorleta
3rd April 2006, 10:21
have you closed the file before?
george7a
3rd April 2006, 10:39
Hi,
This is a known thing in some Baan 5 versions. If the file is not found on the server and you are trying to copy it to the client, it will just create an empty one file on the client. Baan 4 did not do that!
So just make sure the file does exist on the server.
I hope it helps,
- George
nansat99
4th April 2006, 23:51
hi bittdar,
i = server2client("/u01/matrix/matrix_new/OPRDOV01.TXT","<driveletter>:\activeproducts\OPRDOV01.TXT",true,false,false).
I also had same problem..try tochange as follows
i = server2client("/u01/matrix/matrix_new\OPRDOV01.TXT","<driveletter>:\activeproducts\OPRDOV01.TXT",true,false,false).
regards
nansat