Topic "I cannot upload some files, access is denied"

Author Message
desbest
[View user's profile]

Joined: 2013-09-15
Posts: 8
I cannot upload some files, system error code 5, access is denied.
I'm using WinSCP 5.7.6 Windows 8.1 using FTP.
Do I have to send you the files that won't upload?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25019
Location: Prague, Czechia
What "some files"? How do they differ to files that you can upload?
desbest
[View user's profile]

Joined: 2013-09-15
Posts: 8
The file is plain text but with a de-facto .upload file type.

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25019
Location: Prague, Czechia
How's that a plain text file? That's a binary file. What are the files you can upload?

Show us a session log file showing one failed and one successful upload.
desbest
[View user's profile]

Joined: 2013-09-15
Posts: 8
Here's the log.
https://gist.github.com/desbest/a9920fe010d5f1e26973
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25019
Location: Prague, Czechia
I assume that the file is opened (locked) by some application. Is it?
desbest
[View user's profile]

Joined: 2013-09-15
Posts: 8
I tried to change the permissions on the files and found this.



I have no idea how to give myself permissions to read/write the file if the check boxes and ok button is grayed out.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25019
Location: Prague, Czechia
Can you make a copy of the file in Windows Explorer at the same time WinSCP is failing to upload the file?
desbest
[View user's profile]

Joined: 2013-09-15
Posts: 8
Yes. I was told I need administrator permissions to copy the file, so I clicked "continue" then it copied.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25019
Location: Prague, Czechia
OK, so the file is locked by another application. So unlock it.
desbest
[View user's profile]

Joined: 2013-09-15
Posts: 8
I used a program called Process Explorer to see what processes are using/locking files, and I found that the file(s) was not being used or locked by any process.4

Update
I figured out how to change the permissions on the files. It took 17 clicks for each file in Windows terrible interface. Evil or Very Mad
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License