It took me a little while to figure this one out, so I figured I would post it here in hopes that it might help someone out.
I have some custom buttons to upload files to some of my servers. One in particular is one for a client, which is SFTP. I could not get it to work after they switched from FTP to SFTP.
The host address for this server is like: upload.someserver.com (not the real server name)
but when I log in, it takes me to:
FTP://upload.someserver.com//home/somet ... users/mike
Therefore, using the following command in the button did not work:
Copy TO=@SomeServer
I had to edit my Initial Directory to be:
/home/something/upload.someserver.com/public_html/users/mike
After doing that, everything worked fine.