Jump to content

Recommended Posts

Posted

#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.

 

  • Developers
Posted

 

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.
  :)

Posted

I'd just upload them file by file. Also you have an unterminated string at the 3rd line.

Thanks for your help & have a good day. Yours sincerely, -Jonniy-  

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
  • Recently Browsing   0 members

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