How to upload files from MATLAB to sftp?
3 views (last 30 days)
Show older comments
I knew that MATLAB does not contains in built function for sftp, but I found many function written to does this job at the File Exchange in Matlab Central, I have tried to use any of them but i felt. Can any one please recommand any working file for me and just give me the command to use it, for example I have tried to use this one:
In this way:
sftpfrommatlab('username','191.31.436.28','password','C:/Users/xyz/fileToUpload.png','191.31.436.28/images/');
but it gives me errors and not sure weather my command is wrong or not.
4 Comments
Walter Roberson
on 26 Jan 2016
For that routine, last parameter needs to be the fully qualified path of the destination file, complete with directories. I would speculate that if the destination is not fully qualified then it might be taken relative to the home directory of the remote user.
Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!