Search Results

Search: Posts Made By: warmboy610
16,131
Posted By warmboy610
Thanks for your post, but I need to get the...
Thanks for your post, but I need to get the result of the command "ls -l" to be stored in a file in a local directory (which is the listFile). And I can't find a way to do other than the command:
...
16,131
Posted By warmboy610
Automate sftp process using script
Hi, guys, I am trying to automate a sftp process using "expect" method (since the key authentication method is disabled in my company network, there is no helping it).
In order to try, I type in...
11,089
Posted By warmboy610
Confusion with echo command under csh shell
HI, guys, I am having some problem with the echo command, so I want to echo some text to a file name loginFile, the result inside the loginFile should looks like:
expect ">"
so what I did is: ...
8,332
Posted By warmboy610
I tried to do it manually from the sftp server,...
I tried to do it manually from the sftp server, the normal "ls" would gives out a long list of file, but the:

ls -l [listfile path]
or
ls -l >> [listfile path]
the errrors are the same as the...
8,332
Posted By warmboy610
as far as i know Quote: Couldn't stat remote...
as far as i know
Quote:
Couldn't stat remote file: Failure
mean file not found error. it wont return the return code like scp


But when I check the listFile, it is empty, which means that it...
8,332
Posted By warmboy610
Get filelist.txt from a sftp remote server
Hi everyone, so I have a script create a login file to log into the sftp remote server, go to a certain directory and get the list of files in that direction into a text file in another folder (local...
20,502
Posted By warmboy610
Hi, so since you guys say there is no other way,...
Hi, so since you guys say there is no other way, I just write the code using expect, it works seems to be fine but it does not call up the cmdFile, so basically the code is the same as above, here is...
20,502
Posted By warmboy610
Hi, thanks for your reply, but what I want is not...
Hi, thanks for your reply, but what I want is not really the way to teak the password but just the script to login to sftp server automatically (like just run the script). I tried to use this...
20,502
Posted By warmboy610
Script to log in SFTP server [with username, password]
Hi, everyone, I am trying to write a script to login automatically using username and password to an sftp server (the key authentication has been disabled so I cannot use that method).
I tried to...
19,425
Posted By warmboy610
HI, thanks for your help, I know there are posts...
HI, thanks for your help, I know there are posts out there talking about ssh key, but I hope you guys can help me again, so now I have the username and password for the SFTP server. Will I have to...
19,425
Posted By warmboy610
Changing from FTP to SFTP server
Hi everyone, I am having problems with changing a script (originally it is used to transfer file from an FTP server to another place). Now the company change the FTP to SFTP server, so I need to...
13,355
Posted By warmboy610
Thanks guys, it works out fine. But now there is...
Thanks guys, it works out fine. But now there is a greater problem since I have to move files with specical characters. So the listfile I made using the grep command:

fgrep -f ${illegalCharFile}...
13,355
Posted By warmboy610
Hi, thanks for all of your helps. I am writing a...
Hi, thanks for all of your helps. I am writing a script. I think I will try both way to see the result.
Again many thanks to you guys :)
13,355
Posted By warmboy610
Move file using a file list
Hello, I have a text file name "filelist" which stores the file names of the files I want to move (the file names does not include the directory).

Each of the name is in 1 line, and all the file...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 10:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy