Code: Select all
put url "ftp://user:password@servername.server.com/SOME.DATA.REPORTS/REPORT1" into fld "output"
With the Linux/Unix FTP CLI client, this works as follows
Code: Select all
ftp X.X.X.X
Connected to X.X.X.X.
220 *** MVS FTP Daemon on X.X.X.X ***
Name (X.X.X.X:USER):
331 Okay, waiting for password.
Password:
230 You are now logged in.
Remote system type is MVS.
ftp> ascii
200 Type set to A
ftp> cd SOME.DATA.REPORTS
250 CWD command successful
ftp> get REPORT1
local: REPORT1 remote: REPORT1
227 Entering Passive Mode (X,X,X,X,194,140)
150 Now opening data connection
18615 1.69 MiB/s
226 Transfer complete!
18615 bytes received in 00:00 (1.67 MiB/s)
ftp> quit
221 Bye!