Configuring FTP to Work Around System Problems

FTP

Configuring FTP to Work Around System Problems

You can configure FTP to work around specific operating system problems.

PASV Warning

OS/2 and VMS machines have known problems with operations if FTP uses the PASV command. FTP warns users of these problems when connecting.

Note: 
  The ftp.ini file is not created by FTP. You need to create the file yourself using the Windows Notepad application. In Notepad, type [settings], then save the file in the user directory as ftp.ini.

To disable the PASV warning:

  1. Open the ftp.ini file.
  2. Under settings, type DisablePASVWarning=1.
  3. On the File menu, click Save.

Note: 
  This procedure works for OS/2 and VMS machines only. You can also disable the PASV mode by clearing the Use PASV Mode check box in the Connection Settings dialog box before making a connection to the server.

Protocol errors

A broken FTP server sends incorrect FTP protocol replies to system commands.

To avoid protocol errors:

  1. Open the ftp.inifile.
  2. Under settings, type ForDGOnly=1.
  3. On the File menu, click Save.

End of File characters

You can force FTP to treat Ctrl-Z characters in any ASCII file transferred to a server as the End of File (EOF) character, even if the Ctrl-Z character is in the middle of a file.

To treat Ctrl-Z as EOF:

  1. Open the ftp.ini file.
  2. Under settings, type TreatCtrlZAsEOF=1.
  3. On the File menu, click Save.

Note: 
  This procedure works only with ASCII files and can be used in conjunction with the Strip Ctrl-Z from the End of Files Sent to Server check box on the Connection tab of the Preferences dialog box.