ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy file from drive to webserver (https://www.excelbanter.com/excel-programming/277378-copy-file-drive-webserver.html)

Anders[_3_]

Copy file from drive to webserver
 
Hi,

in my Excel macro I need to copy a PDF-file from a drive to a HTTP location.

I have tried to use following code:

FileCopy "C:\filename.pdf", "http://webaddress.se/filename.pdf"

The problem is that the FileCopy command only accepts driver addresses like
C:\... and not http://..

Is there any other way to copy files to a HTTP location?

/Anders





All times are GMT +1. The time now is 10:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com