Welcome to WebmasterWorld Guest from 54.167.213.22

Forum Moderators: phranque

Message Too Old, No Replies

FTP server and RCF standards compliant

     
1:15 pm on Apr 18, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I like to know which setting should be at FTP server and setting to be RCF standards compliant.

If software uses -al, how do we tell FTP server (in code) to show hidden files? How do you transfer this checkbox data to FTP server by FTP commands?

As we know the standard is to use switches such as -a and -al and others.

I have detected some error like putting in a -a switch is killing that connection.
3:30 pm on Apr 22, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



You mean the default setting/switch? If so, it depends on the FTP server, for example with vsftp is force_dot_files which by default is off. So the client has to do list -la to show them. proftpd uses ListOptions -a to change the default. The FTP server you use may have a configuration setting for it, but its name may not include the word hidden.
7:46 am on Apr 23, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Can be this seen by php.info? Which line?
...vsftp is force_dot_files which by default is off.
12:08 pm on Apr 23, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



No the ftp server is a different one. The ftp client needs to send the appropriate command to include filenames beginning with dot, like ls -la.

If you want to send the ftp command via php see here the ftp-nlist command:
[us.php.net...]
you need to have the ftp extension in and the phpinfo can show if it's included.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month