This commit is contained in:
Shikhar Bhushan
2010-05-21 23:49:20 +01:00
parent 700998d064
commit 6ef3dacc81

View File

@@ -114,7 +114,6 @@ public class SFTPEngine
public RemoteFile open(String path, Set<OpenMode> modes, FileAttributes fa)
throws IOException {
final String handle = doRequest(
newRequest(PacketType.OPEN).putString(path).putInt(OpenMode.toMask(modes)).putFileAttributes(fa)
).ensurePacketTypeIs(PacketType.HANDLE).readString();