\ DriveHQ Customer Support Forum \
已讀/回覆 : 43849/0
  • authotkey
  • (1貼文)

 Hi all, so I am trying to run a batch file to upload file via cmdftp using your tutorial. I know how to run the batch file silently, but the batch file calls a script that I don't know how to hide (so whenever this file runs, the command line window will pop up until it is finished)

For example, the batch file is

Code: [Select]

cmdftp -s:ftpscript.txt -d:"Log.txt"
the script is

Code: [Select]

open ftp.drivehq.com
USERNAME
xxxxxxxxx
cd test
delete orders.xml.bak
rename orders.xml orders.xml.bak
put c:\test\orders.xml
quit

I think i need to add something to the script file itself to make it run silently but I don't know what. Any help is greatly appreciated!


25/9/2021 10:17:20

收藏並分享
快速回覆

請 登入 回覆如下: 還不是DriveHQ會員?


Leading Cloud Surveillance service

Leading Enterprise Cloud IT Service Since 2003