Logo Search packages:      
Sourcecode: jftp version File versions  Download package

int net::sf::jftp::net::FtpConnection::upload ( String  file,
String  realName 
) [inline]

Upload and a file or directory under a given name, block until finished. Note that setting realName does not affect directory transfers

file The file to upload
realName The file to rename the uploaded file to
An int responsecode

Definition at line 1550 of file FtpConnection.java.

References upload().

        return upload(file, realName, null);

Generated by  Doxygen 1.6.0   Back to index