Search in sources :

Example 1 with SFTPResource

use of com.dexels.navajo.resource.sftp.SFTPResource in project navajo by Dexels.

the class SFTPResourceTest method testSFTP.

@Test
@Ignore
public void testSFTP() throws MappableException, UserException, IOException {
    SFTPResource res = SFTPResourceFactory.getInstance().getHttpResource("test");
    Binary b = new Binary(getClass().getResourceAsStream("logo.gif"));
    res.send("/share", "monkey2.gif", b);
}
Also used : Binary(com.dexels.navajo.document.types.Binary) SFTPResource(com.dexels.navajo.resource.sftp.SFTPResource) Ignore(org.junit.Ignore) Test(org.junit.Test)

Aggregations

Binary (com.dexels.navajo.document.types.Binary)1 SFTPResource (com.dexels.navajo.resource.sftp.SFTPResource)1 Ignore (org.junit.Ignore)1 Test (org.junit.Test)1