DougHomeOffice
Programmer
Getting an error Bad File name.
I'm trying to copy a file from my computer to an FTP site
Is this possible how can i automate
--------------------------------------
Dim stDocName As String
Dim SourceFile, DestinationFile
SourceFile = "MyComputerPath\MyAccessFile.mdb" ' Define source file name.
DestinationFile = "password@domain.com/FolderAtSite/MyAccessFile.mdb"" TARGET="_new">ftp://usernameassword@domain.com/FolderAtSite/MyAccessFile.mdb"; ' Define target file name.
FileCopy SourceFile, DestinationFile ' Copy source to target.
-------------------------
I'm trying to copy a file from my computer to an FTP site
Is this possible how can i automate
--------------------------------------
Dim stDocName As String
Dim SourceFile, DestinationFile
SourceFile = "MyComputerPath\MyAccessFile.mdb" ' Define source file name.
DestinationFile = "password@domain.com/FolderAtSite/MyAccessFile.mdb"" TARGET="_new">ftp://usernameassword@domain.com/FolderAtSite/MyAccessFile.mdb"; ' Define target file name.
FileCopy SourceFile, DestinationFile ' Copy source to target.
-------------------------