Page 1 of 1

FTP zip folder from local drive to mainframe

PostPosted: Mon Apr 27, 2009 4:09 pm
by kuldeep negi
Hi all,

can anyone please tell me the rexx code to FTP a zip folder from local drive to mainframe.
i am accessing mainframe using remote login.

Thanks.

Re: FTP zip folder from local drive to mainframe

PostPosted: Mon Apr 27, 2009 4:19 pm
by MrSpock
It's not the purpose of this forum to write code for you. We'll assist you to write your own. You left out an awful lot of details. I don't know of any REXX function that would do this, so something more has to be involved:

- Where will this process run (mainframe or another server)?
- What commands and/or programs are you using to do the transfer? Have you tested the process first manually?
- What is the relevance of the file being zipped to this process?
- Do you have the security appropriate authorities to do this?

Re: FTP zip folder from local drive to mainframe

PostPosted: Mon Apr 27, 2009 4:47 pm
by kuldeep negi
thank a lot for the information.
i joined this forum today only so please excuse me.

Re: FTP zip folder from local drive to mainframe

PostPosted: Mon Apr 27, 2009 5:24 pm
by MrSpock
You don't need to apologize. You do, however, need to provide a lot more details about how the process will work for your system based on your particular needs.

Re: FTP zip folder from local drive to mainframe

PostPosted: Mon Apr 27, 2009 7:57 pm
by dick scherrer
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.

Re: FTP zip folder from local drive to mainframe

PostPosted: Tue Apr 28, 2009 1:10 pm
by kuldeep negi
i have a zip folder (containing multiple text files) in the remote desktop. i want to FTP all the text files in that zip folder into the mainframes(which is also in same remote). till now we were doing it manually for each text file.

can rexx be used for automatizing this process?

thanks,

Re: FTP zip folder from local drive to mainframe

PostPosted: Tue Apr 28, 2009 4:09 pm
by MrSpock
kuldeep negi wrote:till now we were doing it manually for each text file.


How exactly are you doing this manually? As Dick has already mentioned, the chances of a normal desktop machine with a running FTP server is extremely slim. Is this machine an exception? Does your manual process already involve running an FTP from the mainframe?