PDA

View Full Version : Any real reason for FTP Error 0?



NewsArchive
04-15-2015, 05:05 AM
I had this problem last year too.
No change in Firewall, no change to the setup.....

FileZilla uploads w/o a problem.....

Paul MacFarlane

NewsArchive
04-15-2015, 05:05 AM
Hi Paul,

> I had this problem last year too.
> No change in Firewall, no change to the setup.....
>
> FileZilla uploads w/o a problem.....

Nothing changed in the FTP upload procedure for 7+ years. So if it worked
fine before then "something" changed on your side. If it reports "0" then
the WinInet Windows component did not report any specific error code. It
just reported "no success". It's possible that the FTP server did not send
back any useful error code.

Friedrich

NewsArchive
04-16-2015, 02:07 AM
So how do I fix the wininet components.....? Maybe a windows update
"fixed" that....

The server is the same.
The script is the same.
Filezilla works.
I moved locations (different firewall) and it still doesn't work....

So it must be my machine - my wininet components.

How do I fix that?

Does everything use wininet? (nettalk, catalyst)

A search revealed an updated wininet.dll I got on 3/16
version 11.0.9600.17689
2/19/2015
2.24mb

Is this what you are using?

Paul MacFarlane

NewsArchive
04-16-2015, 02:08 AM
I'm thinking if I can find a version of wininet.dll that works I can
just copy it to the SB folder....

Paul MacFarlane

NewsArchive
04-16-2015, 04:31 AM
Hi Paul,

>> Does everything use wininet? (nettalk, catalyst)
>>
>> A search revealed an updated wininet.dll I got on 3/16
>> version 11.0.9600.17689
>> 2/19/2015
>> 2.24mb
>>
>> Is this what you are using?
>>

It even works with Windows 10 (WinINet 11.0.10041). In fact, it does work
with all WinINet components <g>. You can even use Windows 2000 (or older)
with WinINet version 5.00.2920.0000 (or older).

See attached screenshots.

Friedrich

NewsArchive
04-16-2015, 06:31 AM
BTW, that Windows 2000 machine (Build 2195; Service Pack 4) is dated
September 13, 2005. The Windows 10 machine has the latest Win10 release
installed. Just for fun, I re-checked it with Windows XP, Windows 7,
Windows 8 and Windows 8.1. FTP upload worked without any problem.

Friedrich

NewsArchive
04-17-2015, 03:52 AM
I'm sure it works for you. It's worked for me in the past.

Something's changed. I suggest that it's my copy of wininet.dll. or
something it uses.

I'm at the mercy of you and Microsoft on this. No FTP from SB works for
me anymore. Other FTP products work fine.

From my perspective it's broken. Why? Don't know. Don't care.
I guess the answer is I'll just have to live with that and move on....

Paul MacFarlane

NewsArchive
04-17-2015, 03:53 AM
Have you looked at this page?

https://connect.microsoft.com/IE/feedback/details/808279/ftpopenfile-and-internetwritefile-broken-changed-in-ie11

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.
#JeffWeCan https://www.youtube.com/watch?v=6UsHHOCH4q8&feature=youtu.be

NewsArchive
04-17-2015, 03:54 AM
Now I have. Looks like random problems for years.

Conclusion: You can rely on the MS/IE components

Paul MacFarlane

NewsArchive
04-18-2015, 04:00 AM
My conclusion is that there are often answers out there.

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.
#JeffWeCan https://www.youtube.com/watch?v=6UsHHOCH4q8&feature=youtu.be

NewsArchive
04-18-2015, 04:00 AM
Cue X-Files theme....

--

Russ Eggen
RADFusion International, LLC

NewsArchive
04-18-2015, 04:00 AM
Maybe I'm reading it differently.

People have been reporting this problem to MS for years and its still
not resolved.

Sure, that's an answer. Not helpful....

Its clear the MS component has a problem and the number of times error 0
has been questioned by SB users for unknown reasons might be an
indicator its time for Friedrich to find another component.

All I know is it doesn't work. Everything else FTP on my machine works.
SB doesn't.

Paul MacFarlane

NewsArchive
04-18-2015, 04:01 AM
Paul,

> All I know is it doesn't work. Everything else FTP on my machine works.
> SB doesn't.

IMO, it is not caused by WinINet at all in your case. Perhaps your firewall
blocks access from the SB IDE to your server?

Friedrich

NewsArchive
04-18-2015, 04:02 AM
BTW, the IDE uses the "FtpPutFile" API to upload file(s).

Friedrich

NewsArchive
04-18-2015, 04:03 AM
Hadn't changed my firewall settings when this appeared.... (either
software or hardware)

Using Win7 - Edited to windows firewall to give full permissions to
SB8.exe, no change.

Removed all permissions from windows firewall in attempt to "get the
prompt". Never got the prompt.

Manually granted all permissions. No change.

Located an older wininet.dll and placed it in the SB folder. No change....

Instant Error=0 - there's no attempt to communicate.....

Paul MacFarlane

NewsArchive
04-18-2015, 04:04 AM
And all the workarounds are in code. I don't have control over that....

>> I can confirm too, Using FtpPutFile() works for now, instead of
FtpOpenFile()/InternetWriteFile(). However, it's not satisfactory since
i can't display an upload progress status.



>> What about putting an older version of WinInet.dll in the same
folder as the EXE? To mitigate the risk, we would use this DLL only for
Windows 7 users with WinInet.dll version 11.

Tried that. 4th post in this thread. Was looking for file version info
so I could use a known working version.....
That's why I posted my DLL info......

Paul MacFarlane

NewsArchive
06-25-2015, 01:56 AM
Still a problem for me.

Have to use Filezilla to do my uploads......

Paul MacFarlane

NewsArchive
06-25-2015, 01:57 AM
Maybe Wireshark could help to compare the difference in FileZilla's
success the failure in SB?

Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
I'll search help files & Google for you.

Source code is like a joke.
If you have to explain it, then it's not funny.

NewsArchive
06-25-2015, 01:57 AM
I'll give it a look....

Paul MacFarlane

NewsArchive
06-25-2015, 01:58 AM
Paul,

> Still a problem for me.
>
> Have to use Filezilla to do my uploads......

Unfortunately, there is absolutely nothing we can do :-(

Friedrich