IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP a file programatically


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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

Global Moderator


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

PostPosted: Wed Jun 07, 2006 5:50 pm
Reply with quote

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

Global Moderator


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

PostPosted: Wed Jun 07, 2006 6:48 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top