you don't have to exit VB and reload, as running 2 procedures yields a refresh. how about this one for you geek?
if you don't mind I have another question for you (last one!)...
I am capturing everything just perfectly, but there is a problem I can't get my head around. I have this code for example: Dim vPath As String
Dim vFTPServ As String
Dim fNum As Long
vPath = "C:"
vFTPServ = "www.domain.com"
fNum = FreeFile()
Open vPath & "\FtpComm.txt" For Output As #fNum
Print #1, "USER myUN" ' your login
Print #1, "pass" ' your password
Print #1, "dir " & Me.namefield & " c:\test.txt"
Print #1, "close"
Print #1, "quit"
Close
Shell "ftp -n -i -g -s:" & vPath & "\FtpComm.txt " & vFTPServ, vbHide
i am doing this everytime I want to view the contents of the TEST text file. my question is, is there a way that I can leave the FTP session open, and keep printing lines in the FTPCOMM file and keep executing DOS commands one at a time this way instead of opening and closing the connection each time? thanks!