vsftp - "unknown site command error"
I'm in the process of setting up a FTP server on RedHat 8.0 - I'm using vsftp - I can login as the user I defined for FTP only from a windows machine. I also need our IBM mainframe to tranfer files to this machine. We are using the following JCL to send the file:
//FTP1 EXEC PGM=FTP,REGION=4096K,COND=(4,LT)
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
PUT 'filename.txt' /transfers
I have the home/username/transfers directory in place and can write files to the directory from the windows machine.
We get the dollowing error messages from the mainframe when it trys to transfer the file:
COMMAND INPUT ===> SCROLL
EZA1459I NAME (10.200.61.233:C8150):
EZA1701I >>> USER username
331 Please specify the password.
EZA1701I >>> PASS
230 Login successful. Have fun.
EZA1736I PUT 'filename.txt' /transfers
EZA1701I >>> SITE FIXrecfm 1350 LRECL=1350 RECFM=FB BLKSIZE=27000
500 Unknown SITE command.
EZA1701I >>> PORT 10,1,102,236,11,132
200 PORT command successful. Consider using PASV.
EZA1701I >>> STOR /transfers
553 Could not create file.
EZA1701I >>> QUIT
Silly question but does /transfers have WRITE privelages?
It says "200 PORT command successful. Consider using PASV"
Dit you try passive mode and active mode???
I have checked the permissions - If I do the ftp from a windows machine the file transfer is successful
I'm not a mainframe programmer so I'm not sure how to force the MF to use PASV. I'll pass that suggestion on to the MF programmer.
|All times are GMT -5. The time now is 08:58 PM.|