Open vincentDcmps opened 9 months ago
I have Try to list file directly via ftp command seem return some data
ftp> ls investir.pdf
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rwxr--r-- 1 1000001 1000001 10602241 Aug 10 2023 investir.pdf
226 Directory send OK.
Sat Feb 24 21:16:41 2024 [pid 3] [vincent] FTP response: Client "192.168.1.15", "200 PORT command successful. Consider using PASV."
Sat Feb 24 21:16:41 2024 [pid 3] [vincent] FTP command: Client "192.168.1.15", "LIST investir.pdf"
Sat Feb 24 21:16:41 2024 [pid 3] [vincent] FTP response: Client "192.168.1.15", "150 Here comes the directory listing."
Sat Feb 24 21:16:41 2024 [pid 3] [vincent] FTP response: Client "192.168.1.15", "226 Directory send OK."
seem provide from vsftpd
if I do
ls /download/investir.pdf
ftp> ls /download/investir.pdf
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.
if I go in the folder I get correct data with same command
ftp> cd download
250 Directory successfully changed.
ftp> ls /download/investir.pdf
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rwxr--r-- 1 1000001 1000001 10602241 Aug 10 2023 investir.pdf
226 Directory send OK.
seem that vsftp always use current path to stat some file, somebody have already use filestash with this ftp software?
I have the similar issue in Docker when is use ftp server https://hub.docker.com/r/delfer/alpine-ftp-server:
HTTP 500 GET 102.5ms /api/files/cat?path=%2Fftp%2Fusername%2F3GP%2FFILE001.3GP&transcode=hls
{"message": "Unexpected LIST response: []"}
Here is my compose file:
services:
app:
container_name: filestash
image: machines/filestash
restart: always
environment:
- APPLICATION_URL=
- GDRIVE_CLIENT_ID=<gdrive_client>
- GDRIVE_CLIENT_SECRET=<gdrive_secret>
- DROPBOX_CLIENT_ID=<dropbox_key>
- ONLYOFFICE_URL=http://onlyoffice
ports:
- "8334:8334"
volumes:
- filestash:/app/data/state/
onlyoffice:
container_name: filestash_oods
image: onlyoffice/documentserver
restart: always
security_opt:
- seccomp:unconfined
alpine-ftp-server:
image: delfer/alpine-ftp-server
container_name: ftp
restart: always
ports:
- "21:21"
- 21000-21010:21000-21010
environment:
- USERS=one|strongpassword
- ADDRESS=192.168.0.4
volumes:
- F:\Videos:/ftp/one
volumes:
filestash: {}
My issue only occurs when I try to mount a btrfs
drive running containers from Windows. And btrfs
itself works in Windows under the control of this driver https://github.com/maharmstone/btrfs .
Hi from my side I meet this issue only with vsftp I have switched on pure-ftpd and everything works with it
Hi from my side I meet this issue only with vsftp I have switched on pure-ftpd and everything works with it
Thanks for your reply a lot, the pure-ftpd
has resolved my issue.
vsftpd download issue
When I use filestash witth vsftpd I can't download any file
log on filestash
vsftpd log
vsftpd config
other operation : create folder remove work correctly
Observed behavior
can't view or download file
Expected behavior
be able to download file