Jump to content

How to upload Multiple Files on FTP server ??


COD3369
 Share

Recommended Posts

#include <File.au3>
#include <FTPEx.au3>

Local $sServer = 'server
Local $sUsername = 'aaaaaaa'
Local $sPass = 'taaaaa'

Local $hOpen = _FTP_Open('MyFTP Control')
Local $hConn = _FTP_Connect($hOpen, $sServer, $sUsername, $sPass)
_FTP_ProgressUpload ( $hConn, @ScriptDir & "\"&"*.*" , "/" & "*.*" )

on my current Local script directory has some files include: exe pdf html txt and psd

i want upload these all files on my server with there original name.

 

Link to comment
Share on other sites

  • Developers

 

i want upload these all files on my server with there original name.

 

Don't think wildcard files selection is supported so you will have to do do file by file.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...