Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

Hide DOS screen

$
0
0
I am doing a ftp in a .net windows application and running FTP commands from a .txt file. Is there a way to supress or not show the DOS screen when executing the application? Thank you.

Code:

objShell = CreateObject("WScript.Shell")
oExec = objShell.exec(cmdFTP & Chr(34) & scriptFolderName & "\" & scriptFileName & Chr(34))

FTP script File

PHP Code:

open 11.111.1.1
userid
password
cd 
/linuxmachine/data/myproject
lcd 
\\sharedfolder\data\myproject
ascii
prompt off
mget P
*
disconnect
bye 


Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>