Page 1 of 1

truncated file and Could not save file problems

Posted: Wed Sep 09, 2009 6:36 am
by andre99
Hi.

We are evaluating your app and we're having 2 problems:

1. For an unknown reason, some files are being truncated when checking in. It seems to happen when upload hangs up then asks to enter password, and after upload has completed, nothing indicates that file is incomplete. We discovered we had a problem after we did a get (or check in not sure) then tried to compile.



2. Also, at checkin we sometimes get the following message copied (and translated from French) from output window:
Message Box: Could not save file myFile.cs as .ftpvc/myFile.cs;2: Specified file not found. (error 2)
OK button was selected

not translated: Message Box: Could not save file myFile.cs as .ftpvc/myFile.cs;2: Le fichier spécifié est introuvable. (error 2)

We get this message even if the file is shown in main window (it was first checked out). As a work around we delete the file from ftpvc then add it. The problem with this is that we loose our history.

Thanks for help.

Re: truncated file and Could not save file problems

Posted: Wed Sep 09, 2009 1:48 pm
by psguru
1. For an unknown reason, some files are being truncated when checking in. It seems to happen when upload hangs up then asks to enter password, and after upload has completed, nothing indicates that file is incomplete. We discovered we had a problem after we did a get (or check in not sure) then tried to compile.
This sounds like your connection is dropping in the middle of transfers. If you haven't tried so, use the passive FTP option under the Advanced project options.
2. Also, at checkin we sometimes get the following message copied (and translated from French) from output window:
Message Box: Could not save file myFile.cs as .ftpvc/myFile.cs;2: Specified file not found. (error 2)
Well, from this description it looks that some other user deleted myFile.cs while you where trying to perform a check-in. Either this, or your FTP server have problems saving a files from time to time (FtpVC use the FTP Rename command to save a previous version of the file).