Manual uploads just fine. From CMDline permission denied

Core FTP client questions and answers
Locked
dbeayon
Posts: 2
Joined: Wed Jul 10, 2013 2:16 pm

Manual uploads just fine. From CMDline permission denied

Post by dbeayon »

I have an ssh/sftp site setup in CoreFTP lite 2.2 1765 and I can upload files just fine manually through the GUI. However, when try to upload via the command line, files do not get uploaded and the log indicated permission denied. Watching the process, I can see the file move to the right side for a split second, before getting removed and then getting a permission denied. Any insight would be appreciated

"C:\Program Files (x86)\CoreFTP\coreftp.exe" -site JH -u c:\temp\15483_06262013_123901.txt -p "/Home/Incoming/" -log c:\temp\log.log

c:\temp\log.log contents
07/10/13 10:12 (1765)

Resolving Removed...

Removed [22] connecting...

SSH-2.0-9.99 sshlib: 7.0.0.1

client -> aes256-ctr

server -> aes256-ctr

37:b0:72:de:fc:29:c9:2d:7b:bc:de:fb:65:91:24:eb

ssh-dss

Sending password

PWD

Current directory is '/Home/Incoming'

CWD /Home/Incoming

CWD /Home/Incoming/

STOR /Home/Incoming/15483_06262013_123901.txt

15483_06262013_123901.txt - 22914 bytes transferred in 1 seconds

permission denied...

sent 6, recd 6

Total uploaded files: 1

Total uploaded data: 22 KB

Total downloaded files: 0

Total downloaded data: 0
ForumAdmin
Site Admin
Posts: 1011
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

It looks like the "permission denied" may be occurring when trying to update the timestamp of the uploaded file. This should happen in the GUI too though...

If you don't require the timestamp to be updated, you can select the Advanced -> Transfers -> Do not use MDTM.... (checked black).

If that doesn't fix it, post the log from the GUI...
Locked