Hi
Before Posting my query in this forum, I have gone through various similar postings to get some idea on ftp and how to do that from unix shell script to windows server.
My question is related to FTP'ing from Unix to windows shared folder
My basic question is
Is it possible to do FTP just by knowing the windows share path i.e. [\\xyz\\folder1\folder2](file://\\xyz\\folder1\folder2) (obviously with access)
Does this need user credential while doing ftp
I am not sure if I am asking genuine query, but curious.
Having windows share does not mean you have all the required ftp stuff on on windows...
Give it a try!
Most certainly if not installed, you will see after you unix prompt "connection refused" message
Windows shares do not use the FTP protocol, but CIFS/SMB. You'll have to take a look at Samba client utils (esp. smbmount) if you want to copy files from/to such an share.
Further to good advice from previous correspondents.
You cannot reference a Windows shared drive from a unix command unless the drive is mapped using extra software such as Samba.
Assuming Samba is not available.
You need to find out exactly where the shared drive was mapped from and set up an ftp account on that target computer with access to that directory.
Because share drives are subjective and real directories within real drives are objective this is actually much easier to deal with in a production environment.