Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 835 for file (0.03 sec)

  1. 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)
  2. docs/en/docs/tutorial/request-forms-and-files.md

    ```
    
    ///
    
    ## Import `File` and `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define `File` and `Form` parameters { #define-file-and-form-parameters }
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            }
            testLeaseKey = new Smb2LeaseKey();
        }
    
        @Test
        public void testHandleInfoCreation() {
            HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, testLeaseKey);
    
            assertEquals("/test/file.txt", info.getPath());
            assertEquals(testGuid, info.getCreateGuid());
            assertArrayEquals(testFileId, info.getFileId());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request = new Smb2CreateRequest(mockConfig, "");
    
            // Test normal path
            request.setPath("test\\file.txt");
            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test path with leading backslash (should be stripped)
            request.setPath("\\test\\file.txt");
            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test path with trailing backslash (should be stripped)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
            file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/resources/jcifs/smb1/util/mime.map

    application/zip                zip jar          # ZIP Compressed File
    audio/basic                    au snd           # Audio Sound File
    audio/x-aiff                   aif aiff aifc    # AIFF Sound File
    audio/x-midi                   mid              # MIDI Sound File
    audio/x-pn-realaudio           ra ram rm rpm    # REALAUDIO Sound File
    audio/x-wav                    wav              # WAV Sound File
    audio/x-mpegurl                mp3              # MP3 Sound File
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

        /**
         * Processes access control entries (ACEs) for the given SMB1 file and adds them to the response data.
         *
         * @param responseData the response data to update
         * @param file the SMB1 file to process
         */
        protected void processAccessControlEntries(final ResponseData responseData, final SmbFile file) {
            try {
                final ACE[] aces = file.getSecurity(resolveSids);
                if (aces != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

         * File is a directory
         */
        int ATTR_DIRECTORY = 0x10;
    
        /**
         * Files is marked to be archived
         */
        int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        /**
         * File is compressed.
         */
        int ATTR_COMPRESSED = 0x800;
        /**
         * File is a normal file.
         */
        int ATTR_NORMAL = 0x080;
        /**
         * File is temporary.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

         *
         * @param file
         *            An <code>SmbFile</code> representing the file to write to
         * @param append
         *            Append to the end of file
         * @throws SmbException if an SMB error occurs
         */
    
        public SmbFileOutputStream(final SmbFile file, final boolean append) throws SmbException {
            this(file, append, append ? SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_APPEND
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/FileEntry.java

    package jcifs.smb;
    
    /**
     * Interface representing a file entry in an SMB directory listing.
     * Provides access to file metadata and attributes.
     *
     */
    public interface FileEntry {
    
        /**
         * Gets the file name.
         *
         * @return the file name
         */
        String getName();
    
        /**
         * Gets the file type.
         *
         * @return the file type
         */
        int getType();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top