• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Download logs via FTP

J

joelmoss

Guest
How can I download the access_logs file via FTP? It keeps telling me access is denied. Can anyone tell me what permssions I must set so I can access it?
 
I've got everything works fine. FTP user should have a read permissions to statistics directory and it's content. May be you do some wrong?
May be there are some permissions are corrupted. Plesk reconfigurator helps to repair them.
 
yes, i can access the statistics/logs directory, but cannot download any of the files in it. Can you actually download any of the log files in the statistics/logs directory?
 
Here my ftp logs for this :)
As we can see logs has been downloaded without any problems.

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
04-03-05 09:14PM <DIR> anon_ftp
04-03-05 09:14PM <DIR> cgi-bin
04-03-05 09:14PM <DIR> error_docs
04-10-05 11:15AM <DIR> httpdocs
04-03-05 09:14PM <DIR> httpsdocs
04-03-05 09:14PM <DIR> private
04-03-05 09:14PM <DIR> statistics
04-03-05 09:14PM <DIR> subdomains
04-03-05 09:14PM <DIR> vault_scripts
04-03-05 09:14PM <DIR> web_users
226 Transfer complete.
ftp: 501 bytes received in 0,02Seconds 31,31Kbytes/sec.
ftp> cd statistics
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
04-03-05 09:14PM <DIR> anon_ftpstat
04-03-05 09:14PM <DIR> ftpstat
04-03-05 09:14PM <DIR> logs
04-03-05 09:14PM <DIR> webstat
226 Transfer complete.
ftp: 194 bytes received in 0,01Seconds 12,93Kbytes/sec.
ftp> cd logs
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
04-10-05 11:17AM <DIR> W3SVC26197
226 Transfer complete.
ftp: 51 bytes received in 0,05Seconds 1,09Kbytes/sec.
ftp> cd w3svc26197
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
04-10-05 12:40PM 21164 ex050410.log
226 Transfer complete.
ftp: 53 bytes received in 0,03Seconds 1,66Kbytes/sec.
ftp> get
Remote file ex050410.log
Local file c:\ex050410.log
200 PORT command successful.
150 Opening ASCII mode data connection for ex050410.log(21164 bytes).
226 Transfer complete.
ftp: 21164 bytes received in 0,02Seconds 1322,75Kbytes/sec.
ftp> quit
221

C:\>dir c:\ex050410.log
Volume in drive C has no label.
Volume Serial Number is 6870-5009

Directory of c:\

21.04.2005 20:30 21_164 ex050410.log
1 File(s) 21_164 bytes
0 Dir(s) 384_348_160 bytes free
 
just add IUSR_ftpuser to the statistics folder and you will be able to download files from your statistics folder...u can ask the ech support to do this for u
 
Back
Top