2015年10月15日 星期四

Windows Batch Script to Test FTP List Command


http://www.howtogeek.com/howto/windows/how-to-automate-ftp-uploads-from-the-windows-command-line/




@echo off
echo USERNAME> ftpcmd.dat
echo PASSWORD>> ftpcmd.dat
echo ls>> ftpcmd.dat
echo ls >> ftpcmd.dat
echo ls >> ftpcmd.dat
echo ls >> ftpcmd.dat
echo ls >> ftpcmd.dat
echo quit >>  ftpcmd.dat

ftp -s:ftpcmd.dat IPADDRESS
del ftpcmd.dat

沒有留言:

張貼留言

2023 Promox on Morefine N6000 16GB 512GB

2023 Promox on Morefine N6000 16GB 512GB Software Etcher 100MB (not but can be rufus-4.3.exe 1.4MB) Proxmox VE 7.4 ISO Installer (1st ISO re...