org.apache.ftpserver.command
Class STOU
java.lang.Object
org.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.STOU
- All Implemented Interfaces:
- Command
public class STOU
- extends AbstractCommand
STOU <CRLF>
This command behaves like STOR except that the resultant
file is to be created in the current directory under a name
unique to that directory. The 150 Transfer Started response
must include the name generated, See RFC1123 section 4.1.2.9
Constructor Summary |
STOU()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STOU
public STOU()
execute
public void execute(FtpIoSession session,
FtpServerContext context,
FtpRequest request)
throws java.io.IOException,
FtpException
- Execute command.
- Parameters:
session
- TODOcontext
- TODO
- Throws:
java.io.IOException
FtpException
getUniqueFile
protected FileObject getUniqueFile(FtpIoSession session,
FileObject oldFile)
throws FtpException
- Get unique file object.
- Throws:
FtpException
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.