Troubles uploading via command line with -site arg

Report client bugs
Post Reply
BarryA
Posts: 3
Joined: Fri Apr 09, 2004 5:35 am

Troubles uploading via command line with -site arg

Post by BarryA »

Hello,

I'm trying to upload a file (sample.txt) to my ftp site via the following command line:

Code: Select all

coreftp.exe -u sample.txt -site mysite -p /bin/
Per the 'Command Line Arguments' help topic, this should upload sample.txt to to ftp site listed under the 'mysite' profile and under the /bin/ folder.

When I execute this statement, CoreFTP displays a 'No Host Specified' error message box but then continues to login to the the 'mysite' profile. Ultimately, no files are uploaded.

the 'mysite' profile is valid and works just fine in interactive mode. I prefer to use the '-site' switch so I don't have to embed a password in my script.

Any help is appreciated. If I can get this working, I'll buy the Pro version.


Regards,


Barry Allyn
BarryA
Posts: 3
Joined: Fri Apr 09, 2004 5:35 am

Post by BarryA »

thanks, that worked. It would be nice if relative paths were accepted. Something to consider for a future release.

-Barry

PS> I'll follow up with a purchase of a Pro license
Post Reply