FTP zip folder from local drive to mainframe



IBM's Command List programming language & Restructured Extended Executor

FTP zip folder from local drive to mainframe

Postby kuldeep negi » Mon Apr 27, 2009 4:09 pm

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.
kuldeep negi
 
Posts: 21
Joined: Mon Apr 27, 2009 3:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP zip folder from local drive to mainframe

Postby MrSpock » Mon Apr 27, 2009 4:19 pm

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?
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: FTP zip folder from local drive to mainframe

Postby kuldeep negi » Mon Apr 27, 2009 4:47 pm

thank a lot for the information.
i joined this forum today only so please excuse me.
kuldeep negi
 
Posts: 21
Joined: Mon Apr 27, 2009 3:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP zip folder from local drive to mainframe

Postby MrSpock » Mon Apr 27, 2009 5:24 pm

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.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: FTP zip folder from local drive to mainframe

Postby dick scherrer » Mon Apr 27, 2009 7:57 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: FTP zip folder from local drive to mainframe

Postby kuldeep negi » Tue Apr 28, 2009 1:10 pm

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,
kuldeep negi
 
Posts: 21
Joined: Mon Apr 27, 2009 3:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP zip folder from local drive to mainframe

Postby MrSpock » Tue Apr 28, 2009 4:09 pm

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?
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post