Sponsored Content
Top Forums Shell Programming and Scripting How to download Images and Json file from server(godaddy) to Local machine (Ubuntu 14.04).? Post 302963957 by g4v1n on Friday 8th of January 2016 09:59:30 PM
Old 01-08-2016
Thanks a lot! Peasant.
I would try this one today and let you how it goes.
Much appreciated Smilie

---------- Post updated at 06:45 PM ---------- Previous update was at 09:38 AM ----------

It works very well.
But the text file that I am trying to download from ftp server to my local machine is not exact same as on server( I mean some words from the files are missing). Is there any way I can put checksum to check that files are not corrupted?

---------- Post updated at 09:59 PM ---------- Previous update was at 06:45 PM ----------

could you please tell me what is $LOCKFILE and why do we need this?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Using SCP command in IBM AIX to download file from remote to local system

Hi, When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code. Please give some resolution. SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies

2. UNIX for Dummies Questions & Answers

Copy file from local machine to server?

I am logged into a server via SSH. There is a file on my desktop of my Windows PC I would like to put on that server. How do I do it? SCP looks the likely method but how does the server know where the file is on the local machine? Thanks. (2 Replies)
Discussion started by: Sepia
2 Replies

3. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

4. Shell Programming and Scripting

check web server running on local and on remote machine

Hi , How to check whether web server is running from remote machine How to check whether web server is running on web server itself Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies

5. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

6. IP Networking

How to create Local IPv6 and IPv4 networks by using ubuntu server as router

Hi, I have two Cent OS Linux systems and one Ubuntu OS system contains two Ethernet Cards. I need to create two networks by using Ubuntu sys as router. One network need to configure in IPv4 addresses and another network should configure in IPv6 addresses. Please help me how to configure two... (0 Replies)
Discussion started by: hanuma614
0 Replies

7. Solaris

Copying from server to a local machine

Hi, I am trying to copy a file from oracle home on a unix platform to my local machine. I think i can use ftp but i am not sure of the exact syntax and way i should write this. Can someone help please? (2 Replies)
Discussion started by: dollypee
2 Replies

8. UNIX for Advanced & Expert Users

FTP While transfering files to local machine to remote machine

Hi Am using unix Ksh Am getting the problem while transferring zero size files through the script . When i transfer zero size files from local machine to remote machine manually i can able to do it . My question its beause of zero size files am not able to transfer through script ? or its... (2 Replies)
Discussion started by: Venkatesh1
2 Replies

9. UNIX for Dummies Questions & Answers

Copy files from Linux server local windows machine using a shell script

Hello, I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine. Is this possible.? Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies

10. Red Hat

iptables applied in local machine, can't ssh remote machine after chain changed to DROP

I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99 Source Destination was UP, with IP 192.168.1.15. This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in... (2 Replies)
Discussion started by: babinlonston
2 Replies
REQUESTSYNC(1)						      General Commands Manual						    REQUESTSYNC(1)

NAME
requestsync - helper to file sync requests for Ubuntu SYNOPSIS
requestsync [-d distro] [-nse] [-k keyid] <source package> [target release] [base version] requestsync --lp [-nse] <source package> <target release> [base version] requestsync -h DESCRIPTION
requestsync looks at the versions of <source package> in Debian and Ubuntu and prompts for an explanation of why the Ubuntu changes (if there are any) should be dropped. The changelog entry is then downloaded from packages.debian.org, and the sync request bug is filed in launchpad. Alternatively, the sync request can be filed by GPG-signed email (option --email). requestsync checks if you have the permissions to request the sync from the archive administrators directly by checking if you have upload permissions for that package through package set permissions or component permissions. If you don't have upload permissions, the script will subscribe the necessary team with approval rights to the bug report for you. This check is only performed if requestsync is allowed to use the LP API (not email submission). In the other case requestsync relies on that you answer the question about upload permissions honestly to determine if a team with approval rights is to be subscribed to the bug. If you have permission to upload the package directly, then you may prefer to use syncpackage instead to copy the package using the Launch- pad API. At some future point, requestsync will be changed to do this automatically. requestsync uses launchpadlib authentication to file its requests. OPTIONS
Listed below are the command line options for requestsync: -h Display a help message and exit. -d Specifies which Debian distribution a package should be synced from. Default is testing in LTS cycles, otherwise unstable. -n Specifies that the package is a new package, and requestsync should not attempt to look it up in Ubuntu since it will not exist. -k <keyid> Specifies your GPG key. This is only used if the sync request is mailed to Launchpad. --email Use GPG-signed email to file the bug, rather than launchpadlib. -s Specifies that you require sponsorship. You need this option if you don't have upload permissions for that package. This disables the upload permissions check described above. -C Allow changelog to be manually filled in when missing. requestsync gets Debian changelogs from packages.debian.org, which isn't in sync with the Debian archive. To request a sync before the changelog is available, pass this option, and provide the changelog entries yourself. -e Use this flag after FeatureFreeze for non-bug fix syncs. requestsync will subscribe ubuntu-release team instead of sponsorship team. -l INSTANCE, --lpinstance=INSTANCE Use the specified instance of Launchpad (e.g. "staging"), instead of the default of "production". --no-conf Do not read any configuration files, or configuration from environment variables. <source package> This is the source package that you would like to be synced from Debian. <target release> This is the release that you would like the source package to be synced into. This should always be the latest development release of Ubuntu. [base version] In some cases, the base version (where the Ubuntu package started differing from the Debian package) cannot be automatically deter- mined. Specify this option in this case. ENVIRONMENT
requestsync uses the following variables which should be set in your shell's configuration by adding export VARIABLE= lines, where VARIABLE is one of the following: UBUMAIL, DEBEMAIL Specifies which email should be used when sending to Launchpad. All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files. CONFIGURATION VARIABLES
REQUESTSYNC_SMTP_SERVER Set which SMTP server to use when sending mail. If unspecified this defaults to launchpad's SMTP servers (the eventual destina- tion). REQUESTSYNC_SMTP_PORT Sets which port of the SMTP server to use. Default is 25. REQUESTSYNC_SMTP_USER and REQUESTSYNC_SMTP_PASS Sets the username and password to use when authenticating to the SMTP server. REQUESTSYNC_USE_LPAPI Setting this to no is equivalent to running with --email. REQUESTSYNC_LPINSTANCE, UBUNTUTOOLS_LPINSTANCE The default value for --lpinstance. REQUESTSYNC_KEYID, UBUNTUTOOLS_KEYID The default value for -k. SEE ALSO
rmadison(1), syncpackage(1), ubuntu-dev-tools(5) AUTHOR
requestsync and this manual page were written by the Ubuntu MOTU Team. Both are released under the GNU General Public License, version 2. ubuntu-dev-tools 19 January 2008 REQUESTSYNC(1)
All times are GMT -4. The time now is 04:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy