Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: SecureFTP Put and Zero Length File
apaulosu

From: Stillwater, OK USA
Posts: 4
Member Since: 07/20/05
posted July 20, 2005 4:03 PM

I've seen several problems on the forum listing the same problem I'm seeing. I'm trying to put a file to a secure ftp server and the file length is 0. When looking at the count property of the ftp object it states that it only transfered 15 of a 325 byte file. The trace is displayed below.

220-fim_ftp.fim.okstate.edu X2 WS_FTP Server 5.0.4 (629042516)

220-Financial Information Management

220 fim_ftp.fim.okstate.edu X2 WS_FTP Server 5.0.4 (629042516)

AUTH TLS-P

234 SSL enabled and waiting for negotiation

USER *****

331 Password required

PASS *****

230-user logged in

230-Hello

230 user logged in

TYPE I

200 Type set to IMAGE.

SIZE 07202005.inv

550 permission denied

PASV

227 Entering Passive Mode (139,78,24,194,17,125).

REST 0

350 setting restart marker to 0

STOR 07202005.inv

150 Opening BINARY data connection for 07202005.inv

226 transfer complete

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 20, 2005 4:35 PM

From what I can tell from the log, it looks like there was an error accessing the file on the server (note the error for the size command)

Is there a way I can see this happen? Can you give me an account that I can access from th internet?
apaulosu

From: Stillwater, OK USA
Posts: 4
Member Since: 07/20/05
posted July 21, 2005 9:08 AM

Sorry, they have it firewalled so you wouldn't be able to get to it anyway. However the reason for the size error is because they have only allowed me write and create access. They haven't allowed me read access.
apaulosu

From: Stillwater, OK USA
Posts: 4
Member Since: 07/20/05
posted July 21, 2005 12:52 PM

One thing that I am wondering about is the REST 0 command that is being sent. When I connect and send the file with a standard ftp client it does not send that command and the file is transmitted correctly.  Is there anyway to turn off that command so it is not being sent to the server.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 21, 2005 5:00 PM

No, there is no way to turn that off, sorry. It shouldn't matter though.
apaulosu

From: Stillwater, OK USA
Posts: 4
Member Since: 07/20/05
posted July 22, 2005 1:09 PM

Any other suggestions on how to fix this problem?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 22, 2005 1:24 PM

None, sorry. If you can get me access I can probably figure it out. If that's an option, please contact David Harry (sales@dart.com) with the details that I need.
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX