Example: Changing transfer mode to binary mode and verifying the current mode:
ftp> type binary
200 Type set to I. ftp> type
Using binary mode to transfer files. ftp>
4.Transfer the print data to the network card using the put command. Two methods of file transfer using the put command are available.
Example: Transferring print data test.prn
ftp> put test.prn
Example: Transferring print data specified by absolute path/users/test/test.prn
ftp> put /users/test/test.prn /lp
5.Logout from the network card using the quit command.
ftp> quit
Three states can be verified using the quote command stat: the IP address, login user name and transfer mode. In addition, printer status can be verified by specifying the directory after the stat (lp, sjis, euc).
Example: Displaying network card status
ftp> quote stat
Connected to: 192.168.20.10.000.00
User logged in: root
Transfer type: BINARY
Data connection: Closed.
211 End of status. ftp>
Example: Displaying the network card status (directory
name: lp)
ftp> quote stat /lp
211 End of status ftp>