Hi,
For a starter on this discussion.
See the responses below.......Was this transfer done in a piece of JCL or did it use an agent?
Depending on the answer to the above question determines the answers slightly.
In either case, ESP is not involved in the FTP. When an agent is used the Java FTP program in the agent is used.
1) Normally as part of the 451 message or the next message it will say whether it is a space issue. If you would like send all the messages from the FTP. Usually for a space issue there will be something like an SB37 message.
2) Make sure the space that is allocated is sufficient for the file that is going to be transferred into it. This varies widely depending on the dataset. Someone will ding me on my following statement. Space is relatively cheap these days. It is best to overallocate it. This will cover it for files that vary from day to day.
3) Space can be included as part of the FTP SITE commands.
4) I do not know how much space the system gives by default to an FTP.
5) There is not an absolute method that will guarantee enough space on the mainframe.
2¢