Last active
July 28, 2018 19:11
-
-
Save skenderbeu/68d71638e2135e8d3ddfb6e937216b66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string UploadFile(string zipFileName, string fullZipFilePath, | |
TransferOptions transOptions, SessionOptions sessionOptions) | |
{ | |
using (var session = new Session()) | |
{ | |
session.Open(sessionOptions); | |
return session.PutFiles( | |
zipFileName, | |
fullZipFilePath, | |
false, | |
transOptions); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment