473,467 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error when trying to download using ftp module

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
1 1782
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AdSR | last post by:
Hello, Nothing relevant found on Google for this, so I'm asking here. I wrote a short script that launches several threads (parallel download using urllib.urlretrieve in this case). Sometimes...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
3
by: Ron Jackson | last post by:
I am using Python 2.5 on Windows XP. I have installed Pyserial and win32all extensions. When I try to run the example program scan.py (included below), or any other program using pyserial, as...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
5
by: chrispoliquin | last post by:
Hi, I have a small Python script to fetch some pages from the internet. There are a lot of pages and I am looping through them and then downloading the page using urlretrieve() in the urllib...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.