Sign in to follow this  
Followers 0
onedayillpay

ftp

6 posts in this topic

im going to make my own installer but i cant Filemove or _filewritetoline to this ftp

there is a password, i have know problem telling someone for testing purposes

a little help plz...

#include <File.au3>
_FileWriteToLine("ftp://@63.211.111.36", 3, "my insertion", 0); server.cfg
FileMove("C:\server.cfg", "ftp://@63.211.111.36/cstrike",8)

Share this post


Link to post
Share on other sites




Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling

Share this post


Link to post
Share on other sites

this works... almost

#include <ftp.au3>
$server = 'ftp://63.211.111.36/'; ftp://63.211.111.36/cs/63.211.111.36:27015/cstrike/
$username = '326946b'
$pass = 'poop'
$dllhandle = DllOpen('wininet.dll'); <<== HERE !!
$Open = _FTPOpen('ftp')
$Conn = _FTPConnect($Open, $server, $username, $pass)
$Ftpp = _FtpPutFile($Conn, 'C:\Snap.bmp', '/cstrike/Snap.bmp')
$Ftpc = _FTPClose($Open)
DllClose($dllhandle); <<== HERE !!

but nothing happens. no folder was created and no file was uploaded

Share this post


Link to post
Share on other sites

this works... almost

#include <ftp.au3>
$server = 'ftp://63.211.111.36/'; ftp://63.211.111.36/cs/63.211.111.36:27015/cstrike/
$username = '326946b'
$pass = 'poop'
$dllhandle = DllOpen('wininet.dll'); <<== HERE !!
$Open = _FTPOpen('ftp')
$Conn = _FTPConnect($Open, $server, $username, $pass)
$Ftpp = _FtpPutFile($Conn, 'C:\Snap.bmp', '/cstrike/Snap.bmp')
$Ftpc = _FTPClose($Open)
DllClose($dllhandle); <<== HERE !!

but nothing happens. no folder was created and no file was uploaded

Hi,

I try to work with your example

$Conn = _FTPConnect($Open, $server, $username, $pass)

At this point the system return $Oconn with a zero meaning a problem i don't Know while

Share this post


Link to post
Share on other sites

Hi,

I try to work with your example

$Conn = _FTPConnect($Open, $server, $username, $pass)

At this point the system return $Oconn with a zero meaning a problem i don't Know while

Your problem is here: $server = 'ftp://63.211.111.36/'; ftp://63.211.111.36/cs/63.211.111.36:27015/cstrike/

It should be: $server = '63.211.111.36'

and here

$Conn = _FTPConnect($Open, $server, $username, $pass)

should be

$Conn = _FTPConnect($Open, $server, $username, $pass, 27015)

Try that and see if it helps you.

Share this post


Link to post
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
Sign in to follow this  
Followers 0