C Board  

Go Back   C Board > Community Boards > A Brief History of Cprogramming.com

 
 
LinkBack Thread Tools Display Modes
Old 07-01-2003, 03:12 PM   #1
Registered User
 
Join Date: Jul 2003
Posts: 3
Smile How can I run a small ftp script from C program

open 192.1.1.111
basheer
test123
bi
cd /ftp
mget report.*
bye

--------------
I run this from a win script (ftp -i -v -s:ftp1.bat)

I want to write a C program to do the same.
compile it and give exe to users to run.

(I dont want the user to know login name and passwd) basically avoiding any access to unix other than getting some files when a user wants to)

How can I do this in C program
bazeemuddin is offline  
Old 07-01-2003, 05:04 PM   #2
End Of Line
 
Hammer's Avatar
 
Join Date: Apr 2002
Posts: 6,240
There's some examples of running programs here:
http://faq.cprogramming.com/cgi-bin/...&id=1043284392

What compiler are you using?
__________________
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Hammer is offline  
 

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on making program run more efficiently peeweearies C Programming 2 03-23-2009 02:01 AM
Using variables in system() Afro C Programming 8 07-03-2007 12:27 PM
Make a program run at startup cookie Tech Board 2 06-08-2007 08:36 PM
This is how to get your program to run fullscreen (console) Raigne Windows Programming 11 11-25-2005 08:26 AM
What's the code for a program to run in Task manager, under the processes tab newbie1 Windows Programming 5 04-17-2003 07:07 AM


All times are GMT -6. The time now is 11:04 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22