camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Asmuss <andreasasm...@gmail.com>
Subject Re: FTP on MVS filesystem.
Date Fri, 23 Jul 2010 11:33:39 GMT

Hi Claus

> I wonder if when downloading you need to CD to the directory first and
> then download the file.

Correct - you have to be placed in the same directory as the file you want
to download it and do "GET filename". You cannot do something like this: get
'SDN.OUT.EDI'/file001 which Camel-ftp does at the moment.

---

ftp> cd 'SDN.OUT.EDI'
250 "SDN.OUT.EDI." is the working directory name prefix.
ftp> ls
200 Port request OK.
125 List started OK
FILE001
FILE002
250 List completed successfully.
ftp: 34 bytes received in 0,00Seconds 34000,00Kbytes/sec.
ftp> cd ..
250 "SDNEDIP.UD." is the working directory name prefix.
ftp> cd ..
250 "SDNEDIP." is the working directory name prefix.
ftp> cd ..
250 "" is the working directory name prefix.
ftp> get 'SDN.OUT.EDI'/FILE001
200 Port request OK.
550 Mismatched quotes on pathname 'SDN.OUT.EDI'/FILE001
ftp> get 'SDN.OUT.EDI/FILE001'
200 Port request OK.
501 Invalid data set name "'SDN.OUT.EDI/FILE001'".  Use MVS Dsname
conventions.
-- 
View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1843293.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message