MartyConnelly
martyconnelly at shaw.ca
Fri Oct 29 23:04:28 CDT 2004
How about using a watched folder or directory, when a file is added to a folder then do something Creating a Watched Folder with FindChangeNotification API http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm I didn't realize you could ftp download with a couple of lines of code. Someone was looking for this, you could stick this in html via vbscript or javascript The popup window allows you to specify where to place the file. Private Declare Function DoFileDownload Lib "shdocvw" _ (ByVal lpszFile As String) As Long Sub ftptestrun() Dim sDownload As String sDownload = StrConv("http://www5.brinkster.com/mconnelly/GenericDB/suppliers.csv", vbUnicode) Call DoFileDownload(sDownload) End Sub Steve Conklin (Developer at UltraDNT) wrote: >What does "passive mode" mean in this context? > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, October 29, 2004 8:38 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] FTP command line, passive mode > > >Hi all > >A client has an app which uses a lot of calls of the standard Windows >FTP command line utility with script files. > >However, the client now need it to run in passive mode which the Windows >FTP thing can not. > >I can rewrite the app using 3D-FTP but that will be a lot of work - so I >wonder if anyone is aware of a direct replacement which can understand >the script files you can pass to Windows FTP? > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada