By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,968 Members | 1,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,968 IT Pros & Developers. It's quick & easy.

Error when trying to download using ftp module

P: n/a
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 from any server. I
get an error that says cannot transfer file from ftp server. It is a
runtime error and there are just a few references to it on google and no
replies. I followed the format on the site above.
Maybe it is because I can put this in any url:
ftp//theserver.com and get prompted for username and password,
but not ftp://theserver.com/thefiles/file.txt - it goes nowhere. What do
you think?

So I tried the dos ftp such as ftp -s:script.txt which works fine but I
cannot get the access code that uses the file I am trying to ftp to wait for
it. I tried a delay, I tried the timer, I tried doevents. Created a loop
that runs until a filename exists.. Nothing waits for this
Shell ("ftp -s:c:\getfile.txt") to run.

So how can I wait for this file to finish. Thanks in advance

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I realized I made a mistake with the timer, and I can delay it now, but if
you have a solution to the ftp problem using the data transfer libray, I
would be grateful.
The error is: Run-time error '-2147216504 (80043188)';
cannot start file transfer from 'server.com'.

I see in google, one or 2 others had the same problem but no replies.

Thanks in advance

"Danny" <da********@hotmail.com> wrote in message
news:Gu********************@news4.srv.hcvlny.cv.ne t...
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 from any server. I get an error that says cannot transfer file from ftp server. It is a
runtime error and there are just a few references to it on google and no
replies. I followed the format on the site above.
Maybe it is because I can put this in any url:
ftp//theserver.com and get prompted for username and password,
but not ftp://theserver.com/thefiles/file.txt - it goes nowhere. What do
you think?

So I tried the dos ftp such as ftp -s:script.txt which works fine but I
cannot get the access code that uses the file I am trying to ftp to wait for it. I tried a delay, I tried the timer, I tried doevents. Created a loop
that runs until a filename exists.. Nothing waits for this
Shell ("ftp -s:c:\getfile.txt") to run.

So how can I wait for this file to finish. Thanks in advance

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.