PutFiles (wodSFTP / wodSFTP.NET / wodSFTPdll)
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.
Complete thread:
- PutFiles - cvmbor, 2007-05-28, 21:13
- Re: PutFiles - cvmbor, 2007-05-28, 21:16
- Re: PutFiles - wodDamir, 2007-05-28, 21:36
- Re: PutFiles - cvmbor, 2007-05-30, 01:23
- Re: PutFiles - wodDamir, 2007-05-28, 21:36
- Re: PutFiles - cvmbor, 2007-05-28, 21:16