Topic "Transfer files without extensions in ASCII mode using Automatic transfer mode"

Author Message
Guest

Guest


Hello,

I can't find it possible to transfer files without extensions in ASCII mode using automatic transfer mode. Is it possible to include such a feature in next release - or is there a way to do this in the latest release?

I have a lot of unix files which have no file extensions. I.e. a dir command could give this list:
Code:

~/misc$ ls
bgtest                    bgtestdata.txt                redbox.gif

With automatic transfer mode, I want the unix script "bgtest" and the text file "bgtestdata.txt" to be transfered as ASCII; and the file redbox.gif to be transfered as binary.

Regards, Mrten Berglund, Sweden.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
I do not understand why it does not with with "*.", but you are right, it does not. I'll try to fix it in the next release.
_________________
Martin Prikryl
Guest

Guest


prikryl wrote:
I do not understand why it does not with with "*.", but you are right, it does not. I'll try to fix it in the next release.


Thanks! And good luck fixing it to the next release. I look forward to that! Smile

/Mrten.
Mrten

Guest


Hello!

prikryl wrote:
I do not understand why it does not with with "*.", but you are right, it does not. I'll try to fix it in the next release.


I've just downloaded the latest version of WinSCP (3.8.2 build 330) and looked forward to see this feature working, but it still doesn't... Sad Maybe you forgot it? I tried to use the include mask, but it didn't work either. A possible solution would be to allow regular expressions to be used as patterns in the mask feature. Then something like [^\.]* would fit.

Anyhow, thank's for all good work! / Mrten
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Mrten wrote:
I've just downloaded the latest version of WinSCP (3.8.2 build 330) and looked forward to see this feature working, but it still doesn't... Sad Maybe you forgot it? I tried to use the include mask, but it didn't work either. A possible solution would be to allow regular expressions to be used as patterns in the mask feature. Then something like [^\.]* would fit.

It will be solved in 4.0.1. Coming soon Smile
_________________
Martin Prikryl
Mrten

Guest


Mm, great! Look forward to seeing it. Fantastic work you're doing. Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Since the next release mask *. will select files without an extension (even without a dost).
_________________
Martin Prikryl
Mrten

Guest


Sorry for late reply... Embarassed After two years, I've finally upgraded my WinSCP and have installed the latest version now (4.1.9). With *. transferring files without extensions automatically in ASCII mode now works just great! Thanks! Very Happy

/Mrten
Neeraj Singh

Guest


Hi,
I am using below command in the script to get the files without extension from linux server:
get -filemask="*>1d" *.

but it is not working.
My current winscp version is 5.1.4
Kindly suggest if any alternative way to do it.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Neeraj Singh wrote:
Hi,
I am using below command in the script to get the files without extension from linux server:
get -filemask="*>1d" *.

but it is not working.

What is "not working"?
Please start a new topic and attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License