I tried using the wwipstuff vcx file to send data to a website. Everything seems to work with one exception. When the user is connected to the internet via Verizon, it has a problem.
When a user tries to send some html files, I watch the website and the file gets created with zero bytes, but the data never gets sent. I believe that the connection is sort of a two way communication between the program (computer) and the website. From what I can tell, The message sent from the program is received by the website to create the file, but it seems that Verizon is blocking the message back To the program to begin sending data. Is there anything in the wwipstuff code that I might be able to change that will allow or override this Issue? It only happens with the Verizon connection.
Any help would be greatly appreciated.
Brian Roberts 515 Dogwood Lane Hideaway, TX 75771 (430) 235-1500 (office) (832) 334-1498 (cell)
One day I hope to be as good a person as my dog already thinks I am!
Uh... can you be more specific on what you're doing exactly? Are you using FTP? HTTP? How are you sending the files?
If it's a special provider that's a problem then most likely there's an issue with the proxy or the way the internet connection is set up.
If you're using FTP, the difference between an active and passive connection may cause issues. Restrictive connections most likely mean you can't do an active connection which assigns a second port. Try using Passive mode.
+++ Rick ---
Here is the code I am using to send the files to the website. Sorry I wasn't more specific with my explanation of what I doing to send the files
DO while not EOF()
xx = '"' + ALLTRIM(namefile.fname) + '","' + "results/"+ALLTRIM(namefile.fname) + '"'
IF o.FtpsendFileEx(&xx) # 0
=MESSAGEBOX("FILE TRANSFER (SEND) ERROR "+ALLT(STR( o.nError))+"... "+CHR(13)+o.cErrorMsg,0,"Problem!")
RETURN
ELSE
WAIT window "TRANSFER OF FILE "+ALLT(namefile.fname)+"... " timeout 1
ENDIF
SELECT namefile
SKIP 1
enddo
Hmmm... unrelated but why are using macro expansion for the parameters? Just pass the values...
As I mentioned on my last message, check into using a passive connection with oFtp.lPassiveFtp = .T.
and see if that helps.
You basically have network issues with the firewall or router on your network not passing the FTP connection through.
+++ Rick ---
Thanks, I'll give that a try and see what happens, however, I have about 300 installations across the US and Canada and the only ones that can't connect to their website or mine are the ones using Verizon....very strange. Been an ongoing issue for about 4 years, but Filezilla will work!
The macro expansion was only to keep the line of code short...no other reason.
Yes but if the connection is locked down and you can't open a remote port because the ISP is blocking it, then it won't work. Passive sticks to a single port non-persistant connection which is more tolerant of tight firewall rules.
+++ Rick ---