Using passive mode for an FTP session with Windows command line tools such as CeGetter

Article:TECH100578  |  Created: 2004-01-11  |  Updated: 2005-01-01  |  Article URL http://www.symantec.com/docs/TECH100578
Article Type
Technical Solution


Environment

Issue



You use CeGetter or other command line FTP tools to download virus definitions from the Symantec FTP servers. Your firewall only allows passive mode FTP connections.


Solution



All of the default Windows clients do not support passive mode FTP (for more info read this Microsoft support article). You need to locate and download an FTP client that supports passive connections. One option is to find and use a program that supports SSLFTP, which allows your FTP connections to be secured via an encrypted SSL connection as well. After you download and install a client, you must modify the CeGetter.bat script to use your new client rather than the default Windows FTP connection.

You need to change the first line of the CeGetter.bat script in order to use your new FTP client. For example:

-s:cescript.txt
call "%systemdrive%\navup8.exe"
move %systemdrive%\*.xdb C:\Program Files\SAV
del /q %systemdrive%\navup8.exe


Note: The above example assumes your FTP client supports the same command line options as the Windows default FTP server. You should read the documentation for your client to make the appropriate modifications.







Legacy ID



2004031112260048


Article URL http://www.symantec.com/docs/TECH100578


Terms of use for this information are found in Legal Notices