Tag Archives: useful commands

Useful FTP commands for IBMi

Open connection to i

ftp ibminame

Change file system format from “system mode” (i.e. /Qsys.Lib/Myfile.file/MyMember.mbr ) to “IFS mode” (i.e. /var/www ) to change directories (cd) on the IFS

site NAMEFMT 1

Turn off interactive mode (so you don’t have to say yes to ever FTP upload)

prompt

change to binary mode when uploading files that aren’t text

bin

upload multiple files based on file type.

mput *.{filetype}