In regards to your question "Does the directory have to be shared on both
machines?", do you mean does something like a "net use" have to be done?
No, it doesn't.
STAFProc must have read access to the file on the machine where the file
is being copied from and STAFProc must have write access on the machine
where the file is being copied to.
That means that the user that was logged on the machine when STAFProc was
started must have the appropriate access to a file.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
clayton neal <clayton_n...@yahoo.co.uk>
06/11/2009 06:19 PM
To
Sharon Lucas/Austin/i...@ibmus, Mohammad Jamal <md.shahid.ja...@gmail.com>
cc
STAF User <staf-users@lists.sourceforge.net>
Subject
Re: [staf-users] How to optimized execution of STAF command?
Just to ask a question here.
The FS copy command on Windows...
If i have PC1 and PC2, and want to copy a file between them
Does the directory have to be shared on both machines?
Regards
Clayton
From: Sharon Lucas <luc...@us.ibm.com>
To: Mohammad Jamal <md.shahid.ja...@gmail.com>
Cc: STAF User <staf-users@lists.sourceforge.net>
Sent: Friday, 12 June, 2009 0:00:39
Subject: Re: [staf-users] How to optimized execution of STAF command?
A STAF FS COPY request uses a common methodology to be able to copy a file
from any operating system to any other operating system supported by STAF
(so it's not optimized for a particular operating system). It is most
useful when you want to copy a file to a remote machine. So, yes, it's
not as fast as the Windows copy command (which only handles copying a file
to the same machine, not to a remote machine).
Note that you could use the STAF PROCESS service and submit a Windows
"copy" command if you want to copy a file to another location on the same
machine (instead of a FS COPY request).
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Mohammad Jamal <md.shahid.ja...@gmail.com>
06/11/2009 12:25 AM
To
STAF User <staf-users@lists.sourceforge.net>
cc
Subject
[staf-users] How to optimized execution of STAF command?
The STAF commmand is get more time as compared to DOS and windows command.
For example: In copying of a file of size 30 MB from local machine to
local machine,
DOS is taking less than one second, windows is taking 12 second where as
STAF is taking 18 seconds.
Can we optimized the copying process and execution of other STAF command
for local machine?
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users