Send "LIST -la /." instead of "LIST -la //." for root directories on ftpfs
Этот коммит содержится в:
родитель
38f5253e9c
Коммит
9a8bfe1ce1
@ -1,3 +1,8 @@
|
||||
Fri Jun 19 08:21:46 1998 Pavel Roskin <pavel.roskin@ecsoft.co.uk>
|
||||
|
||||
* ftpfs.c (retrieve_dir): use concat_dir_and_file instead of
|
||||
copy_strings. Should help when retrieving root directories.
|
||||
|
||||
Wed Jun 17 Pavel Machek <pavel@ucw.cz>
|
||||
* Rename helper scripts (extfs/{rar|lha|...}.in), so their names
|
||||
are more logical (and so that things actually work, because new
|
||||
|
@ -1413,8 +1413,7 @@ retrieve_dir(struct ftpfs_connection *bucket, char *remote_path)
|
||||
if (has_spaces)
|
||||
sock = open_data_connection (bucket, "LIST -la", ".", TYPE_ASCII);
|
||||
else {
|
||||
char *path = copy_strings (remote_path, PATH_SEP_STR, ".", (char *) 0);
|
||||
|
||||
char *path = concat_dir_and_file (remote_path, ".");
|
||||
sock = open_data_connection (bucket, "LIST -la", path, TYPE_ASCII);
|
||||
free (path);
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user