I have a particular file which needs to be sent to a share drive location through FTP.
I know there is a method by writing contents on a flat file and executing with shell script. Sadly that is not working since my send location is weird and I don't know how to interpret it, its like this.
//corporate.abc.com/data/ac/ny/log
I have no idea what the above thing means. Is there any way to send data to that location?
PS: I opened it through my Windows Run command and its opening up. It is not asking for any user authentication.
Update: I tried to open using explorer but I am getting error" runtime error 75 , path/file access error"
Sub FtpFileto()
Dim vFile As String
Dim vFTPServ As String
Dim fNum As Long
vPath = "C:\macro/pop.txt"
vFile = "C:\macro/post.xlsx"
vFTPServ = "corporate.abc.com"
Open "//corporate.abc.com/data/NA/US/OC/Common/HOSTDL/CatSpec" For Output As #1
Close
Shell "ftp -n -i -g -s:" & vPath & "\FtpComm.txt " & vFTPServ, vbNormalNoFocus
End Sub