cURL / Mailing Lists / curl-users / Single Mail

curl-users

ftps to mainframe

From: GSW <gsweega_at_gmail.com>
Date: Sat, 6 Jan 2007 20:18:28 -0500

Can anyone share with me some tips on the following..
I'm trying to FTPS from a Linux box to a mainframe using curl, and my issue
is the transfer keeps adding the user name to the front of the file on the
mainframe.
Is there an option I can pass to prevent this from happening?

The file on the linux box has a different name the the one that will be on
the MF.

curl -u <user>:<password> --ftp-ssl -T <file.txt>
ftp://<ourmainframe>/J.PAA304W.P3010.M12

Resulting error.

FD6').(25) Failed FTP upload: Unable to create data set
<user>.J.PAA304W.P3010.M12 for STOR command.
550 Unable to create data set <user>.J.PAA304W.P3010.M12 for STOR command.

Thanks GSW
Received on 2007-01-07