Trying to learn the PB FTP commands a few at a time and having an issue with the following (highly modified sample program) code:
InitNetwork()
If OpenFTP(0, "server", "userID", "password", 0)
SetFTPDirectory(0, "/interface")
SetFTPDirectory(0, "ftp")
SetFTPDirectory(0, "prod")
CurrDir ...