FTP scripting details

Gail Kom

New member
Joined
Jan 17, 2012
Messages
2
Hello,
I have script to download file from ftp server
open ...
somename
somepsw
lcd "..."
cd ...
get ...
quit

script works fine from Windows 7 desktop, but running from Windows 2008 Server processes open and then gives "Invalid command", user does not get logged,...
I have put full name of user somename@eee.com but this did not help.
Any ideas?

Thank you
Gail
 
How are you running it? As a batch file running as a scheduled task or executing it as a regular user?

It sounds like you don't have permissions enough on the server.
 
I am running ftp -s:scriptname from command prompt.
I am admin on the server from which i am trying to run this script.
Also, I tried to create SSIS package with FTP task and it can't extablish connection when i enter IP of server and user's credentials and click Test Connection.
Note: this test work fine from Windows 7 desktop.
 
Back
Top