Searching \ for '[OT] Sample ftp source code' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=sample+ftp+source
Search entire site for: 'Sample ftp source code'.

Exact match. Not showing close matches.
PICList Thread
'[OT] Sample ftp source code'
2000\02\02@124105 by John Waters

picon face
<x-flowed>Hi All,

I'm developing a program (using MS VC++) that will
send data by ftp periodically to a web site. Can
anyone provide me with some simple program fragments
that perform ftp send/receive functions?

Thanks in advance!

John
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

</x-flowed>

2000\02\02@150042 by Erik Reikes

flavicon
face
At 09:30 AM 2/2/00 -0800, you wrote:
>Hi All,
>
>I'm developing a program (using MS VC++) that will
>send data by ftp periodically to a web site. Can
>anyone provide me with some simple program fragments
>that perform ftp send/receive functions?
>
>Thanks in advance!
>

What I've usually done is to call the NT ftp program in its own shell and
pass it a script file.

The FTP that comes with windows has the ability to use a script, so you
would just write your data file to a directory and invoke ftp with a script
that sends the file out of that directory.  Quick, dirty, but simple...

HTH
Erik Reikes
Software Engineer
Xsilogy, Inc.

spam_OUTereikesTakeThisOuTspamxsilogy.com
ph : (858) 535-5113
fax : (858) 535-5163
cell : (858) 663-1206

2000\02\02@153817 by Randy Glenn

picon face
You could also use the Microsoft Internet Transfer ActiveX control - the one
that does HTTP/FTP transfers, not the web browser, and not WinSock. Then,
all you have to do is issue commands to the control - not much programming
required on your part.

-Randy Glenn
E-Mail: .....PICxpertKILLspamspam@spam@yahoo.com
Web: http://i.am/PICxpert

Currently wondering why I can't get in to Safe Mode - where's a Mac when you
need it?

{Original Message removed}

2000\02\03@153217 by kayode.ayandokun

flavicon
face
At 09:30 AM 2/2/00 -0800, you wrote:
>Hi All,
>
>I'm developing a program (using MS VC++) that will
>send data by ftp periodically to a web site. Can
>anyone provide me with some simple program fragments
>that perform ftp send/receive functions?
>
>Thanks in advance!
>

Have a look at the MSVC++ MFC Internet samples.  FTPTree is an example
program that has the bare bones of what you want to do.  It opens an FTP
connection, downloads the server's directory structure and displays it
in a tree control.  The source code is simple to follow and the MFC
classes you need to use are used in this example.  You just need to call
different member functions for uploading data either as a file from disk
or directly from memory.  The classes are well described in the help
topics.

Kayode.

Dr O. K. Ayandokun,
The BlackBoxCamera Company Limited,
Unit U7, Lenton Boulevard,
Nottingham, NG7 2BY,
England.
kayode.ayandokunspamKILLspamvirgin.net
Tel. 0700 2522526
For the latest in home security camera technology and the
best ideas for using it visit http://www.blackboxcamera.com

2000\02\03@155719 by John De Villiers

flavicon
face
why bother. Just fire up ftp with a command line script

ftp -s:scriptfile   ( for win95/8 ) and just ftp -sscriptfile ( for NT or
unix )

and then scriptfile will contain something like
open ftp.peanuts.com
user anonymous
pass root@
bin
mput localfilename remotefilename
quit

> {Original Message removed}

2000\02\07@131505 by Bill Pierce

picon face
<x-flowed>I wouldn't suggest implementing your own FTP transfers. If you really want
to the source for WS-FTP (the DOS version) is available and has the routines
to do the transfers although it's not pretty. There is an easier way. If you
are just doing an in-house project then use Microsoft's stuff thats built in
to IE 4 and 5. There are MFC classes to use these, really simple. If you are
shipping a product or don't want to use MS stuff buy one of the third party
COM components that do it. They don't cost much and they work well. I've
used the one from Crecent, look at http://www.componentsource.com for others.

Bill

{Quote hidden}

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

</x-flowed>

2000\02\07@172218 by Bill Pierce

picon face
<x-flowed>The only problem with the MS stuff is that you can't ship it unless you ship
the entire IE5 installer with it.

Bill


{Quote hidden}

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

</x-flowed>

2000\02\07@192311 by Randy Glenn

picon face
The FTP functions are a part of the WinSock library, aren't they? Meaning that no IE is
required.

-Randy Glenn
E-Mail: TakeThisOuTPICxpertEraseMEspamspam_OUTyahoo.com
Web: http://i.am/PICxpert

Currently wondering why I can't get in to Safe Mode - where's a Mac when you need it?

{Original Message removed}

2000\02\07@193156 by Don Holtz

flavicon
face
Hi!

No, actually FTP is not part of Winsock.  Winsock is for low level IP to IP
communications (ie. TCP/UP, UDP, etc).

FTP is built on top of the Winsock layer.  You can build FTP routines that
utilize sockets.

If I remember correctly, there is a windows DLL called wininet.dll that
DOES contain FTP functions.  You are correct that IE is NOT required to do
FTP.  (Also, there is a DOS FTP command that is nice and easy to use... try
it!)

Good luck!

Sincerely,
Don

At 07:18 PM 2/7/00 -0500, you wrote:
>The FTP functions are a part of the WinSock library, aren't they? Meaning
that no IE is
>required.
>
>-Randy Glenn
>E-Mail: RemoveMEPICxpertspamTakeThisOuTyahoo.com
>Web: http://i.am/PICxpert
>
>Currently wondering why I can't get in to Safe Mode - where's a Mac when
you need it?
>
>{Original Message removed}

2000\02\08@092155 by Jim Hartmann

flavicon
face
I saw some "free" ftp source code here :
http://www.freecode.com/internet.html

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...