|
-
February 28th, 2000, 11:11 AM
#1
Need a simple FTP upload program
I need some code I can drop into an existing program that will upload a file to a FTP server. I dont need an interface,it will just run in the backround. The FTP site/password is constant so no need for the user to input it.
Even better would be a way to simply add onto a file in a FTP dir. (just a basic Text file, this is for a utility that posts info about a server to a central text file)
Any help would be greatly appreciated
Thanks
Lee S
[email protected]
-
February 28th, 2000, 11:33 AM
#2
Re: Need a simple FTP upload program
Take a look at :
http://codeguru.developer.com/vb/articles/1852.shtml
- this contains a class module that you can drop into your VB program and then just call a couple of methods to upload / download files at will.
>Even better would be a way to simply add onto a file in a FTP dir. (just
>a basic Text file, this is for a utility that posts info about a server
>to a central text file)
You won't have any luck with that unfortunately (at least, not using the standard FTP protocol), I had to do exactly the same thing at the time I originally wrote the FTP class. In the end I just downloaded the file, wrote the changes to it, then uploaded it again.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
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
|
Click Here to Expand Forum to Full Width
|