Skip to content

Releases: akhi07rx/File-Uploader-for-Google-Drive

v1.4.18B

30 May 13:24
Compare
Choose a tag to compare

Code Changes

  • Importing the time module: The time module is imported to measure the total time taken for the file upload.

  • Displaying the Total Time: Added a line to display the total time taken for the file upload after displaying the file size. The total time is calculated using the start_time and end_time variables and formatted to two decimal places.

  • Displaying the Saved Location: Added a line to display the saved location of the file. The file path is obtained using the file_path variable.

  • Rearranged Print Statements: The order of the print statements is rearranged to match the updated sequence, providing a more logical flow of information.


v1.3.218B

29 May 15:36
Compare
Choose a tag to compare
  1. Invalid Command Handling: Previously, if the user entered an invalid command, such as "the download link" instead of a valid URL or one of the defined commands like "exit," the code would raise an error. The updated code now includes error handling to display a message informing the user that they have entered a wrong command and prompts them to enter again.

  2. File Extension Recognition: Initially, the code saved downloaded files with the extension ".zip" regardless of the actual file type. The fixed code now attempts to determine the file extension based on the content-type header received in the HTTP response. This ensures that the downloaded files are saved with their correct file extensions.

  3. Download Location: The code was previously saving downloaded files to the folder named "downloads." The updated code now saves the files to the folder named "Downloads" to match the desired location.

  4. Cluttered Text: To improve readability and reduce clutter, the updated code adds a line break before displaying the prompt for entering the download link. This separates the prompt from any preceding text and makes it more visually distinct.

Full Changelog: v1.3...v1.3.218B

v1.3: Improved

29 May 10:50
Compare
Choose a tag to compare
  • Ability to insert multiple download links: The code now allows the user to enter multiple download links one after the other until they choose to exit the program by typing "exit".

  • Option to exit the program: The user can type "exit" to quit the program instead of providing a download link.

  • Improved user interface: A line break is added before the "Enter the download link" prompt, creating visual separation between each prompt and making it easier to read.

v1.2.218-beta

28 May 09:38
Compare
Choose a tag to compare

If the destination folder does not exist in the specified drive location, a new folder will be created with the given name to accommodate the output.