Feb 10, AM in response to Cyril Carrez In response to Cyril Carrez Push the option key when you click the file you want to download and then you'll see the save as option in the contextual menu. Feb 10, PM in response to bearwil In response to bearwil I was going to say "hurrah! I does ask me for the file name, it does ask me if I want to replace, but it does not replace the file, and just saves it in dummy Funny thing: it has the expected behaviour for pdf files, where replacement actually occurs.
Bug report sent. Reply Helpful 1 Thread reply - more options Link to this Post. Maybe for some reason this doesn't work with those files, since everything went as expected with a pdf. Hi DiegoTurati thanks but the when the attachments are saved is when they get overwrited so I need to download each attachment individually and rename it or rename them before downloadin. JohnnyViquez Try this. Whatever your email object is, add. Attachments so you can iterate through each attachment in the email, one at a time.
See screenshot:. Draw a Command Button on your worksheet. Then right click it and select View Code from the context menu. VBA code: Save as function to automatically overwriting existing file.
And turn off the Design Mode under the Developer tab. Click the Command Button, then a Save As dialog box pops up, please select a folder to save this workbook, and then click the Save button. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast what if you could invest in your favorite developer?
Who owns this outage? Building intelligent escalation chains for modern SRE. But that would be actually a super cool thing, now that I think about it The easiest solution is to just create a new folder and put the next torrent into the new folder, to avoid any conflicts.
Then yes, the same file could be downloaded at the same time, but you're essentially downloading it twice, causing double the traffic in total. Duplicate of What's so complicated about this? Why doesn't qBittorrent ask by default, if it finds a file with the exact same name whether to 1 recheck it, 2 leave it alone, and do a standard "download 1.
Okay, sir, but what does this matter? However it is a bit more complicated than that, because lots of qBittorrent use is semi-automated I don't want to wake up in the morning and find that nothing downloaded for the last 12 hours because it was sitting there waiting for me to click on a prompt, or that some third-party script or service has failed to work these choices need to have a way of picking a default option - in my mind the simplest way to do this is to have the prompt auto-select a default option after x seconds, and have options within settings to select the default option default: rename , whether to: prompt until user input, not prompt and do the default, or prompt but auto-select the default after X seconds default.
In my opinion, during normal use, nothing should ever overwrite anything, ever, under any circumstance and it should always put multiple files in a folder, and then rename the folder upon conflict folder 1 , folder 2 , etc rather than renaming the files themselves, to prevent having a situation where only some files are renamed , so I don't see the need for a prompt - just auto rename by default.
I believe this is inline with how most people would expect most programs to work. I think a special case should then be created i. The existing hash check when re-adding an identical torrent that's already been added would remain the same. Other ways of handling this which in my opinion are worse could be to queue the prompts in some manner, so they don't block other downloads and can be dealt with later, or auto-handle conflicts i. Note also that if moving to a new location upon completion is enabled the final move location would need to be factored into the checks when the download initially starts, which gets more complicated if the user changes the eventual save location such as changing the category halfway through downloading Remember that the user may not know what the filenames are so they might not have meant to do that.
Then when I am asleep, they may find some seeds, and only then do they get their filenames. If two then happen to have the same file or folder name which is common , then they will overwrite each other.
Would it be possible to add an option to create a folder for each different torrent and to add the first 8 characters of the torrent Hash to the either the start of the end of the folder's name user preference? For example, let's say you want do download a torrent for the movie "Scarlet Street ". It's Hash is " Now, if the original torrent only contains one file, like "Scarlet Street I believe utorrent or qbittorrent used to work like this, adding part to the hash to the torrents folder names, for a while.
It would be good to have something like that for people who download multiple torrents and have trouble with this. Well, I have analyzed this Issue. Here are my current findings. We are not talking about the presence of files on disk, but only about the presence of files with the same names in the processed torrents.
So when another torrent is added, we need to check its file names to match the file names of existing torrents. If the name of a file is already occupied, then we must modify it in some way to exclude a match.
The only question here is whether we should modify the names of all the torrent files, or just the name of the root folder. Applying such a processing is not a problem if the torrent you are adding has metadata immediately. But what should we do if you add a torrent using a magnet link? We have to apply this processing between the moment when the metadata was uploaded and the one when libtorrent started downloading files. Here again there is a problem of lack of low-level interaction with libtorrent.
Of course all this stuff can be implemented in libtorrent itself but we can't hope for that. Woa, I had some fear that there would be some issue with the library, but didn't expect it to be that complex. Should we as users file this upstream issue to libtorrent? Or is there already one? It sounds like this is the most sensible thing to do. Also then other clients based on libtorrent should have exactly the same problem? They shouldn't necessarily have the same problem if they implement this feature in application level.
I'm thinking of doing it the same way when the prerequisite core changes are merged to allow performing some service actions behind the scenes. Well, when it is implemented, what exactly should it handle, each individual file or the top-level items only? The name of the root folder of the newly added torrent should be changed add 'foldername 1 ', 2 , etc. In principle, the names of files inside a torrent should not be changed that would break multi-part rar files etc.
Two parts: My experience and stream-of-conciousness about a fix which I don't think is a simple as it may look at first glance. This has happened to a couple times, a few years apart with certainly different versions.
0コメント