curl-users
Changing to a directory on MVS
Date: Wed, 13 Dec 2006 07:32:14 -0800
Here is the exact output when using two slashes - it still states the
working directory as RDFTP instead of RDHRM
> USER rdftp
< 331 Send password please.
> PASS password
< 230 RDFTP is logged on. Working directory is "RDFTP.".
* We have successfully logged in
> PWD
< 257 "'RDFTP.'" is working directory.
* Entry path is ''RDFTP.''
* protocol connect phase DONE
* DO phase starts
> CWD /RDHRM
< 550 CWD cmd failed : EDC5129I No such file or directory.
(errno2=0x05190050)
* DO phase is comlete
* Remembering we are in dir /RDHRM/HRUPD.DATA
* Uploaded unaligned file size (0 out of 893 bytes)
* Closing connection #0
curl: (9) Uploaded unaligned file size (0 out of 893 bytes)
Below is what happens with a single slash - the working directory is
RDFTP and needs to be RDHRM
> USER rdftp
< 331 Send password please.
> PASS password
< 230 RDFTP is logged on. Working directory is "RDFTP.".
* We have successfully logged in
> PWD
< 257 "'RDFTP.'" is working directory.
* Entry path is ''RDFTP.''
* protocol connect phase DONE
* DO phase starts
> CWD RDHRM
< 250 "RDFTP.RDHRM." is the working directory name prefix.
> EPSV
* Connect data stream passively
* DO phase is comlete
* DO-MORE phase starts
> TYPE I
< 200 Representation type is Image
> STOR HRUPD.DATA
< 550-SVC99 Return code=4 S99INFO=0 S99ERROR=38668 HEX=970C S99ERSN code
X'000042CE').
< 550 Unable to create data set RDFTP.RDHRM.HRUPD.DATA for STOR command.
* Failed FTP upload: 550
* DO-MORE phase ends
* Remembering we are in dir RDHRM/
* Uploaded unaligned file size (0 out of 893 bytes)
* Closing connection #0
curl: (25) Failed FTP upload: 550
Received on 2006-12-13