Topic "Permission denied when using command line but not GUI."

Author Message
WingsofRed
[View user's profile]

Joined: 2014-03-07
Posts: 3
I have an FTP site that I'm connecting to that I'm able to connect to fine using both the GUI and winscp.com in the command line. With the GUI, I'm able to change directories okay and transmit files to whatever directory I want. When I use winscp.com from the command line, I get a permission denied when trying to list the contents of any folder but the root and transmit files to any folder other than the root. The permissions must be there on their side in order for the GUI to work. Is there any reason that the GUI would work but not the command line?

Thanks for your help.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Enable logging for both GUI and scripting session and compare the log. If it does not help, please attach the logs here.
_________________
Martin Prikryl
WingsofRed
[View user's profile]

Joined: 2014-03-07
Posts: 3
Here are the logs.

Thanks.
script.log (7.38 KB) [Download]

Description: (none)

GUI.log (11.09 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
In GUI you upload to /home/se2_2_gafg/Share/se2_2_gafg/IN_TO_GA/, while in script to /home/se2_2_gafg/share/se2_2_gafg/IN_TO_GA. Note the capital S in GUI. I guess this makes the difference.

Also you should really upgrade. WinSCP 4.3.7 is pretty old.
WingsofRed
[View user's profile]

Joined: 2014-03-07
Posts: 3
I apparently stared at it way too long and missed that. That's the first site I've come across that the folder names were case sensitive.

Thanks for your help and yes I do need to upgrade. Smile
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