How to upload a file to a shared drive using unix?

331 Views Asked by At

I have a requirement which says it should be able to upload a file from a Windows shared drive using UNIX . How to approach that ? What am I trying is

scp D:/testfile username@hostname : \home\username\test_Folder 

But it is not working out at all. How successfully can it be done?

Please explain.

1

There are 1 best solutions below

0
On

You should use UNIX naming convensions for pathes and without spaces within scp: scp D:/testfile username@hostname:/home/username/test_Folder