Loop FTP process using shell script The Next CEO of Stack OverflowFTP over SSL in AIX (UNIX)Log monitoring using shell scriptHelp required in logicHow to select a row with latest date and timeHow to run menu options automatically in unix scriptLoop until grep does not find the text in a fileScripting a file move on an FTP ServerShell script to find and replace value from csv fileScript that uses new directoryShell script to match row number from one file and put it as comments in another file when match

If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?

In excess I'm lethal

What does "Its cash flow is deeply negative" mean?

What benefits would be gained by using human laborers instead of drones in deep sea mining?

If a black hole is created from light, can this black hole then move at speed of light?

SQL Server 2016 - excessive memory grant warning on poor performing query

Indicator light circuit

How to transpose the 1st and -1th levels of arbitrarily nested array?

Is it possible to search for a directory/file combination?

Unreliable Magic - Is it worth it?

MessageLevel in QGIS3

Should I tutor a student who I know has cheated on their homework?

Limits on contract work without pre-agreed price/contract (UK)

Rotate a column

How to start emacs in "nothing" mode (`fundamental-mode`)

Why do remote companies require working in the US?

How to make a variable always equal to the result of some calculations?

Is it professional to write unrelated content in an almost-empty email?

How does the mv command work with external drives?

Is there a way to save my career from absolute disaster?

Return the Closest Prime Number

What's the best way to handle refactoring a big file?

Different harmonic changes implied by a simple descending scale

Novel about a guy who is possessed by the divine essence and the world ends?



Loop FTP process using shell script



The Next CEO of Stack OverflowFTP over SSL in AIX (UNIX)Log monitoring using shell scriptHelp required in logicHow to select a row with latest date and timeHow to run menu options automatically in unix scriptLoop until grep does not find the text in a fileScripting a file move on an FTP ServerShell script to find and replace value from csv fileScript that uses new directoryShell script to match row number from one file and put it as comments in another file when match










-1















I want to write a script where I need to check the content of a file after ftping the file and if the file content matches with my requirement then do further processing.
so below are the steps



1.ftp file
2.In the shell script validate the content of the file.If its not as per requirement then do the ftp again and get the new file.(the new
file will be available at the ftp ed location with the same name)
3.Repeat the step 2 until you get the desired file.


How to do this in Unix?










share|improve this question
























  • It would be better doing a simple homework as part of the learning process than trying to get it being done by somebody else.

    – Rui F Ribeiro
    2 days ago











  • I tried while loop but not working as per my requirement..I have posted the question after trying it initially by myself..

    – user313150
    yesterday











  • If you can help it would be great.

    – user313150
    yesterday











  • @Rui F Riberio--Just for you information...I did it on my own..thanks for all your time that you invested in writing the comment

    – user313150
    3 hours ago















-1















I want to write a script where I need to check the content of a file after ftping the file and if the file content matches with my requirement then do further processing.
so below are the steps



1.ftp file
2.In the shell script validate the content of the file.If its not as per requirement then do the ftp again and get the new file.(the new
file will be available at the ftp ed location with the same name)
3.Repeat the step 2 until you get the desired file.


How to do this in Unix?










share|improve this question
























  • It would be better doing a simple homework as part of the learning process than trying to get it being done by somebody else.

    – Rui F Ribeiro
    2 days ago











  • I tried while loop but not working as per my requirement..I have posted the question after trying it initially by myself..

    – user313150
    yesterday











  • If you can help it would be great.

    – user313150
    yesterday











  • @Rui F Riberio--Just for you information...I did it on my own..thanks for all your time that you invested in writing the comment

    – user313150
    3 hours ago













-1












-1








-1








I want to write a script where I need to check the content of a file after ftping the file and if the file content matches with my requirement then do further processing.
so below are the steps



1.ftp file
2.In the shell script validate the content of the file.If its not as per requirement then do the ftp again and get the new file.(the new
file will be available at the ftp ed location with the same name)
3.Repeat the step 2 until you get the desired file.


How to do this in Unix?










share|improve this question
















I want to write a script where I need to check the content of a file after ftping the file and if the file content matches with my requirement then do further processing.
so below are the steps



1.ftp file
2.In the shell script validate the content of the file.If its not as per requirement then do the ftp again and get the new file.(the new
file will be available at the ftp ed location with the same name)
3.Repeat the step 2 until you get the desired file.


How to do this in Unix?







shell-script ftp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Rui F Ribeiro

41.9k1483142




41.9k1483142










asked 2 days ago









user313150user313150

53




53












  • It would be better doing a simple homework as part of the learning process than trying to get it being done by somebody else.

    – Rui F Ribeiro
    2 days ago











  • I tried while loop but not working as per my requirement..I have posted the question after trying it initially by myself..

    – user313150
    yesterday











  • If you can help it would be great.

    – user313150
    yesterday











  • @Rui F Riberio--Just for you information...I did it on my own..thanks for all your time that you invested in writing the comment

    – user313150
    3 hours ago

















  • It would be better doing a simple homework as part of the learning process than trying to get it being done by somebody else.

    – Rui F Ribeiro
    2 days ago











  • I tried while loop but not working as per my requirement..I have posted the question after trying it initially by myself..

    – user313150
    yesterday











  • If you can help it would be great.

    – user313150
    yesterday











  • @Rui F Riberio--Just for you information...I did it on my own..thanks for all your time that you invested in writing the comment

    – user313150
    3 hours ago
















It would be better doing a simple homework as part of the learning process than trying to get it being done by somebody else.

– Rui F Ribeiro
2 days ago





It would be better doing a simple homework as part of the learning process than trying to get it being done by somebody else.

– Rui F Ribeiro
2 days ago













I tried while loop but not working as per my requirement..I have posted the question after trying it initially by myself..

– user313150
yesterday





I tried while loop but not working as per my requirement..I have posted the question after trying it initially by myself..

– user313150
yesterday













If you can help it would be great.

– user313150
yesterday





If you can help it would be great.

– user313150
yesterday













@Rui F Riberio--Just for you information...I did it on my own..thanks for all your time that you invested in writing the comment

– user313150
3 hours ago





@Rui F Riberio--Just for you information...I did it on my own..thanks for all your time that you invested in writing the comment

– user313150
3 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509083%2floop-ftp-process-using-shell-script%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509083%2floop-ftp-process-using-shell-script%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.