Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ECommander

Pages: [1]
1
Support and Feedback / Copy a file to a NAS share
« on: October 26, 2022, 21:07:08 »
Hi,

I'm using a Synology NAS with the Torrent Client enabled and a folder to watch for new files.

When I copy a .torrent file to the NAS share and the torrent was already consumed, I get an error that the torrent file already exists.
It is useful to me, for knowing if I download the same file twice.

But this works only, when I'm using "Altap Salamander 4.0" as tool, with Multi Commander I don't get the copy error.
Is it possible to implement the same functionality? Any idea how this works?
I understand that this is not a lot of information. I attach the message which I receive.

Thanks


2
Script / Re: Strange behavior with MoveFile
« on: June 21, 2022, 19:24:18 »
Thank you.

3
Script / Re: Strange behavior with MoveFile
« on: June 14, 2022, 18:21:37 »
Thanks for answering.
It's the installed version, v11.6 (b2845).

Thats the command I try to run:
Code: [Select]
@var $files = GetSelectedPaths();
@var $count = arrayCount($files);
@var $n;

for($n = 0; $n < $count; $n++)
{
  @var $file = $files[$n];
if (FileExists($file) == 1 )
{
  @var $path = PathGetPathPart($file)
   @var $name = PathGetNamePart($file) + "|";
@var $ext = PathGetFileExtPart($file);
  @var $folder = $path ^ StrReplace( $name, $ext + "|" , "");
  MoveFile($folder + "\", $file,  "NODIALOG,NOPROGRESS,USEEXISTINGQUEUE" )
}

4
Script / Strange behavior with MoveFile
« on: June 13, 2022, 16:37:39 »
I'm using this code in a loop to move one or more files into a subfolder
Code: [Select]
  MoveFile($folder + "\", $file,  "NODIALOG,NOPROGRESS,USEEXISTINGQUEUE" )
What happens, that there is an open dialog, which never close (see screenshot).
Wher could be the problem?

Tanks

Pages: [1]