View previous topic :: View next topic |
Author |
Message |
danm Intermediate
Joined: 29 Jun 2004 Posts: 170 Topics: 73
|
Posted: Wed Mar 18, 2009 1:38 pm Post subject: ftp code 500 |
|
|
I ftp a file (Recfm=FB, Blksize=11270, lrecl=1127) from the mainframe.
Code: |
ASCII
>>> TYPE A
200 Type set to A.
Command:
put 'host_file' testfile
>>> SITE FIXrecfm 1127 LRECL=1127 RECFM=FB BLKSIZE=11270
500 'SITE FIXRECFM 1127 LRECL=1127 RECFM=FB BLKSIZE=11270': command not understood.
>>> PORT 1111111111
200 PORT command successful.
>>> STOR testfile
150 Opening ASCII mode SSL data connection for testfile.
226 Transfer complete.
2258 bytes transferred in 0.010 seconds. Transfer rate 225.80 bytes/sec.
|
The file was ftp successfully. But there is an message code 500 'SITE FIXRECGM 1127....Command not understood'. Why I am getting it and how to get rid of it? |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
|
Back to top |
|
 |
danm Intermediate
Joined: 29 Jun 2004 Posts: 170 Topics: 73
|
Posted: Tue Mar 24, 2009 9:06 am Post subject: Another FTP question |
|
|
I issued FTP command interactively and made a typo of the local file name, FTP terminated the session automatically (quit).
Code: |
put 'local_file' remote_file
Local file not found
FTP Return Code = 27000, Error Code = 00002
>>> QUIT,
221 Goodbye
|
I didn't see an option in 'PUT' command or FTP subcommand not to quit the session automatically. |
|
Back to top |
|
 |
danm Intermediate
Joined: 29 Jun 2004 Posts: 170 Topics: 73
|
Posted: Tue Mar 24, 2009 12:58 pm Post subject: |
|
|
Never mind. I have option '(EXIT' on the FPT command. |
|
Back to top |
|
 |
|
|