Sftp mget file search with casensitive

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Sftp mget file search with casensitive

Hi ,
we are not able to get file name is different casesensitive in sftp server.
for example, if the files are any case that means upper or lower case ,i need to get the filenames using the mget command in sfp.

sftp>mget Test.txt

# 2  
Not clear. Details, please. Where are you stuck? What does and what doesn't work?
# 3  
Thanks for quick reply
in sftp server n number of files are there

i want to get the files if any casesentive.

sftp>mget Test.txt  ----> if run this one, we will download only one file. i want to download all files from sftp server

Last edited by rbatte1; 2 Weeks Ago at 07:36 AM..
# 4  
sftp doesn't have mget - get allows for globbing. Try (untested)
get [tT][eE][sS][tT].[tT][xX][tT]

# 5  
if the file name contains more than one character ,it is very difficult process. Any way is there?
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Mget with SFTP is not working
hi Team, I am connecting from one (A) linux server to another(C)/any linux server by sftp on A linux server: sftp userid@C password: mget is Not working fine I am using mget to pull the files. it shows mget as invalid command. But from (B) Linux server to (C) /to Any server Linux...... Shell Programming and Scripting
Shell Programming and Scripting
Read in search strings from text file, search for string in second text file and output to CSV
Hi guys, I have a text file named file1.txt that is formatted like this: 001 , ID , 20000 002 , Name , Brandon 003 , Phone_Number , 616-234-1999 004 , SSNumber , 234-23-234 005 , Model , Toyota 007 , Engine ,V8 008 , GPS , OFF and I have file2.txt formatted like this: ...... Shell Programming and Scripting
Shell Programming and Scripting
Retrieving the relevant search from search file in the main file
I have two files: file 1: hello.com neo.com,japan.com,example.com news.net xyz.com, telecom.net, highlands.net, software.com example2.com earth.net, abc.gov.uk file 2: neo.com example.com abc.gov.uk file 2 are the search keys to search in file 1 if any of the search...... Shell Programming and Scripting
Shell Programming and Scripting
Perl - use search keywords from array and search a file and print 3rd field when matched
Hi , I have been trying to write a perl script to do this job. But i am not able to achieve the desired result. Below is my code. my $current_value=12345; my @users=("bob","ben","tom","harry"); open DBLIST,"<","/var/tmp/DBinfo"; my @input = <DBLIST>; foreach (@users) { my...... Shell Programming and Scripting
Shell Programming and Scripting
sftp mget where file doesn't exist BASH
I have a script that is working: #!/bin/bash sftp user@domain.com <<EOF cd somedir mget *.csv quit EOF but on a crontab I want to only pull newer files, so I want to do something like: while read ls current dir local file != true do mget that new file but I'm not sure the syntax...... Shell Programming and Scripting
Shell Programming and Scripting