LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-30-2007, 10:13 AM   #1
JenniJenni
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Rep: Reputation: 0
Ftp


I have to PULL a file(File is encrypted) from a remote Server. Here are the information. Then I have to decrypt the file using GPG

Would some one provide me the syntax I need to use pleas.e Thanks.

The Filename = stockrate
ServerName = ftp.AG.gxwtme.com
usename = SBS
pwd = SBS123

Where the above file needs to be placed

Destination Path = /AG/Insurance/Encrypted/input
 
Old 09-30-2007, 10:51 AM   #2
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
Wow. You really shouldn't post username/password information on public Web sites as this one is... Now, everyone can take that (and all the others) file..

You can use any ftp program (gftp, firefox's fireftp,...) to get the file.

Once you download it, take a look at gnupg's documentation.
 
Old 09-30-2007, 12:07 PM   #3
JenniJenni
LQ Newbie
 
Registered: Aug 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks. Its not real information I have provided. Just for example I quoted like that.

Now could some one can tell me the Exact syntax for my FTP and my encryption please.
 
Old 09-30-2007, 03:04 PM   #4
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
This is how I'd do it (if I needed it to be done in terminal):

wget --user SBS --password SBS123 ftp://ftp.ag.gxwtme.com/stockrate
gpg -d stockrate > /AG/Insurance/Encrypted/input

Was this your homework or something?

Last edited by kotnik; 09-30-2007 at 03:07 PM.
 
  


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
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 09:12 AM
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 03:13 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:43 AM.

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