Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE
Public Sub FTPFiles() Dim iHandle As Integer Dim sFTPFile As String On Error GoTo ClearUp 'Set path to temp file sFTPFile = "C:\Documents and Settings\Desktop\TestFolder\temp\myftp.txt" 'Open file iHandle = FreeFile Open sFTPFile For Output As #iHandle Print #iHandle, "OPEN ftp.myaddress.co.uk" Print #iHandle, "myusername" Print #iHandle, "mypassword" Print #iHandle, "cd /var/www.html/email" Print #iHandle, "lcd C:\Documents and Settings\Desktop\TestFolder\email" Print #iHandle, "mput *.*" 'copy all files from local to remote Print #iHandle, "bye" Close iHandle 'NOW RUN THIS FTP Shell ("ftp -s:" & sFTPFile) ClearUp: If Dir$(sFTPFile) <> "" Then Kill sFTPFile End Sub