Scripts Thread, Batch FTP Script in Coding and Web Development; Hey,
I was wondering if anyone can create a batch script which would ftp into a linux server and download ...
-
23rd March 2008, 04:18 PM #1 Batch FTP Script
Hey,
I was wondering if anyone can create a batch script which would ftp into a linux server and download a file?
-
-
23rd March 2008, 05:12 PM #2 Sure, its possible.
I'd urge against using ftp though in favour of SFTP for both security/ease.
If this is ok by you, it should be easy enough to make you a small script.
-
-
23rd March 2008, 08:48 PM #3 It's quite easy you need to make a file (called commands.txt in this instance) as follows:
<username>
<password>
GET file.extention
then use ftp -s commands.txt
http://www.nsftools.com/tips/MSFTP.htm
But it does store and transmit the password in plain text so SCP might be a better option. There is an SCP client bundled with the putty suite see: http://www.chiark.greenend.org.uk/~s.../download.html
-
SHARE:
Similar Threads
-
By steve_nfi in forum Networks
Replies: 8
Last Post: 11th March 2008, 10:18 AM
-
By meastaugh1 in forum Windows
Replies: 2
Last Post: 17th January 2008, 09:02 PM
-
By PrimaryTech in forum Scripts
Replies: 8
Last Post: 7th July 2007, 06:04 PM
-
By indie in forum Windows
Replies: 17
Last Post: 12th December 2006, 01:19 PM
-
By beeswax in forum Scripts
Replies: 9
Last Post: 3rd March 2006, 08:48 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules