-
FTP Password
Hello,
If the Password is wrong on the FTP, a "too" generic error appears.
"Compiler FTP Upload Error (Error Code #0)"
Seems like it's a compiler issue by reading this, and it's very cryptic.
Maybe something like "Unable to log into FTP server (Invalid Username or
Password)"
-Robert
-
Re: FTP Password
Hi,
Actually I knew I changed the PW and forgot to change it.
Now I put the right one in and I still receive this error.
I know it's all right because I tried it with CuteFTP.
I'm using Windows 7 and the latest SB7 with latest check for updates.
What am I missing here? I will admit this is my first attempt on WIN7.
-Robert
-
Re: FTP Password
Hello Robert,
> If the Password is wrong on the FTP, a "too" generic error appears.
>
> "Compiler FTP Upload Error (Error Code #0)"
>
> Seems like it's a compiler issue by reading this, and it's very cryptic.
>
> Maybe something like "Unable to log into FTP server (Invalid Username or
> Password)"
If you receive a "#0 error" then neither the WinINet API nor the
GetLastError API provide an error code.
If WinINet returns an error, it looks like this:
Uploading... ftp.lindersoft.com to 1.jpg
Compiler FTP Upload Error (Error Code #12003)
If GetLastError returns an error, it looks like this:
Uploading... ftp.lindersoft.com to 1.jpg
Compiler FTP Upload Error (Error Code #3)
There is a fix in the latest internal source codes for a "#ftp upload" bug,
but I don't think it relates to your issue.
---
http://www.lindersoft.com/forums/showthread.php?t=21210
FIX : [SB#910292] IDE: Possible "#ftp upload..." problem (the
uploaded file with an "SB7_t_m_p" added to the file name stayed
in the FTP folder indefinitely).
---
Friedrich
-
Re: FTP Password
I have tested it on five different Win7 machines and it always worked as
expected. I was unable to reproduce this "Error Code #0" scenario :-(
I tried all kind of wrong parameters (invalid FTP server, invalid password,
invalid file, etc.).
Friedrich
-
Re: FTP Password
Hmmmm....
Now what do I do?
This is a new WIN7 installation with a new/original SB7 installation right
from the website.
-Robert
-
Re: FTP Password
Ok ...
I figured it out.
If the directory does not have write permissions (CMOD 555), then that's the
error it reports.
Meaning, instead of saying Access Denied ... it says "Compiler FTP Upload
Error (Error Code #0)"
-Robert
-
Re: FTP Password
Hi Robert,
> Ok ...
>
> I figured it out.
>
> If the directory does not have write permissions (CMOD 555), then that's
> the error it reports.
>
> Meaning, instead of saying Access Denied ... it says "Compiler FTP Upload
> Error (Error Code #0)"
Thanks for sharing this information. I'll add a note to the documentation
that neither WinINet nor GetLastError return a valid error code if the
directory does not have write permissions (CMOD 555).
Friedrich
-
2 Attachment(s)
Re: FTP Password
FYI: on all Win7 machines here, WinINet returns #12003 if the folder is not
writable (555).
Friedrich
-
Re: FTP Password
Friedrich,
May be same error when SB7 is trying to rename and somebody is downloading
the same file?
--
Saludos / Regards,
Use TraceIt the best way to trace and support your applications!.
http://www.armi.com.ar/ARMi_TraceIt_ing.htm
Alberto Michelis
ARMi software solutions
www.armi.com.ar
-
Re: FTP Password
Alberto,
> May be same error when SB7 is trying to rename and somebody is downloading
> the same file?
No, not in this case. The rename process is executed after the upload.
And even if there is an active download process, the FTP server does not
care (a download does not "lock" the file). It would simply delete the file
and the download would fail.
Friedrich