Re: ftp using Internet Transfer Ctrl



Why do you like commenting on things you know nothing about? The forward
slash is correct syntax.

John... Visio MVP


"PC Data***" <nospam@xxxxxxxxxxx> wrote in message
news:7J7Nf.5626$5M6.4791@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In your Execute statement, shouldn't the forward slash after
"c:\interest.html" be a backslash?

--
PC Data***
Your Resource For Help With Access, Excel And Word Applications
Over 1125 users have come to me from the newsgroups requesting help
resource@xxxxxxxxxxxxxxx



"Jon Weston" <jon.weston@xxxxxxxxxxx> wrote in message
news:wL6Nf.82534$H%4.69222@xxxxxxxxxxx
Hi all. I'm trying to use the Internet Transfer Control in an Access03
database to upload a file using FTP. It's not giving me any errors but
is completely failing to upload the file. Here's the code I'm using
(with pertinent info removed):

With Forms!Switchboard!INetCtrl
.URL = ftp://ftp.site.name
.UserName = "myusername"
.Password = "mypassword"
.Execute , "PUT c:\interest.html /interest.html"
End With

I've confirmed the ftp site name and my username & pwd by manually
ftp'ing the file and it all works. This is a new area for me so any help
would be appreciated.
TIA
Jon





.