Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftp: split list_directory response #343

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion protos/ftp/ftp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,15 @@ message UploadResponse {
message ListDirectoryRequest {
string remote_dir = 1; // The remote directory to list the contents for.
}

message ListDirectoryData {
repeated string dirs = 1; // The found directories.
repeated string files = 2; // The found files.
}

message ListDirectoryResponse {
FtpResult ftp_result = 1;
repeated string paths = 2; // The found directory contents.
ListDirectoryData data = 2; // The found directories and files.
}

message CreateDirectoryRequest {
Expand Down
Loading