|
-
Jun 15th, 2001, 04:54 AM
#1
Thread Starter
Lively Member
FTP File Search
Will anyone make a project in vb, that searches through the a whole ftp server for a file, and returns the location of the file.
And then reply this post with the project zipped?
-
Jun 16th, 2001, 01:34 AM
#2
Addicted Member
We wouldn't make it for you, that's not the purpose of these forums. But if you start making it and have any questions along the way, *that's* what we're here for
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 20th, 2001, 08:09 PM
#3
PowerPoster
I have the same kind of question
I have posted the same kind of question in vb forum. I want to write a program that takes an id and searches the file with that id and then downloads it. I cannot think of any way to assign an id to the file so that i dont need to browse the ftp to get the file.
Please help me too!
-
Jun 21st, 2001, 02:53 AM
#4
Addicted Member
You could find the checksum of the file...then step through an FTP site with your program, checking checksums (I don't know if that'd work well over FTP, you may want to make your own protocol!), and if they match download it
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 02:57 AM
#5
Addicted Member
Sorry abdul, I didn't read your post right the first time...you just want a way to ID the files. Checksums are the answer...if not checksums, you could convert the file's binary data to hex and run it through the MD5 algorithm...and I'm going to shut up now, before my ideas get any worse
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 10:30 PM
#6
PowerPoster
that is confusing!
What is a checksum. Can you give me an example (general) Please.
-
Jun 21st, 2001, 11:29 PM
#7
Addicted Member
Checksums are a way to validate the size of a file against the contents, mostly to make sure the file isn't damaged (like from a compression operation), and as far as I know its unique. Doesn't really matter, I'm pretty sure it's impossible to generate checksums in VB, sorry I brought it up
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 21st, 2001, 11:36 PM
#8
Addicted Member
Well, I'll be damned!
I was wrong, I found a snippet for generating checksum data!
http://www.freevbcode.com/ShowCode.Asp?ID=655
Here's what you could do: Read in the part of the file, maybe the first 200 bytes or so. Run it through the checksum routines as described in the code, and that'll be your unique ID!
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
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
|