我想编写一个程序来从 azure 文件存储中获取文件,但问题是未定义目录深度并且isFile文件的属性总是返回 false。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Microsoft.Azure; // Namespace for Azure Configuration Manager
using Microsoft.WindowsAzure.Storage; // Namespace for Storage Client Library
using Microsoft.WindowsAzure.Storage.Blob; // Namespace for Blob storage
using Microsoft.WindowsAzure.Storage.File; // Namespace for File storage
namespace AzureStorage
{
class Program
{
static void Main(string[] args)
{
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("StorageConnectionString"));
//CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
// Create a CloudFileClient object for credentialed access to File storage.
CloudFileClient fileClient …Run Code Online (Sandbox Code Playgroud) 我是 cassandra 的新手。我想根据主键即 timeuuid 获得排序的结果集。我的表结构是。
CREATE TABLE user_session
(
session_id timeuuid,
ip inet,
device_type int,
is_active int,
last_access_time timestamp,
logout_reason text,
logout_type int,
start_time timestamp,
uid int,
PRIMARY KEY(session_id)
);
Run Code Online (Sandbox Code Playgroud)
谁能帮我吗。