Transfer files without extensions in ASCII mode using Automatic transfer mode

Advertisement

Guest
Guest

Transfer files without extensions in ASCII mode using Automatic transfer mode

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:
~/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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: Transfer files without extensions in ASCII mode using Automatic transfer mode

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

Reply with quote

Guest
Guest

Re: Transfer files without extensions in ASCII mode using Automatic transfer mode

martin 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! :-)

/Mrten.

Reply with quote

Mrten
Guest

Re: Transfer files without extensions in ASCII mode using Au

Hello!

martin 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... :( 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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: Transfer files without extensions in ASCII mode using Au

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... :( 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 :-)
_________________
Martin Prikryl

Reply with quote

Mrten
Guest

Re: Transfer files without extensions in ASCII mode using Au

Mm, great! Look forward to seeing it. Fantastic work you're doing. :-)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: Transfer files without extensions in ASCII mode using Au

Since the next release mask *. will select files without an extension (even without a dost).
_________________
Martin Prikryl

Reply with quote

Mrten
Guest

Sorry for late reply... :oops: 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! :D

/Mrten

Reply with quote

Neeraj Singh
Guest

Get file without extension

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,252
Location:
Prague, Czechia

Re: Get file without extension

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.

Reply with quote

Advertisement

You can post new topics in this forum