#1 09 Sep 2010 08:37

scott_humphris
Member
Registered: 03 Sep 2010
Posts: 7

VBScript - FTP

Could anyone help me with a script that will create a new .txt document on a remote FTP server?
Many thanks
Scott

Offline

#2 09 Sep 2010 14:20

npocmaka
Member
From: Bulgaria
Registered: 03 Dec 2009
Posts: 430

Re: VBScript - FTP

What you mean to create file?
with ftp protocol you can only transfer files.

you can start built-in ftp client :

Set objShell = CreateObject("WScript.Shell")
objShell.Run "c:\winnt\system32\ftp.exe -s:ftpscript.txt", , True

here you can see how to create ftp script:
http://ss64.com/nt/ftp.html

Offline

Board footer

Powered by FluxBB