Skip to content
October 3, 2009 / windperson

在Windows Server 2008讓SQL Server Agent 2008可以穿過Windows 防火牆使用FTP connection的方法

 

用Command視窗執行下列指令:

  1. To open port 21 on the firewall, type the following syntax then hit enter:

    netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=21

  2. To enable stateful FTP filtering that will dynamically open ports for data connections, type the following syntax then hit enter:

    netsh advfirewall set global StatefulFtp enable

轉載自:
FTP Task Blocked When Run in SQL Server Agent

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: