Hello and welcome to the forum,
can anyone please tell me the rexx code to FTP a zip folder from local drive to mainframe.
As you have presented this, you probably can't do it.
What you have described (if i read your requirement correctly) is having a mainframe rexx/ftp process "pull" the data from some desktop. To do this would require the desktop be configured as an ftp server (rather than a client). Most orgainzations do not permit desktop systems to be configured as ftp servers.
Once you better describe your requirement, we may be able to make more usable suggestions.