View previous topic :: View next topic
|
Author |
Message |
syed-sameer-ahmed Warnings : 2 New User
Joined: 22 Feb 2007 Posts: 45 Location: Bangalore
|
|
|
|
Could anybody help or provide me with Cobol code to FTP it to server.
or Source to look up for cobol code which can FTP
thanks
Syed |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
FTP can be run as a TSO command. Look for examples on how to run TSO commands from COBOL. There are a lot of examples in this forum as in Google.
O. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
O,
Quote: |
There are a lot of examples in this forum as in Google. |
Good say. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
cobol code which can FTP |
COBOL code cannot do FTP |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
COBOL code cannot do FTP |
/smiley on
TODAY IS MY DISAGREEMENT DAY
/smiley off
Yes You can do it, it depends as usually on Your skill, and knowledge
it' s just good old plain socket programming
a google search on
Quote: |
cobol ftp socket samples |
will return many useful links |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Syed,
If you explain what you want to do rather than how you want to do it (i.e. cobol/ftp), we may be able to offer more usable suggestions.
As has been mentioned, you could do this inside cobol, but it will be more work and very possibly less flexible. |
|
Back to top |
|
|
syed-sameer-ahmed Warnings : 2 New User
Joined: 22 Feb 2007 Posts: 45 Location: Bangalore
|
|
|
|
Quote: |
cobol ftp socket samples
|
this was very useful in improving my knowledge..
Thanks to all..
Syed[/quote] |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is your cobol code now invoking ftp successfully?
If so, could you post the relevant code as it may help another sometime? If you do post your solution, it would be good to fake ip address/name, useerid, pwd, etc.
Thank you for your followup post |
|
Back to top |
|
|
|