maneesh_jain
23rd September 2009, 16:05
Hi,
I am writing a session to transfer files from a Network drive to my local PC in Baan V. I have in the past used client2server and server2client functions to transfer files between local and the host and they work very well.
For my session, I am using start.application.local:
command.line = "cmd /c copy " & source & " " & target
ret = start.application.local( command.line, false, ret2, "")
It is working fine except:
1. It does not display Progress Indicator
2. This being a DOS command, I can't use file names with spaces in them.
3. The black DOS window stays on the screen for the entire duration of the file transfer.
Can someone suggest a better way to copy files from local to local?
I am writing a session to transfer files from a Network drive to my local PC in Baan V. I have in the past used client2server and server2client functions to transfer files between local and the host and they work very well.
For my session, I am using start.application.local:
command.line = "cmd /c copy " & source & " " & target
ret = start.application.local( command.line, false, ret2, "")
It is working fine except:
1. It does not display Progress Indicator
2. This being a DOS command, I can't use file names with spaces in them.
3. The black DOS window stays on the screen for the entire duration of the file transfer.
Can someone suggest a better way to copy files from local to local?