Couple Examples where LocalPath contains filename:WsftpApi.GetLocalFolder(LocalPath)FtpConn.PutFile(LocalPath, FileName, HostPath, FileName, WsftpTransferModes.WSFTP_TFF_BINARY, 0)
Thanks.