Recently a related to the server to upload files, will be a step-by-step code, a bit lazy today, changed a strategy, did not expect to encounter the magic of things!!!
Of course, do not rule out the sake of the world less  ̄- ̄| |
Under normal circumstances, how do you use SecureCRT to upload files to the server?
It's usually a bit like this:
1 >sftp LCD e:/ 2 3 >sftp cd/root/test 4 5 >sftp Put test.aaa 6 7 ..... 8 ..... 9 ..... Ten (Omit a bunch of progress bars) One A
Or lazy, use the following method to upload a folder to the brain:
1 >sftp LCD e:/ 2 3 >sftp cd/root/test 4 5 >sftp put-r hotsummer 6 Span style= "color: #008080;" > 7 *------------ 8 * *---------- 9 --------10 11 >sftp put-r Hotsummer/12 13 *------------14 * *----------16 17 >sftp
In this case,-R refers to the entire document, the slash refers to uploading only the files in the folder, no slash is a new folder and the file to pass up.
But, to go back and forth so the code, but also very hard not, not only to see the server address, but also to see the local address ~
Or maybe I the world less and make a fuss. If you guessed what I'm going to do next ... Don't look at ヾ ( ̄▽ ̄) "
I am here, the first to enter the server to store the address of the file, this is a must. Then the files that need to be uploaded are selected and dragged into the SecureCRT sftp window.
Support multi-Select, Support folder upload ~ is not great!!! Ha ha haha
The Gospel of Lazy people
SecureCRT uploading files to the server CentOS example