Advertisement
Guest User

Untitled

a guest
Sep 11th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (void)loginToServer:(NSString *)server
  2.                  port:(NSString *)port
  3.              protocol:(VLCServerProtocol)protocol
  4. confirmedWithUsername:(NSString *)username
  5.           andPassword:(NSString *)password
  6. {
  7.  
  8.     id<VLCNetworkServerBrowser> serverBrowser = nil;
  9.     switch (protocol) {
  10.         case VLCServerProtocolFTP:
  11.         {
  12.             serverBrowser = [[VLCNetworkServerBrowserFTP alloc]initWithFTPServer:server
  13.                                                                         userName:username
  14.                                                                      andPassword:password atPath:@"/"];
  15.             break;
  16.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement