PutFiles - WeOnlyDo Discussion board

PutFiles (wodSFTP / wodSFTP.NET / wodSFTPdll)

by cvmbor, Monday, May 28, 2007, 21:13 (6389 days ago)

So I have a loop that sends selected files from my PC to a Unix server. I connect to the Unix box then attempt to do PutFile commands specifying bith the local and remote names. Two transfer OK then it hanks and eventually times out. I am displaying the Local => and Remote => for each put and the associated replies and state changes. Do you see why this might be hanging? And why does it try to change directories each time or is that normal FTP protocol during a send.

Thanks

STATECHANGE to Connecting to server (from Disconnected from server)
Reply => 220 WARNING !!! Authorized users ONLY !!!
STATECHANGE to Sending authentication data (from Connecting to server)
Reply => USER xxxxxx 331 Password required for neoftp.
Reply => PASS xxxxxx 230-You are identfied as neoftp from host c-67-190-168-30.hsd1.co.comcast.net.
230-
230 User neoftp logged in.
Reply => FEAT 500 'FEAT': command not understood.
Reply => PWD 257 /private is current directory.
STATECHANGE to Connected to server - idle (from Sending authentication data)
Local => c:/PHLTROD2.051607144801.DTE_RODAB02_loaded_2007-05-17emaperm.txt.bad
Remote => /private/metain/PHLTROD2.051607144801.DTE_RODAB02_loaded_2007-05-17emaperm.txt.bad
STATECHANGE to Sending data to server (from Connected to server - idle)
STATECHANGE to Setting transfer mode (from Sending data to server)
Reply => TYPE A 200 Type set to A.
STATECHANGE to Changing current directory (from Setting transfer mode)
Reply => CWD /private/metain/PHLTROD2.051607144801.DTE_RODAB02_loaded_2007-05-17emaperm.txt.bad 550 /private/metain/PHLTROD2.051607144801.DTE_RODAB02_loaded_2007-05-17emaperm.txt.bad: Not a directory.
Reply => CWD /private/metain/ 250 CWD command successful.
STATECHANGE to Sending data to server (from Changing current directory)
STATECHANGE to Getting secondary data channel (from Sending data to server)
Reply => PASV 227 Entering Passive Mode (64,156,42,6,39,74)
STATECHANGE to Sending data to server (from Getting secondary data channel)
Reply => STOR PHLTROD2.051607144801.DTE_RODAB02_loaded_2007-05-17emaperm.txt.bad 150 Opening ASCII mode data connection for PHLTROD2.051607144801.DTE_RODAB02_loaded_2007-05-17emaperm.txt.bad.
91 91
Reply => STOR PHLTROD2.051607144801.DTE_RODAB02_loaded_2007-05-17emaperm.txt.bad 226 Transfer complete.
STATECHANGE to Connected to server - idle (from Sending data to server)
Local => c:/POETRODR.051507091519.DTE_RODB-01_loaded_2007-05-16emadelv.txt.bad
Remote => /private/metain/POETRODR.051507091519.DTE_RODB-01_loaded_2007-05-16emadelv.txt.bad
STATECHANGE to Sending data to server (from Connected to server - idle)
STATECHANGE to Setting transfer mode (from Sending data to server)
Reply => TYPE A 200 Type set to A.
STATECHANGE to Changing current directory (from Setting transfer mode)
Reply => CWD /private/metain/POETRODR.051507091519.DTE_RODB-01_loaded_2007-05-16emadelv.txt.bad 550 /private/metain/POETRODR.051507091519.DTE_RODB-01_loaded_2007-05-16emadelv.txt.bad: Not a directory.
Reply => CWD /private/metain/ 250 CWD command successful.
STATECHANGE to Sending data to server (from Changing current directory)
STATECHANGE to Getting secondary data channel (from Sending data to server)
Reply => PASV 227 Entering Passive Mode (64,156,42,6,46,72)
STATECHANGE to Sending data to server (from Getting secondary data channel)
Reply => STOR POETRODR.051507091519.DTE_RODB-01_loaded_2007-05-16emadelv.txt.bad 150 Opening ASCII mode data connection for POETRODR.051507091519.DTE_RODB-01_loaded_2007-05-16emadelv.txt.bad.
3354 3354
Reply => STOR POETRODR.051507091519.DTE_RODB-01_loaded_2007-05-16emadelv.txt.bad 226 Transfer complete.
STATECHANGE to Connected to server - idle (from Sending data to server)
Local => c:/MHMEADOC.051107142801.DTE_loaded_2007-05-14emadelv.txt.bad
Remote => /private/metain/MHMEADOC.051107142801.DTE_loaded_2007-05-14emadelv.txt.bad
STATECHANGE to Sending data to server (from Connected to server - idle)
STATECHANGE to Setting transfer mode (from Sending data to server)
Reply => TYPE A 200 Type set to A.

Re: PutFiles

by cvmbor, Monday, May 28, 2007, 21:16 (6389 days ago) @ cvmbor

The previous note did not have enought room for my entire message so I am sending the rest of the displays.

STATECHANGE to Changing current directory (from Setting transfer mode)
Reply => CWD /private/metain/MHMEADOC.051107142801.DTE_loaded_2007-05-14emadelv.txt.bad 550 /private/metain/MHMEADOC.051107142801.DTE_loaded_2007-05-14emadelv.txt.bad: Not a directory.
Reply => CWD /private/metain/ 250 CWD command successful.
STATECHANGE to Sending data to server (from Changing current directory)
STATECHANGE to Getting secondary data channel (from Sending data to server)
Reply => PASV 227 Entering Passive Mode (64,156,42,6,46,72)
STATECHANGE to Sending data to server (from Getting secondary data channel)

And at this point it hangs. I can send this MHME... file by its self so I don't think it is the data and if I step thru it with control breaks they go fine.

Re: PutFiles

by wodDamir, Monday, May 28, 2007, 21:36 (6389 days ago) @ cvmbor

Craig,

I can't tell you what exactly you're doing wrong without seeing the code. Can you send us a simple sample which we could run on our side in order to duplicate the issue?

Also, if you can provide us with the access to the server for testing it would be great.

If possible, you can send the above mentioned to techsupport@weonlydo.com

Regards,
Damba

Re: PutFiles

by cvmbor, Wednesday, May 30, 2007, 01:23 (6388 days ago) @ wodDamir

I must apologize, the hang up appears to be caused by a doevent I added. Removing it got rid of the problem.

Thanks

Craig Morris