Within my app I'm creating a scripts to execute CoreFTP via the command line. I have one to PUT a file of a known name that works fine, but I have one that does a Directory listing via a command parm. it does the directory listing correctly but doesn't seem to exit properly, I call the .BAT file synchronously and the calling app hangs. Has anybody heard of this?
.BAT file for PUT: (which doesn't hang)
c:
cd c:\Program Files\CoreFTP
coreftp.exe -s -log <logfilename> -site Comdata_test -u <uploadfilename> -p /XV962/
exit %ERRORLEVEL%
.BAT file for directory list (which executes but then hangs)
c:
cd c:\Program Files\CoreFTP
coreftp.exe -s -log <logfilename> -site Comdata_test -dir /XV962/ <dirlistfilename>
Command-line Script with -DIR parm not returning properly
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am