Software components for data protection, secure storage and transfer
static public void upload(string targetPath, string aFile, string userName, string password, string IPAddress)
Connect(userName, password, IPAddress);
string path = SftpClient.RequestAbsolutePath(@"/");
foreach (string s in aFile)//it is a list of files to upload
string shortName = System.IO.Path.GetFileName(s);
SftpClient.UploadFile(s, path + shortName, TSBSFTPFileTransferMode.ftmOverwrite);
catch (Exception ex)
ErrorLog.logMessage("Error during upload: " + ex.Message);
Number of guests: 1, registered members: 0,
in total hidden: 0
Copyright (c) 2017, /n software, inc.
As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.