Skip to content
Snippets Groups Projects
Commit db8b5a23 authored by rswindell's avatar rswindell
Browse files

Skip Win32 hidden and system files when bulk-uploading.

parent 133447dd
No related branches found
No related tags found
No related merge requests found
......@@ -575,6 +575,11 @@ bool sbbs_t::bulkupload(uint dirnum)
sprintf(str,"%s%s",path,dirent->d_name);
if(isdir(str))
continue;
#ifdef _WIN32
/* Skip hidden/system files on Win32 */
if(getfattr(str)&(_A_HIDDEN|_A_SYSTEM))
continue;
#endif
#ifdef _WIN32
GetShortPathName(str,spath,sizeof(spath));
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment