Search code examples
ftpmks.netrc

How to use .netrc when running MKS Toolkit on Windows?


I am moving an application from Unix (AIX) to Windows. We have MKS Toolkit on the Windows server in order to run our shell scripts fairly unchanged. However, my old FTP jobs depend on the .netrc file. Can anybody tell me whether .netrc is supported under MKS Toolkit, and if yes, where to put the file?


Solution

  • http://www.mkssoftware.com/docs/man4/netrc.4.asp :

    The .netrc file is a text file residing in your home directory [...]

    http://www.mkssoftware.com/docs/man1/bsdftp.1.asp

    If auto-login is enabled, bsdftp checks the .netrc file in the user's home directory [...]