Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21278

Access a subdirectory in an ftp://

$
0
0
Hi !

I am web admin in an association, and one of my duties is to respond on files sent to a sub directory in the ftp:// of the web hotel we use for our website. Then I make a list from parts of this file and put the list on a certain place on the website for information to our members.

I have mapped the "ftp://OurWebsite.se@ftpcluster.webhotel.se/" to a network drive (OurWebsiteName) on my computer, and I'm constantly logged in on it, so I don't need to use password and user name !
Name:  ftp.jpg
Views: 82
Size:  5.5 KB

There is no problem for me to, on daily basis, open the network drive, look up the subdirectory (can take a few seconds !), check if there's any file to care about and work on it. Then I just delete the file and close the drive again...

But I can't find any solution how to reach the ftp:// and its subdirectory with a VB-program, even how to make the program patiently wait the seconds it usually takes to open....

What I want is to programmatically search the directory with a program started by the computer regularly, and flash a message if there is any file, maybe even copy it for me.
I already use a similar program for other purposes, and it works fine. Would like to complete it with access as described above...

Best regards and thanks for any attentions

/Kalle
Attached Images
 

Viewing all articles
Browse latest Browse all 21278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>