Topic "local and remote user accounts"

Author Message
hunter
[View user's profile]

Joined: 2008-09-10
Posts: 5
Location: San Jose
I have been testing transfers with a domain account and using windows scheduler. this works fine but as soon as I change to running the session under a different user but still logged in to the local machine with a domain account i get no response from the FTP server. If I use the domain account to run the scheduled task but use a different session to log into the FTP server I get a prompt for password. once I enter the password the file transfers and session is complete.


I would like to automate the logon process and session so that the scheduler script runs under a domain account but logs into the FTP session with a different session account.

the script looks like this in the scheduler.
c:\WinSCP.exe /log=c:\winscp.log /console /command "open tempus@192.168.166.29" "get test c:\test_bat"

I am logged into the local machine with a domain account of mharper. when I run the scheduler.

I have continued to test and with some mods to my script i was able to get this working the way I want.
here is the script I am using now the last issue is some sort of rights on the web server as to listing the contents of the directory.
c:\WinSCP.exe /log=c:\winscp.log /console /command "open tempus:tempusftp@192.168.166.18" "get tempustest c:\test_bat"

It's a server 2003 web server. funny thing is on another server I don't have this issue.

Can't get attributes of file 'file name'.
no such file or directory
error code 2
error message from server : no such file
request code: 7


Mark Shocked
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