vbscript - cmd and ftp.exe error WScript.Shell -


hoping help

i using script ftp 1 of servers.

<%     set oshell = createobject("wscript.shell")     cmdline = "c:\windows\system32\ftp.exe -v -i -s:c:\windows\system32\ftp.exe -s:"+request.form("website")+""     tempret = oshell.run("c:\windows\system32\cmd.exe /c " & cmdline, 0, true)     set oshell = nothing    waittime = numberoffiles * 2     starttime = timer     while timer < starttime + waittime     loop  %> 

i error code, , can not figure out.

error 'fffffffe'

the line

cmdline = "c:\windows\system32\ftp.exe -v -i -s:c:\windows\system32\ftp.exe -s:"+request.form("website")+"" 

seems have 2 + symbols. converts cmdline variable int value 0. replace crosses pretzels (&).
not know if source of problem, not correct.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -