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

running ftp batch file and getting "permission denied"

$
0
0
I haven't done VBS in a long long time, but thought this would be pretty easy and straight forward. I have a batch file that executes a ftp command and it runs fine, however, when I try to run it within a VBS, I get "permission denied". Here is my VBS code

set oShell = CreateObject("WScript.Shell")

oShell.Run "c:\ftp.bat"

Viewing all articles
Browse latest Browse all 686

Trending Articles



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