Page 1 of 1

FTP. Connect type Login:Pass@Host

PostPosted: Thu Jan 28, 2016 12:31 pm
by crazydoc
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?

Re: FTP. Connect type Login:Pass@Host

PostPosted: Thu Jan 28, 2016 2:13 pm
by enrico-sorichetti
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.

Re: FTP. Connect type Login:Pass@Host

PostPosted: Thu Jan 28, 2016 2:33 pm
by crazydoc
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