Jump to content

FTP upload file to website


corgano
 Share

Recommended Posts

I have a website on hosthelpers and I cannot figure how to upload files to my website useing any of the FTP functions out there.

I have looked around the fourm and could not find an example that I could make work. If anyone has done this help would be greatly appreciated.

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

Hi,

have you tried ftp.au3?

ftp.au3

#Include <FTP.au3>

Global Const $Host = ''
Global Const $Login = ''
Global Const $Password = ''

_FTP_Startup()
$hFtp = _FTP_Open('MyFtp')
$hSession = _FTP_Connect($hFtp, $Host, $Login, $Password)
_FTP_PutFile($hSession, 'test.txt', 'test.txt')
_FTP_Disconnect($hSession)
_FTP_Close($hFtp)
_FTP_Shutdown()

Cheers

Daniel

Link to comment
Share on other sites

Hi,

have you tried ftp.au3?

Yes. I could not get it to work, though. Does anyone have a host helpers account or could someone make a free one to test this? Everything I tried ended in failure.

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

Yes. I could not get it to work, though. Does anyone have a host helpers account or could someone make a free one to test this? Everything I tried ended in failure.

would host (Global Const $Host = '') be:

ftp.corgano.co.cc

ftp.gamma.freecp.net

or ftp.hosthelpers.com

??

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

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