Ok, here is a simple put and get example (command line FTP on Windows)
ftp
open your_mf_host_name
user johndoe
password whatever
put c:\test.txt test.text
Now - if the target file (on the mainframe) does not exist then you will need to 'add' allocation attributes via a QUOTE SITE command before executing the put command.
Another example
quote site lrecl=80 recfm=fb
put c:\test.txt test.text
Also - depending upon how your mainframe FTP daemon is setup - Default allocation attributes etc.. you may need to do some experimenting with some puts and gets and also talk to the resident 'systems programmer/staff' to get the default attributes. These examples will allocate (create) a dataset on the mainframe with my HLQ (High Level Qualifier) - usually your TSO USERID that you log onto.
If you need to output (put) to a specific HLQ... then you need to wrap the target dataset in quotes..
Example;
put c:\test.txt 'TEST.TEXT.DATASET'
get is bascially the same man..
Here is IBM's URL to the Communications Server Bookshelf
There you want to read (if you like) the book entitled
z/OS V1R4.0 CS: IP User's Guide and Commands - FTP chapter
Here is that specific URL;
Mercator can FTP (put and get) to and from the mainframe no problem.. FTP is FTP..
zSoftware