command line -site not using correct profile port

Report client bugs
Locked
tinwisle
Posts: 1
Joined: Tue Oct 23, 2012 12:46 pm

command line -site not using correct profile port

Post by tinwisle »

I have a GUI profile for a site that connects properly. When I use the profile at a command line, the profile port designation is not used. The profile site name is remoteSiteName, Host URL is remotesite.net, Port 22, Connection type SSH/SFTP. When referenced from the command line as -site remoteSiteName the connection is attempted on port 21 rather than port 22.

I can specify the port using the command line sftp://remotesite.net:22 but then I need tt enter credentials on every launch, which defeats the purpose of command line silent execution.

Either I need to include credentials with the command line URL specification or get the profile to actually use the correct port. How do I get either or both of these to work?
cp
Posts: 124
Joined: Sun Sep 11, 2011 5:18 am

Post by cp »

you might need to add the -ssh parameter or use ftp://url even if it is sftp://
Locked