FTP. Connect type Login:Pass@Host



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

FTP. Connect type Login:Pass@Host

Postby crazydoc » Thu Jan 28, 2016 12:31 pm

Good day. Tried to connect to a remote ftp server - standard jcl did not work. Checked through browser, FileZilla - it turns out the server only accepts requests of the form: Login:Pass@Host(FileZilla has not connected too). But jcl and omvs don't want to use such kind of query. Please tell me how to do it? I will be glad to examples, links to relevant documentation page, or at least hints - what to look for in Google?
crazydoc
 
Posts: 50
Joined: Fri Jul 24, 2015 12:27 pm
Has thanked: 2 times
Been thanked: 0 time

Re: FTP. Connect type Login:Pass@Host

Postby enrico-sorichetti » Thu Jan 28, 2016 2:13 pm

standard jcl

define what is standard jcl.

did You try with the command line version of ftp ...

ftp
open <url>
user <user>
password <password>


the above sequence is the one defined by the ftp rfc959

if the ftp server used does not follow the ftp standard
little can be done.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: FTP. Connect type Login:Pass@Host

Postby crazydoc » Thu Jan 28, 2016 2:33 pm

this task was used:
//FTPGVC JOB MSGLEVEL=(1,1),MSGCLASS=A,NOTIFY=&SYSUID
// EXEC PGM=FTP,REGION=0K,PARM=' (EXIT TIMEOUT 1200'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
10.200.7.2
ANONYMOUS ANON
BINARY
LCD '/usr/tmp'
GET readme.txt
QUIT

ended on time out, not having authorization(can be seen from the log)

in TSO the same thing
crazydoc
 
Posts: 50
Joined: Fri Jul 24, 2015 12:27 pm
Has thanked: 2 times
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post