Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: This is the Question???

SAC7c wrote:

How would you do this in a script, as a pre-check to other commands? For example:

count(fil*.zip)>&Available
if (Avaiable = 0)
Exit
Else
Start transfer

Thanks.

Please read documentation:
https://winscp.net/eng/docs/script_checking_file_existence

If that does not help, come back.
SAC7c

Re: This is the Question???

martin wrote:

You can see number of the files on status bar below the panel.


How would you do this in a script, as a pre-check to other commands? For example:

count(fil*.zip)>&Available
if (Avaiable = 0)
Exit
Else
Start transfer

Thanks.
martin

Re: This is the Question???

You can see number of the files on status bar below the panel.
Maaahcel

This is the Question???

I don't find any function - too.

Worse luck!
Indira

Count files in a specific folder in remote server

Hi,

Please help me if there is a command in winscp which would count the number of files in a particular folder in remote server.
I am able to just see the files using "ls".

Thanks in advance.

Indira