p********b 发帖数: 7 | 1 Does dos has similar Encrypted ftp like in Unix?
For example:
The following code can be executed in one command line using EFTP
ftp -nv << EFTP >> &log.log
open....
user...
ascii
....
quit
EFTP
I know i can do the similar thing with batch file or ftp -s:script.txt
servername
But I need a script that doesn't require file creating... Since these
commands are embedded inside a powerbuilder code which uses Run() to execute
. Run(cmd) executes
c | c********x 发帖数: 84 | 2 OK, I can't 100% undertand you question, but here is the root of the
problem: when run the program, the IO is directed to the main or host
program, now you want the IO redirect to the child program, you
need to figure this out. I can't come up solution right now, but it should
not be that hard. |
|