Topic "I can transfer a file in GUI, transferring using a script returns as permission denied"

Author Message

I have created an SSIS package with an execute process task that runs WinSCP. I am running Visual Studio 2012 as admin.

The script is very straightforward where it is opening a session and then navigates to a directory to get a file. I have complete access to the directory upon checking in the GUI. However running the package encounters a permission denied error and the task fails. I have read all FAQs but still Im stuck.

I have attached both logs. Thank you in advance.[/img]
log.txt (4.9 KB) [Download]

Description: Log from the script

gui.log (42.09 KB) [Download]

Description: Log From GUI session

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
In the GUI, you go to /INTERFACES/FUL/ARCH, while in the script you go to /root/INTERFACES/FUL/ARCH. So I suppose, you just need to remove the /root from the path.

Also, you urgently need to upgrade.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License