View previous topic :: View next topic
|
Author |
Message |
George Tillmon
New User
Joined: 22 Mar 2010 Posts: 27 Location: Montgomery, AL
|
|
|
|
I am trying to ftp a file from the mainframe to the lan. HOwever, I get the following error:
EZA1736I PUT 'RP.FP52.TXT' +
EZA1736I 'H:/COSTACCT/TINA/FEDERAL PORTS/BLS65SUM/BLS65SUM.TXT' +
EZA1736I (REPLACE
EZA1542I Usage: PUT localfile <foreignname>
EZA1735I Std Return Code = 27000, Error Code = 00007
EZA1701I >>> QUIT |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The error message is telling you the problem. If you read the manual, you will find that (REPLACE is an option for the GET statement; however, it is not allowed on a PUT statement. |
|
Back to top |
|
|
George Tillmon
New User
Joined: 22 Mar 2010 Posts: 27 Location: Montgomery, AL
|
|
|
|
Thanks. However, we do not have a manual around here. That is why I was trolling on the Internet.
Robert Sample wrote: |
The error message is telling you the problem. If you read the manual, you will find that (REPLACE is an option for the GET statement; however, it is not allowed on a PUT statement. |
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I don't think FTP understands the concept of a drive letter in the filename. Also, if it helps, you can always use the help command to validate the syntax of a command on the server you're communicating with. |
|
Back to top |
|
|
bodatrinadh
Active User
Joined: 05 Jan 2007 Posts: 101 Location: chennai (India)
|
|
|
|
Hi George,
If you know Mainframe server ID, You can try a Manual FTP using Command Prompt (DOS).
H:/COSTACCT/TINA/FEDERAL PORTS/BLS65SUM/ftp <Mainframe server ID>
Password:<Mainframe Password>
get 'RP.FP52.TXT' BLS65SUM.TXT
quit
Thanks
-3nadh |
|
Back to top |
|
|
|