Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Zero Length Files
User1013

Posts: 3
Member Since: 12/11/00
posted December 11, 2000 9:34 PM

Hi,

I am using the FTP control and have come across some issues on a client site through a firewall, basically what happens is that when uploading files the first attempt puts one file up alright and then any subsequent files go up as zero length. From this point on all files (including the first sent) go up as zero length. I have ried login through the firewall first and this doesn't appear to work either.

The process involves getting a connection (this works).

Creating a directory (also works)
then uploading a serious of files based on information in a database.

What I need to know is there something I could be missing, I have the timeout set to 10 seconds and transfer mode set to ftpImage other than that I have no other settings, I'm using the store method.

Your help is appreciated.

Regards,

Jason
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 11, 2000 9:46 PM


Can you duplicate this behavior with our sample FTP Client? If so, please tell me the steps I need to take.
User1013

Posts: 3
Member Since: 12/11/00
posted December 11, 2000 9:57 PM

I am using ASP but copied the vb code sample provided,

I create the object, set the timeout, and transfer mode then login into the remote server.

On a successfull connection I then (using a loop) execute the Store method to upload a series of files, which go up as zero length.

That is all I do, I believe there are conflicts with this object and the clients Firewall/environment, are there any know issues I should be looking out for that can have this effect.

Regards,

Jason
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 11, 2000 10:08 PM


If you get rid of On Error Resume Next, do you get any errors? Does it work if you make the same program in VB? Have you tried using Passive?

If you need further help, please e-mail the script and an account for us to test with. Send the mail to support@dart.com
User1013

Posts: 3
Member Since: 12/11/00
posted December 12, 2000 11:39 PM

Unfortunately for security reasons i am unable to provide you with the account setup details.

We have however managed to ftp to other servers through the firewall with no problems it is just going to this one server, (which is the required destination). The server is managed by an external ISP, I am wondering is it possible that the ASP script is not receiving the correct messages back from the server, or timing out. I have set the ftp component timeout to be less than the ASP timeout, I am at a lose to solve this issue at the moment. It just appears to be a conflict in the configuration between the component, firewall and selected destination, is there anything I can do to trace further into the problem.

Regards,

Jason
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX