I wish to write a FTP program to assist me to sync two sites that I created.
While browsing through wininet.bi, I found a few functions that might help me develop my own FTP program to do it.
This is what I wish to happen.
After logging in, collect all filenames and modification times on the server. then compare the times to those on my PC. If the ones on my computer are newer upload them automaticly, ignoring the fact that the file already exists. If there is a file on my computer, but not on server, ask to upload it. And if exists on server but not on pc, ask if to download or delete the file.
In wininet.bi, there is a function FtpFindFirstFile, how do I get "next"?
Also there is a function FtpGetFileSize, what about FtpFileDateTime? Or is there another bi file I should be looking at?
General FreeBASIC programming questions.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests