truncated file and Could not save file problems

General questions about using FtpVC, ideas for new features, bug reports, and usage tips.
Post Reply
andre99
New Member
Posts: 1
Joined: Wed Sep 09, 2009 5:31 am

truncated file and Could not save file problems

Post 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.

User avatar
psguru
Site Admin
Posts: 1902
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: truncated file and Could not save file problems

Post 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).
psguru
PrestoSoft

Post Reply