ASPersistentFaspSession

@interface ASPersistentFaspSession : ASAbstractFaspSession

A FASP session that allows adding files to the session while the transfer is running.

This class represents a persistent FASP session (as opposed to ASFaspSession). ASPersistentFaspSession instances are instantiated using only a FaspSessionParameters instance, and the paths are added to the session once the connection has been established. Persistent sessions keep their connection to the remote server until they are forced to close using -[ASAbstractFaspSession stop]

  • Add a file to the persistent session. This method should be called after the delegate method -[ASFaspSessionDelegate sessionWillStartData:] has been called and not before.

    Declaration

    Objective-C

    - (void)addPathWithSource:(id)src destination:(id)dest;

    Swift

    func addPathWithSource(src: AnyObject!, destination dest: AnyObject!)