Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for pfiles (0.03 sec)

  1. docs/en/docs/tutorial/static-files.md

    # Static Files { #static-files }
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles` { #use-staticfiles }
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    ```
    
    This is because uploaded files are sent as "form data".
    
    ///
    
    ## Import `File` { #import-file }
    
    Import `File` and `UploadFile` from `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define `File` Parameters { #define-file-parameters }
    
    Create file parameters the same way you would for `Body` or `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-forms-and-files.md

    # Request Forms and Files { #request-forms-and-files }
    
    You can define files and form fields at the same time using `File` and `Form`.
    
    /// info
    
    To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Update first directory cache
            List<SmbFile> files1 = Arrays.asList(mockFile1);
            directoryLeaseManager.updateDirectoryCache(dir1, files1);
    
            // Update second directory cache
            List<SmbFile> files2 = Arrays.asList(mockFile2);
            directoryLeaseManager.updateDirectoryCache(dir2, files2);
    
            // Verify both caches are independent
            assertTrue(entry1.isComplete());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

            }
            
            List<SmbFile> files = new ArrayList<>();
            for (DirectoryCacheEntry.FileInfo fileInfo : entry.getChildren()) {
                // Create SmbFile objects from cached info
                SmbFile file = createSmbFileFromCache(directoryPath, fileInfo);
                files.add(file);
            }
            
            return files;
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. cmd/data-usage_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    }
    
    // generateUsageTestFiles create nFolders * nFiles files of size bytes each.
    func generateUsageTestFiles(t *testing.T, base, bucket string, nFolders, nFiles, size int) {
    	pl := make([]byte, size)
    	for i := range nFolders {
    		name := filepath.Join(base, bucket, fmt.Sprint(i), "0.txt")
    		err := os.MkdirAll(filepath.Dir(name), os.ModePerm)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/SingletonContextTest.java

        @Test
        void testInitLoadsJcifsPropertiesFile(@TempDir Path tempDir) throws IOException, CIFSException {
            // Test that jcifs.properties file is loaded
            Path jcifsPropertiesPath = tempDir.resolve("jcifs.properties");
            Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS");
            System.setProperty("jcifs.properties", jcifsPropertiesPath.toString());
    
            SingletonContext.init(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DosFileFilter.java

     */
    
    package jcifs.smb;
    
    /**
     * File filter implementation for DOS-style wildcards and attributes.
     * Supports filtering files based on DOS wildcards and file attributes.
     *
     */
    public class DosFileFilter implements SmbFileFilter {
    
        /**
         * The wildcard pattern for filtering file names.
         */
        protected String wildcard;
    
        /**
         * The DOS file attributes to filter on.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
     * DOS-style file filter implementation for SMB1 protocol.
     * Filters files based on wildcard patterns and DOS file attributes.
     */
    public class DosFileFilter implements SmbFileFilter {
    
        /**
         * The wildcard pattern for filtering file names.
         */
        protected String wildcard;
    
        /**
         * The DOS file attributes to filter on.
         */
        protected int attributes;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. pom.xml

    								<group>${packaging.fess.group}</group>
    							</mapper>
    						</data>
    						<!-- Add configuration files -->
    						<data>
    							<type>files</type>
    							<paths>
    								<path>${project.basedir}/src/main/assemblies/files/tomcat_config.properties</path>
    								<path>${project.basedir}/src/main/assemblies/files/logging.properties</path>
    							</paths>
    							<dst>${packaging.fess.conf.dir}</dst>
    							<mapper>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
Back to top