Windows 10: Way to Make Uploaded Files Fit File Naming Convention

Discus and support Way to Make Uploaded Files Fit File Naming Convention in Windows 10 Network and Sharing to solve the problem; Is there an office product eg - Sharepoint? that I can use on my website, so visitors who want to upload word or pdf documents for my review, rename... Discussion in 'Windows 10 Network and Sharing' started by skype_sun1skype_sun1, Apr 23, 2020.

  1. Way to Make Uploaded Files Fit File Naming Convention


    Is there an office product eg - Sharepoint? that I can use on my website, so visitors who want to upload word or pdf documents for my review, rename those files into my file naming convention? Eg - before they upload the file, they input date etc.

    Detailed egs -

    Perhaps from a pre-existing templates, is it possible for me or the landingi team to create a page that allows people to upload either



    RTF or PDF files

    - that would then go to an online storage drive or email of my choice



    and force the prospect to provide info so that when they upload them they would be re-named into the file name convention?



    EG - of questions on the page:



    File type:

    - PDF

    - RTF



    Year filed or signed max 4 numbers: YYYY

    Month and date filed 4 numbers : MMDD

    Type of File if known, if unknown don't check box



    _ x = I suggest a category / type of file, then if appropriate prospect may click box

    _ y = "

    _ z = " eg - Evidence



    Initials of Who Created or Sent max 4 letters: _ _ _ _

    Initials of Party / Who The Intended Receiver Was max 4 letters: _ _ _ _

    Title / Subject max 20 characters: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



    Then after people input that data and upload the file, I would receive via email or in my online storage drive the file titled something like:



    2020_0408 Evidence NYT Tom Smoking Gun Located



    And that file name would fit my customizable file name convention:



    2020_0408 Evidence NYT Tom Smoking Gun Located

    DATE--------Cat /Type-From-To-Title / Subject

    :)
     
    skype_sun1skype_sun1, Apr 23, 2020
    #1
  2. slozomby Win User

    Recent File List

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file1

    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file2
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file3
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file4
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file5
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file6
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file7
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file8
    Remove-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion
    \Applets\Paint\Recent File List" -name file9
    ...

    you get the idea. ( too lazy to put it in a for loop and test it.

    or just open regedit and remove all the fileX from that key.
     
    slozomby, Apr 23, 2020
    #2
  3. Aquinus Win User
    Increase image file upload size cap

    Okay, first off, people need to learn to calm down. That includes the OP and everyone replying. I would consider this a very legitimate concern he raises and I'll explain why and what I would suggest to fix it to address all the concerns brought up.

    I see three sides to this.
    • OneMoar wants to upload bigger files. Generally speaking, most users are lazy so this is a valid concern from a usability standpoint. While I do believe there should be an upload limit, there should be a separate storage limit.
    • Concern with bandwidth: I suspect that uploading images is a relatively small amount of bandwidth and that serving up said images is much more costly. So that would put emphasis on getting not putting if bandwidth is a concern.
    • Storage, a very real concern because a lot of images adds up quickly which adds a need to efficiently store said images.
    So my suggestion (assuming W1zz wanted to do this out of kindness of his heart,) is this:
    • Increase upload limit to 10-20MB max.
    • Institute a storage limit of 2-5MB max.
    • Use PHP's GD library to convert uploaded images to JPEG or PNG.
      • PNGs tend to look nicer than JPEGs, but use more space. Probably preferable for smaller images or images requiring transparency.
      • JPEG tends to be very flexible when it comes to quality and the amount of compression. PHP's GD lib gives you control over this.
    So long as the image is uploaded in a format GD can read which includes most commonly used formats, it may not be unrealistic to re-store it in a different format. It's also not unrealistic to use GD to scale the image as well.

    I've used GD before and it's relatively easy to use and is relatively quick with respect to performance. I would be willing to write up some examples with respect to how to do it if it were welcomed.

    Side note: I see a watermark, GD might be getting used already so this might not be a stretch if the CPU cycles are there to spare.
     
    Aquinus, Apr 23, 2020
    #3
  4. W1zzard Win User

    Way to Make Uploaded Files Fit File Naming Convention

    Increase image file upload size cap

    that's a good idea
     
    W1zzard, Apr 23, 2020
    #4
Thema:

Way to Make Uploaded Files Fit File Naming Convention

Loading...
  1. Way to Make Uploaded Files Fit File Naming Convention - Similar Threads - Uploaded Files Fit

  2. Game Bar Captures File Naming conventions

    in Windows 10 Network and Sharing
    Game Bar Captures File Naming conventions: Is there a way to tweak in the settings or date/time region formatting to determine the default naming conventions of how game bar names the captured files?Recently I just noticed that Game Bar screenshots file names are now {game name}_{DD-MM-YY}_{timestamp}, with MM being...
  3. Game Bar Captures File Naming conventions

    in Windows 10 Gaming
    Game Bar Captures File Naming conventions: Is there a way to tweak in the settings or date/time region formatting to determine the default naming conventions of how game bar names the captured files?Recently I just noticed that Game Bar screenshots file names are now {game name}_{DD-MM-YY}_{timestamp}, with MM being...
  4. Game Bar Captures File Naming conventions

    in Windows 10 Software and Apps
    Game Bar Captures File Naming conventions: Is there a way to tweak in the settings or date/time region formatting to determine the default naming conventions of how game bar names the captured files?Recently I just noticed that Game Bar screenshots file names are now {game name}_{DD-MM-YY}_{timestamp}, with MM being...
  5. Screenshot naming conventions

    in Windows 10 Gaming
    Screenshot naming conventions: Why are screenshots named "Screenshot #" instead of the previous, longtime convention of including the date and time in the filename? This convention is also followed by many cell phone manufacturers for both their photos and their screenshots.The same question was asked...
  6. Screenshot naming conventions

    in Windows 10 Software and Apps
    Screenshot naming conventions: Why are screenshots named "Screenshot #" instead of the previous, longtime convention of including the date and time in the filename? This convention is also followed by many cell phone manufacturers for both their photos and their screenshots.The same question was asked...
  7. Setup automatic file save naming convention when saving files

    in Windows 10 Ask Insider
    Setup automatic file save naming convention when saving files: I’m not even sure what to Google to try and figure this out. Looking for any help. My goal is when I go to save a file that the name of the file starts with this date format... YYYY-DD-MM Then the highlighted blue area would be editable and I could put whatever in there. But...
  8. Drawing Attention to File Naming Convention Post

    in Windows 10 Support
    Drawing Attention to File Naming Convention Post: I just added a reply to this post: https://www.tenforums.com/general-support/104884-whats-proper-way-naming-files.html#post1807489 I have been doing a lot of thinking on file and folder naming conventions. I am thinking those who have years of experience looking for things...
  9. Is there a way to make File Explorer open on "my login name"?

    in Windows 10 Customization
    Is there a way to make File Explorer open on "my login name"?: There is an easy way to make File Explorer open on "This PC" instead of its default of "Quick access". Does anyone know of a way [1] to make File Explorer open on "my login name" instead? Through an error on my part I have purchased Windows 10 Pro instead of Windows 10 Home,...
  10. Able to find directory with 8dot3 naming convention but not files

    in Windows 10 Support
    Able to find directory with 8dot3 naming convention but not files: I have a very strange problem - I have a script that's been running for years on other windows, using the 8dot3 convention. Both the directory and the file name have ~ in them. It finds the directory ok, but can't find the file, even though it exists. I've checked, and 8dot3...