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}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s