LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2016, 05:35 AM   #1
rahul zinjurde
LQ Newbie
 
Registered: Dec 2015
Posts: 6

Rep: Reputation: Disabled
create shell script by using sftp


here,i am use fedora 20.there is not install ftp server,but i was create a shell script by using ftp or sftp. so how can i do this, please give me a answer....
 
Old 05-10-2016, 06:04 AM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by rahul zinjurde View Post
here,i am use fedora 20.there is not install ftp server,but i was create a shell script by using ftp or sftp. so how can i do this, please give me a answer....
Hi!

Your question is rather ambiguous, but if you have sftp access you ought to also be able to access the machine by ssh? If so, just log in and write your script.
 
Old 05-10-2016, 09:28 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by rahul zinjurde View Post
here,i am use fedora 20.there is not install ftp server,but i was create a shell script by using ftp or sftp. so how can i do this, please give me a answer....
Similar to other threads you opened, where you wanted a script/command, but didn't try anything on your own. Also, read the "Question Guidelines" link in my posting signature. We will HELP YOU, but we WILL NOT WRITE YOUR SCRIPTS FOR YOU.

You write a script by putting the commands/logic you want, into a file, and making it executable. Past that, you are going to have to show actual effort of your own, and post what you have done/tried.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SFTP shell script getraj.12 Linux - Newbie 1 05-07-2015 06:02 AM
Shell script using sftp soumyacs Linux - Newbie 4 11-30-2009 03:51 AM
Automating sftp using a shell script bhandu Linux - Newbie 3 07-17-2007 01:56 AM
SFTP in shell script jantman Linux - Software 3 11-27-2006 10:12 PM
sftp over shell script naughtymutt Linux - General 1 08-20-2004 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration