Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Unable to get FTP files

$
0
0
Re: Unable to get FTP files
Web Connection 5.0
Re: Unable to get FTP files
Apr. 14, 2013
07:31 pm
3RF15UB6FShow this entire thread in new window
Gratar Image based on email address
From:kotowari
To:Rick Strahl
Dear Rick,

Yes, I've tried that too but too bad that its still not working ... Is there any other settings and/or suggestions that I could further try?

kotowari

In FtpConnect don't use ftp:// but just the ip address.

loFTP.FTPconnect("119.233.88.66","myUser","myPwd")

More info here:
wcdocs:_s9001zx4l.htm

+++ Rick ---


Dear sir/madam,

With mentioned, I'm facing difficulties in retrieving files via aFTPDir() with below environment:
FTP URL: it is in IP address (example ftp://119.233.88.66)
FTP Port: not default port (example 67890)

Therefore, following are my codings:

SETPROCEDURETO wwutils ADDITIVESETCLASSLIBTO wwipStuff ADDITIVE loFTP = CREATE("wwFTP") lnresult = 0 loFTP.nFTPPort = 67890 loFTP.FTPconnect("ftp://119.233.88.66","myUser","myPwd")IF lnresult=0DIMENSION laFiles[1,4] =loFTP.aFTPDir(@laFiles,"")ENDIF

I tried to trace ... I found that it hanged at below commands for few minutes, then timeout.
wwftp.aftpdir()
lnFindHandle = ;
FtpFindFirstFile(THIS.hFTPSession,;
lcfilespec,;
@lsFileFind,;
INTERNET_FLAG_RELOAD,0)

Well, I manage to access the FTP through FileZilla and Google Chrome, even FTPConnect() is successfully connected ... I assume there shouldn't be any issue regarding to URL, Username, Password and FTP Port. I also did attempt using wwhttpdemo.app to try-out, but still runs out of luck. Therefore, any other suggestions and/or thing that I could do to troubleshoot the matter?

Hope to hear from you soon ... thanks in advance

kotowari




Viewing all articles
Browse latest Browse all 10393

Trending Articles