473,320 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ftp using Internet Transfer Ctrl

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
Mar 1 '06 #1
4 2163
In your Execute statement, shouldn't the forward slash after
"c:\interest.html" be a backslash?

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1125 users have come to me from the newsgroups requesting help
re******@pcdatasheet.com

"Jon Weston" <jo********@hotmail.com> wrote in message
news:wL6Nf.82534$H%4.69222@pd7tw2no...
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

Mar 1 '06 #2
PC Datasheet wrote:
In your Execute statement, shouldn't the forward slash after
"c:\interest.html" be a backslash?

--
To the original poster:

It is commonly accepted that these newsgroups are for free
exchange of information. Please be aware that PC Datasheet
is a notorious job hunter. If you are considering doing
business with him then I suggest that you take a look at
the link below first.

http://home.tiscali.nl/arracom/whoissteve.html

Randy Harris
Mar 1 '06 #3

"PleaseStopAdvertising" <pl****@no.spam.net> wrote in message
news:IL*******************@newssvr11.news.prodigy. com...
PC Datasheet wrote:
In your Execute statement, shouldn't the forward slash after
"c:\interest.html" be a backslash?

--
To the original poster:

It is commonly accepted that these newsgroups are for free
exchange of information. Please be aware that PC Datasheet
is a notorious job hunter. If you are considering doing
business with him then I suggest that you take a look at
the link below first.

http://home.tiscali.nl/arracom/whoissteve.html

Randy Harris


???odd. nope, Randy, I wasn't thinking of doing business with anyone - just
asking a question. Thanks for the warning, though, I think.

As for the slash: I copied the code directly from the msdn example and
modified it slightly with my own parameters. ...hang on a tic...ok, I tried
it as a backslash. Doesn't work, but doesn't spit out an error, either.

Thanks for the idea, though. Any others? Is there a better way to ftp than
using the Internet Transfer Control?
Jon
Mar 1 '06 #4
Why do you like commenting on things you know nothing about? The forward
slash is correct syntax.

John... Visio MVP
"PC Datasheet" <no****@nospam.spam> wrote in message
news:7J*****************@newsread2.news.atl.earthl ink.net...
In your Execute statement, shouldn't the forward slash after
"c:\interest.html" be a backslash?

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1125 users have come to me from the newsgroups requesting help
re******@pcdatasheet.com

"Jon Weston" <jo********@hotmail.com> wrote in message
news:wL6Nf.82534$H%4.69222@pd7tw2no...
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


Mar 1 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: trapeze.jsg | last post by:
Hi. I am trying to get through to Microsoft MapPoint Services using ZSI for soap handling. I can generate the service classes and also the soap-requests generated by the service classes seem to...
0
by: John | last post by:
Hi I have the standard version of access which does not include internet transfer control (asfik). Can I purchase internet transfer control separately? If not, is there another access compatible...
0
by: Hinrich Wrage | last post by:
Has anyone used the "Internet Data Transfer Library" from Dev Ashish under Access 2000 ? I have tried to up and download a .xml file, but it comes back truncated. The last few lines are...
1
by: Danny | last post by:
Hi all, I am using the Internet Data Transfer Library to ftp files to another server: http://www.mvps.org/access/modules/mdl0037.htm it works fine ftping to another server, but I cannot ftp...
1
by: Ben Cox | last post by:
Trying to use the MS Internet Transfer Control in a Windows app. I get no errors but when I try to transfer files it is not working. Does anyone have any working samples. Ben
5
by: Åženol Akbulak | last post by:
Hello; I use in my web application FormsAuthentication. Also I use Session state (InProc). When a user logged in, I can read Session parameters. (For example Session). Problem is that, when...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
0
by: fiona | last post by:
Yucca Valley, CA, - October 2007: Catalyst Development Corporation, publisher of SocketTools, SocketWrench and LogicGem, today announced the release of Catalyst File Transfer .NET V5.0. For...
2
by: Gouri.Mahajan7 | last post by:
Hello, Can anybody please tell me how to disable the shortcuts of the internet explorer? I have hosted control on the web page and i want to give the inputs such as Ctrl+A, Ctrl+B and so on.....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.