Re: Able to getfile, but unable to put file? - WeOnlyDo Discussion board

Re: Able to getfile, but unable to put file? (General questions)

by Wee Ping, Tan, Friday, February 03, 2006, 07:16 (6683 days ago) @ wodSupport

Wee,

are you using OCX (GUI version)? Immediately after connecting, OCX sends PWD command to retrieve current directory listing, perhaps this is where it fails?

Can you use FTPReply event, and put code like this inside

Debug.Print Command & & ReplyText

and paste it here? It should contain complete conversation with the server and tell us what happened.

Kreso

Hi Kreso,
I am using the OCX(GUI) version.

220-QTCP at ATLANTIS.
220 Connection will close if idle more than 5 minutes.
USER xxx 331 Enter password.
PASS xxxx 230 XXX logged on.
FEAT 211-Feature listing follows:
AUTH TLS
PBSZ
PROT
211 End of feature listing.
PWD 257 QGPL is current library.
TYPE A 200 Representation type is ASCII nonprint.
PASV 227 Entering Passive Mode (10,223,156,90,111,40).
LIST -al QGPL 501 Character (-) not allowed in object name.

I guess the error will be: [size=6]LIST -al QGPL 501 Character (-) not allowed in object name.
[/size]?

Where do you think the - comes from?

thanks,
wee ping


Complete thread: