Checking file path before copying
Moderators: Hacker, petermad, Stefan2, white
Checking file path before copying
Hello
This is a bit of a longshot, but is anyone aware of a simple way (built in or addon) to restrict file copying based on target folder via TC.
Specifically what I need to do is disable copying from anywhere but a certain folder when the target folder has a certain name.
For example:
When target folder is like ...\IamRestricted\
then I want to only allow copying from certain folder(s).
Is there functionality like this in TC itself or one of the addons?
If not, how complicated would it be if I want to make that kind of an addon myself?
Regards,
A
This is a bit of a longshot, but is anyone aware of a simple way (built in or addon) to restrict file copying based on target folder via TC.
Specifically what I need to do is disable copying from anywhere but a certain folder when the target folder has a certain name.
For example:
When target folder is like ...\IamRestricted\
then I want to only allow copying from certain folder(s).
Is there functionality like this in TC itself or one of the addons?
If not, how complicated would it be if I want to make that kind of an addon myself?
Regards,
A
Andre91,
Well, an ugly workaround would be to check the source and target directories using a script upon the copy dialog opening and based on the paths doing nothing or closing the dialog immediately. But it's ugly and not really guaranteed to work.
Roman
Well, an ugly workaround would be to check the source and target directories using a script upon the copy dialog opening and based on the paths doing nothing or closing the dialog immediately. But it's ugly and not really guaranteed to work.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
I guess you will not find such a function in any file manager at allAndre91 wrote:Ah that does sound a bit sketchy, especially if the dialog doesn't even show (small files?). Would prefer a safer solution.
and I know a lot of them.
Just make some Hotlist entries or buttons with Source and Target
for copying into that special dirs.
You may also generate predefined named Dir Sync settings if applicable.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Well, seeing CopyHook MSDN description made me think something like it should already exist.Horst.Epp wrote:I guess you will not find such a function in any file manager at allAndre91 wrote:Ah that does sound a bit sketchy, especially if the dialog doesn't even show (small files?). Would prefer a safer solution.
and I know a lot of them.
Just make some Hotlist entries or buttons with Source and Target
for copying into that special dirs.
You may also generate predefined named Dir Sync settings if applicable.
The Copy Hook is used by tools like FastCopy or TeraCopyAndre91 wrote:Well, seeing CopyHook MSDN description made me think something like it should already exist.Horst.Epp wrote:I guess you will not find such a function in any file manager at allAndre91 wrote:Ah that does sound a bit sketchy, especially if the dialog doesn't even show (small files?). Would prefer a safer solution.
and I know a lot of them.
Just make some Hotlist entries or buttons with Source and Target
for copying into that special dirs.
You may also generate predefined named Dir Sync settings if applicable.
and this tools are not doing anything you want.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64