Import delimited .txt files from secure FTP site - "Path Not Found" Access97 
Author Message
 Import delimited .txt files from secure FTP site - "Path Not Found" Access97

I am trying to automate the import of delimited .txt files generated
by FrontPage forms on a Web server.  I can set up and logon to the FTP
site using the Import Action and adding the FTP site to the "FTP
Locations", but when I try to import the files I get the error "Path
not found".

Documentation says that text transfers are not supported by the Import
Action (Thanks Uncle Bill) and to try the "Transfer Text" method.  I
can get this to work via code or macro as long as I am doing it on my
local web server without subdirectories or security, but cannot get it
to work from the remote server.

I've also tried to create an DOS import batch file to import the files
specified using command line FTP with no success.  If I can find a way
to do so, I can always generate a .bat file from code to do this, but
can't find enough command line FTP documentation to accomplish this.

Just installed VB5 too, but am a novice...would it be possible to
create an executable, ActiveX control, etc. to accomplish the same
thing?  I would just have my users use a normal FTP program, but even
simple e-mail seems to baffle them...<sigh>

Any thoughts would be greatly appreciated.

Gerry



Sat, 21 Oct 2000 03:00:00 GMT  
 Import delimited .txt files from secure FTP site - "Path Not Found" Access97

Which Command line FTP are you using?  If it's the one that comes with Win95
then you can get most of the information you want by:
    1) Going to the command prompt and typing FTP -? (This will give you the
command line options)
    2) Starting the program and typing ? at the prompt. (this will give you
the in-program commands)

I have used this program to transfer files in a number of projects and have
not had any problems with it, essentially you create a script file and then
start FTP with the -s switch pointing at the script file.

Below is an example script file (C:\MS.SCR) which can be used with Win95
FTP.
'***************  Script Start  ******************
lcd "C:\Program Files\MPS\MsFiles\Access95\Download"
open ftp.microsoft.com
anonymous

cd \softlib\mslfiles
binary
get AUT97.EXE AUT97.EXE
bye
'***************  Script End  ******************

To run this from Access I would use a command such as this

    dim strCmd as string
    strCmd = "c:\windows\ftp.exe -s:C:\MS.SCR"
    call shell(strCmd,vbHide)

Quote:

>I am trying to automate the import of delimited .txt files generated
>by FrontPage forms on a Web server.  I can set up and logon to the FTP
>site using the Import Action and adding the FTP site to the "FTP
>Locations", but when I try to import the files I get the error "Path
>not found".

>Documentation says that text transfers are not supported by the Import
>Action (Thanks Uncle Bill) and to try the "Transfer Text" method.  I
>can get this to work via code or macro as long as I am doing it on my
>local web server without subdirectories or security, but cannot get it
>to work from the remote server.

>I've also tried to create an DOS import batch file to import the files
>specified using command line FTP with no success.  If I can find a way
>to do so, I can always generate a .bat file from code to do this, but
>can't find enough command line FTP documentation to accomplish this.

>Just installed VB5 too, but am a novice...would it be possible to
>create an executable, ActiveX control, etc. to accomplish the same
>thing?  I would just have my users use a normal FTP program, but even
>simple e-mail seems to baffle them...<sigh>

>Any thoughts would be greatly appreciated.

>Gerry



Sun, 22 Oct 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Access '95: "Path Not Found"

2. SysCmd 603, "path","path"

3. Calling a DLL gives "File Not Found", but File Exists

4. ODBC error - "file not found" Help

5. "File not found:VBA6.DLL"

6. "File or Assembly not found"

7. Strange "File not found" error

8. "File not found" error

9. Error 32504 "File not Found"

10. "File Not Found" Error

11. "file Not found"

12. "File Not Found"-(The Saga Continues)

 

 
Powered by phpBB® Forum Software