declare function
ftp:connect( $uri as string, $options as object )
  as anyURI external;

declare %an:nondeterministic function
ftp:connect-nondeterministic( $uri as string, $options as object )
  as anyURI external;

declare %an:sequential function
ftp:delete( $conn as string, $remote-path as string )
  external;

declare function
ftp:get-binary( $conn as anyURI, $remote-path as string )
  as base64Binary external;

declare %an:nondeterministic function
ftp:get-binary-nondeterministic( $conn as anyURI, $remote-path as string )
  as base64Binary external;

declare function
ftp:get-text( $conn as anyURI, $remote-path as string, $encoding as string )
  as string external;

declare %an:nondeterministic  function
ftp:get-text-nondeterministic( $conn as anyURI, $remote-path as string, 
$encoding as string )
  as string external;

declare function
ftp:get-text( $conn as anyURI, $remote-path as string )
  as string
{
  ftp:get-text( $conn, $remote-path, "UTF-8" )
};

declare %an:nondeterministic  function
ftp:get-text-nondeterministic( $conn as anyURI, $remote-path as string )
  as string
{
  ftp:get-text( $conn, $remote-path, "UTF-8" )
};

declare function
ftp:list( $conn as anyURI, $remote-path as string )
  as object* external;

declare %an:nondeterministic function
ftp:list-nondeterministic( $conn as anyURI, $remote-path as string )
  as object* external;

declare %an:sequential function
ftp:mkdir( $conn as string, $remote-path as string )
  external;

declare %an:sequential function
ftp:put-binary( $conn as anyURI, $binary as base64Binary,
                $remote-path as string )
  external;

declare %an:sequential function
ftp:put-text( $conn as anyURI, $text as string, $remote-path as string,
              $encoding as string )
  external;

declare %an:sequential function
ftp:put-text( $conn as anyURI, $text as string, $remote-path as string )
{
  ftp:put-text( $conn, $text, $remote-path, "UTF-8" )
};

declare %an:sequential function
ftp:rename( $conn as string, $remote-from-path as string,
            $remote-to-path as string )
  external;

declare %an:sequential function
ftp:rmdir( $conn as string, $remote-path as string )
  external;

-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-ftp-client/+merge/201082
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to