
December 5th, 2003, 04:09 PM
|
|
Registered User
|
|
Join Date: Oct 2003
Location: Tulsa
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Ftp ??
Hi everyone,
I need to bring a file from my Unix machine to an Access table. the file on the Unix machine is a YYYY.CD file and I want to move it to my server as YYYY.CVS.
This is what I have:
Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
If ConnectToServer("xxx.xxx.x.xxx", "xxxxxx", "xxxx") Then
DownloadFile "u/SW7/TW/PICKS.CD", "E\TEMP\unix\PICKS.CVS"
mdlFTP.CloseserverConnection
End If
DoCmd.TransferText acImportDelim, "PICKS", "TEMP", "E:\TEMP\unix\Picks.c", False, ""
MsgBox "IMPORTING MASTER FILE COMPLETED", vbOKOnly, "STATUS"
End Sub
I get the error when I am trying to import but that is because It can find the file since it was not created.
What I'm doing wrong???
Thanks
|