Bug? Upload file asks to overwrite when does not exist.

Advertisement

jsherk
Joined:
Posts:
35
Location:
United States

Bug? Upload file asks to overwrite when does not exist.

When I drag a file from my local desktop into the remote Explorer view, it will successfully copy the file. If I then delete the file in the remote view, and then drag the file again from my local desktop into the remote Explorer view, it will say "Remote file already exists. Overwrite?".

Since I just deleted the file, it should not already exist!

As a side note, the first time I drag the file from my local desktop to the remote Explorer view, it copies over fine but it does NOT show up in the explorer view.. I have to hit Refresh to get it to appear.

Thanks

Using GUI v4.2.7 build 758 with SCP in Explorer view on Win XP Pro sp3.
Remote system = Linux server3.mydomain.com 2.6.18-128.1.14.el5 #1 SMP Mon Jun 1 15:52:58 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Session protocol = SSH-2
SSH implementation = OpenSSH_4.3
Encryption algorithm = aes
Compression = No
File transfer protocol = SCP
----------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = Yes
Can create symlink/hardlink = Yes/Yes
Can lookup user groups = Yes
Can duplicate remote files = Yes
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
---------------------------------------

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,392
Location:
Prague, Czechia

Re: Bug? Upload file asks to overwrite when does not exist.

Can you describe the steps you do in more details? Step by step.
E.g. Where exactly do you drop the files? How do you delete the file? Does it disappear from the remove view after you delete it?

Reply with quote

jsherk
Joined:
Posts:
35
Location:
United States

I grab the file from my Windows Desktop, and I drop it in the remote file panel area (not the tree area though) of the explorer view. The transfer appears to be succesful, but I have to click refresh to get it to display.

Yes, when I delete it, it disappears.

I have changed a lot of settings, for example, double-click copies to desktop, background transfers on, etc, so I am attaching my wincsp.ini file:
[Configuration]

[SshHostKeys]
rsa2@22:mydomain.com=0x23,0xac1234.bla.bla

[Configuration\CDCache]
user@mydomain.com=1234.bla.bla

[Configuration\Interface]
RandomSeedFile=%25APPDATA%25%5Cwinscp.rnd
PuttyRegistryStorageKey=Software%5CSimonTatham%5CPuTTY
ConfirmOverwriting=1
ConfirmResume=1
AutoReadDirectoryAfterOp=1
SessionReopenAuto=5000
SessionReopenBackground=2000
SessionReopenTimeout=0
TunnelLocalPortNumberLow=50000
TunnelLocalPortNumberHigh=50099
CacheDirectoryChangesMaxSize=100
ShowFtpWelcomeMessage=0
ContinueOnError=0
ConfirmCommandSession=1
SynchronizeParams=66
SynchronizeOptions=5
SynchronizeModeAuto=-1
SynchronizeMode=0
MaxWatchDirectories=500
QueueTransfersLimit=2
QueueAutoPopup=1
QueueRememberPassword=1
PuttySession=WinSCP%20temporary%20session
PuttyPath=%25PROGRAMFILES%25%5CPuTTY%5Cputty.exe
PuttyPassword=0
TelnetForFtpInPutty=1
IgnoreCancelBeforeFinish=DFBC9A785634023F
BeepOnFinish=0
BeepOnFinishAfter=176CC1166CC1363F
SynchronizeBrowsing=0
KeepUpToDateChangeDelay=500
ChecksumAlg=md5
SessionReopenAutoIdle=5000
Interface=1
ShowAdvancedLoginOptions=1
ConfirmExitOnCompletion=1
CopyOnDoubleClick=1
CopyOnDoubleClickConfirmation=0
DDAllowMove=0
DDAllowMoveInit=0
DDTransferConfirmation=0
DDTemporaryDirectory=
DDWarnLackOfTempSpace=1
DDWarnLackOfTempSpaceRatio=9A9999999999F13F
DeleteToRecycleBin=1
DimmHiddenFiles=1
RenameWholeName=0
SelectDirectories=0
SelectMask=%2A.%2A
ShowHiddenFiles=1
ShowInaccesibleDirectories=1
ConfirmTransferring=1
ConfirmDeleting=1
ConfirmRecycling=1
ConfirmClosingSession=0
AutoStartSession=
UseLocationProfiles=0
UseSharedBookmarks=0
LocaleSafe=1033
DDExtEnabled=0
DDExtTimeout=1000
DefaultDirIsHome=1
TemporaryDirectoryAppendSession=0
TemporaryDirectoryAppendPath=1
TemporaryDirectoryCleanup=1
ConfirmTemporaryDirectoryCleanup=1
PreservePanelState=1
Theme=OfficeXP
PathInCaption=1
MinimizeToTray=0
BalloonNotifications=1
NotificationsTimeout=10
NotificationsStickTime=2
CopyParamAutoSelectNotice=1
SessionToolbarAutoShown=1
LockToolbars=0
AutoOpenInPutty=0
LastMonitor=0
VersionHistory=40207758,stable

[Configuration\Logging]
Logging=0
LogFileName=
LogFileAppend=1
LogWindowLines=0
LogProtocol=0
LogActions=0
LogView=0
LogWindowOnStartup=1
LogWindowParams=66;87;566;487;0

[Configuration\Interface\CopyParam]
AddXToDirectories=1
Masks=%2A.%2Ahtml;%20%2A.htm;%20%2A.txt;%20%2A.php;...
FileNameCase=0
PreserveReadOnly=0
PreserveTime=1
PreserveRights=0
IgnorePermErrors=0
Text=rw-r--r--
TransferMode=2
ResumeSupport=0
ResumeThreshold=10240000
ReplaceInvalidChars=1
LocalInvalidChars=/%5C:%2A%3F"<>|
CalculateSize=1
ExcludeFileMask=
NegativeExclude=0
ClearArchive=0
CPSLimit=0
Queue=1
QueueNoConfirmation=0
QueueIndividually=1
NewerOnly=0
CopyParamList=-1

[Configuration\Interface\NewDirectory]
Valid=00

[Configuration\Interface\SynchronizeChecklist]
WindowParams=0;-1;-1;600;450;0
ListParams=1;1|150,1;100,1;80,1;130,1;25,1;100,1;80,1;130,1|0;1;2;3;4;5;6;7

[Configuration\Interface\FindFile]
WindowParams=646,481
ListParams=3;1|125,1;181,1;80,1;122,1|0;1;2;3

[Configuration\Interface\ConsoleWin]
WindowSize=570,430

[Configuration\History\Commands]
0=man%20touch
1=dir

[Configuration\History\LocalTarget]
0=%2A.%2A

[Configuration\Interface\Editor]
FontName=Courier%20New
FontHeight=-13
FontStyle=0
FontCharset=1
WordWrap=1
FindTextA=
ReplaceTextA=
FindMatchCase=0
FindWholeWord=0
FindDown=1
TabSize=2
MaxEditors=500
EarlyClose=2
SDIShellEditor=0
WindowParams=

[Configuration\Interface\QueueView]
Height=110
Layout=70,160,244,80,80,80
Show=0
LastHideShow=1
ToolBar=0

[Configuration\Interface\Updates]
Period=0
LastCheck=7E9EDEC53EB6E340
HaveResults=1
ShownResults=1
BetaVersions=1
ConnectionType=1
ProxyHost=
ProxyPort=8080
ForVersion=40207758
Version=0
Message=
Critical=0
Release=
Disabled=0
Url=
UrlButton=

[Configuration\Interface\Explorer]
ToolbarsLayout=Queue_Visible=1,Queue_LastDock=QueueDock,...
DirViewParams=0;1;0|358,1;70,1;128,1;79,1;62,1;55,1;20,0;150,0;...
StatusBar=1
WindowParams=556;78;1280;771;0
ViewStyle=3
ShowFullAddress=1
DriveView=1
DriveViewWidth=236

[Configuration\Interface\Commander]
ToolbarsLayout=Queue_Visible=1,Queue_LastDock=QueueDock,...
CurrentPanel=1
LocalPanelWidth=00000060C07CE83F
SwappedPanels=1
StatusBar=1
WindowParams=415;159;1216;756;0
ExplorerStyleSelection=0
PreserveLocalDirectory=0
CompareByTime=1
CompareBySize=0
FullRowSelect=1
TreeOnLeft=1

[Configuration\Interface\Commander\LocalPanel]
DirViewParams=0;1;0|150,0;70,0;101,0;79,0;62,0;55,0|0;1;2;3;4;5
StatusBar=0
DriveView=0
DriveViewHeight=100
DriveViewWidth=100

[Configuration\Interface\Commander\RemotePanel]
DirViewParams=0;1;0|178,1;70,1;123,1;79,1;62,1;55,0;20,0;150,0;125,0|0;1;8;2;3;4;5;6;7
StatusBar=1
DriveView=1
DriveViewHeight=100
DriveViewWidth=370

[Configuration\Security]
UseMasterPassword=0
MasterPasswordVerifier=

[Sessions\mydomain.com]
HostName=mydomain.com
UserName=user
FSProtocol=0
LocalDirectory=C:%5CDocuments%20and%20Settings%5CUser%5CDesktop
RemoteDirectory=/home/user/public_html
PingInterval=10
PingIntervalSecs=0
PingType=1
ReturnVar=%3F
Shell=/bin/bash
CacheDirectories=0

[FtpsCertificates]
f2:d0:43:1f:b2:0a:27:81:5e:33:3c:cc:0a:ff:b4:98:b6:14:09:08=

[Configuration\History\Mask]
0=%2A.%2Ahtml;%20%2A.htm;%20%2A.txt;%20%2A.php;%20%2A.php3;%20%2A.cgi;...

[Configuration\History\ExternalEditor]
0="C:%5CProgram%20Files%5CPSPad%20editor%5CPSPad.exe"%20!.!

[Configuration\Interface\Editor\0]
FileMask=%2A.%2A
Editor=1
ExternalEditor="C:%5CProgram%20Files%5CPSPad%20editor%5CPSPad.exe"%20!.!
ExternalEditorText=1
SDIExternalEditor=0
DetectMDIExternalEditor=0

[Configuration\Interface\Editor\1]
FileMask=%2A.%2A
Editor=0
ExternalEditor=
ExternalEditorText=1
SDIExternalEditor=0
DetectMDIExternalEditor=0

[Configuration\History\CustomCommandParam]
0=%2E

[Configuration\History\CustomCommand]
0=tar%20-xvf%20!
1=unzip%20!
2=tar%20-zxvf%20!
3=tar%20-xzvf%20!
4=tar%20-xz%20--directory="!%3F&Extract%20to%20directory:%3F.!"%20-f%20"!"
5=&Execute
6=&Touch
7=Ta&r/GZip...
8=&UnTar/GZip...
9=&Grep...
10=&File%20Compare
11=&Print

[Configuration\HistoryParams\CustomCommand]
0=00000080
1=00000080
2=00000080
3=00000080
4=00000080
5=00000000
6=00000000
7=00000000
8=00000000
9=00000000
10=00000000
11=00000000

[Configuration\CustomCommands]
&UnTar/GZip...=tar%20-xz%20--directory="!%3F&Extract%20to%20directory:%3F.!"%20-f%20"!"
&Grep...=grep%20"!%3F&Search%20for%20pattern:%3F!"%20!&
Ta&r/GZip...=tar%20-cz%20%20-f%20"!%3F&Archive%20Name:%3Farchive.tgz!"%20!&
_UnTAR only=tar%20-xvf%20!
_UnTAR/GZIP=tar%20-zxvf%20!
_UnZIP=unzip%20!

[Configuration\CustomCommandsParams]
&UnTar/GZip...=0
&Grep...=512
Ta&r/GZip...=1
_UnTAR only=0
_UnTAR/GZIP=0
_UnZIP=0

Reply with quote

jsherk
Joined:
Posts:
35
Location:
United States

Just upgraded to v4.2.8 (portable) and issue is still there.

I have narrowed the problem down to the following preference option:
Transfers > Background > Transfer On Background By Default

When the above option is not selected, then the issue does not occur, so it has something to do with background transfers.

Hope this helps pinpoint the problem.

Thanks

Reply with quote

jsherk
Joined:
Posts:
35
Location:
United States

OK, just to update for everybody...

The reason the file would not refresh automatically after upload is because
Environment > Directories > Directory Reading Options > Cache Visited Remote Directories
was UNchecked ... checking this option solved the problem.

The other issue with it asking to overwrite a file that was deleted is an actual bug that is now in the tracker here:
https://winscp.net/tracker/585

Reply with quote

Advertisement

You can post new topics in this forum