Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP a file programatically

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
indianrajput

New User


Joined: 02 Nov 2004
Posts: 6

PostPosted: Wed Jun 07, 2006 3:57 pm    Post subject: FTP a file programatically
Reply with quote

I don't know if you can help me or not? I want to send an image file to the server(site) programmatically .
on the other word I want to upload the file (image) to the site like the FTP the option 6 (command prompt) in the TSO ispf menu but do it programmatically whithout user interference.

may be there is way in cobol for using ftp to solv this problem?
Back to top
View user's profile Send private message

kamran

New User


Joined: 01 May 2005
Posts: 55

PostPosted: Wed Jun 07, 2006 4:22 pm    Post subject: Re: FTP a file programitically
Reply with quote

Hi,
Can I ask why don't you use jcl to upload/download files between mainfram and PC using FTP.!
Certainly you know how to use FTP facilities through JCL.

indianrajput wrote:
I don't know if you can help me or not? I want to send an image file to the server(site) programmatically .
on the other word I want to upload the file (image) to the site like the FTP the option 6 (command prompt) in the TSO ispf menu but do it programmatically whithout user interference.

may be there is way in cobol for using ftp to solv this problem?
Back to top
View user's profile Send private message
indianrajput

New User


Joined: 02 Nov 2004
Posts: 6

PostPosted: Wed Jun 07, 2006 4:32 pm    Post subject:
Reply with quote

Hi Friend,

I know FTP by user interface thr' option 6 of ISPF menu. But dont know otherways. If you know could you please help me in this regard with code.


Regards,
bks
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Wed Jun 07, 2006 5:50 pm    Post subject: Re: FTP a file programitically
Reply with quote

See this recent post.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Wed Jun 07, 2006 6:48 pm    Post subject: Re: FTP a file programitically
Reply with quote

By the way, for what it's worth, I searched with Google to find out how to call the FTP program from COBOL. You may want to look into the details described here in this link.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us